public class SSLContextValidatorEngine extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
SSLContextValidatorEngine.Mode
Mode of peer.
|
| Modifier and Type | Method and Description |
|---|---|
static ByteBuffer |
ensureCapacity(ByteBuffer existingBuffer,
int newLength)
Check if the given ByteBuffer capacity.
|
static void |
validate(SSLContext clientSslContext,
SSLContext serverSslContext) |
public static void validate(SSLContext clientSslContext, SSLContext serverSslContext) throws SSLException
SSLExceptionpublic static ByteBuffer ensureCapacity(ByteBuffer existingBuffer, int newLength)
existingBuffer - ByteBuffer capacity to checknewLength - new length for the ByteBuffer.
returns ByteBufferCopyright © 2017–2021 Apache Software Foundation. All rights reserved.