public class SSLContextValidatorEngine extends Object
| Modifier and Type | Class and Description |
|---|---|
static interface |
SSLContextValidatorEngine.SSLEngineProvider |
| Modifier and Type | Method and Description |
|---|---|
static ByteBuffer |
ensureCapacity(ByteBuffer existingBuffer,
int newLength)
Check if the given ByteBuffer capacity.
|
static void |
validate(SSLContextValidatorEngine.SSLEngineProvider clientSslEngineSupplier,
SSLContextValidatorEngine.SSLEngineProvider serverSslEngineSupplier)
Validates TLS handshake up to TLSv1.2.
|
public static void validate(SSLContextValidatorEngine.SSLEngineProvider clientSslEngineSupplier, SSLContextValidatorEngine.SSLEngineProvider serverSslEngineSupplier) 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.