public interface ProtonSslEngine
SSLEngine
.Modifier and Type | Method and Description |
---|---|
String |
getCipherSuite() |
Runnable |
getDelegatedTask() |
int |
getEffectiveApplicationBufferSize()
Gets the application buffer size.
|
SSLEngineResult.HandshakeStatus |
getHandshakeStatus() |
int |
getPacketBufferSize() |
String |
getProtocol() |
boolean |
getUseClientMode() |
SSLEngineResult |
unwrap(ByteBuffer src,
ByteBuffer dst) |
SSLEngineResult |
wrap(ByteBuffer src,
ByteBuffer dst) |
SSLEngineResult wrap(ByteBuffer src, ByteBuffer dst) throws SSLException
SSLEngineResult unwrap(ByteBuffer src, ByteBuffer dst) throws SSLException
SSLException
Note that unwrap does read exactly one packet of encoded data from src
and write to dst. If src contains insufficient bytes to read a complete
packet {@link Status#BUFFER_UNDERFLOW} occurs. If underflow occurs the
pointers within both src and dst are unchanged and the bytesConsumed and
bytesProduced on the returned result are zero.
Runnable getDelegatedTask()
SSLEngineResult.HandshakeStatus getHandshakeStatus()
int getEffectiveApplicationBufferSize()
int getPacketBufferSize()
String getCipherSuite()
String getProtocol()
boolean getUseClientMode()
Copyright © 2016 The Apache Software Foundation. All rights reserved.