SSLSession.getPacketBufferSize

Gets the current size of the largest SSL/TLS packet that is expected when using this session. <P> A <code>SSLEngine</code> using this session may generate SSL/TLS packets of any size up to and including the value returned by this method. All <code>SSLEngine</code> network buffers should be sized at least this large to avoid insufficient space problems when performing <code>wrap</code> and <code>unwrap</code> calls.

@return the current maximum expected network packet size

@see SSLEngine#wrap(ByteBuffer, ByteBuffer) @see SSLEngine#unwrap(ByteBuffer, ByteBuffer)

interface SSLSession
int
getPacketBufferSize
()

Meta