public interface BCSSLConnection
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getApplicationProtocol()
Returns the application protocol negotiated for this connection, or an empty
String
if none was negotiated. |
byte[] |
getChannelBinding(java.lang.String channelBinding)
Request TLS Channel Bindings for this connection.
|
java.lang.String |
getID()
Return a String that uniquely identifies this connection during its lifetime within the current process.
|
BCExtendedSSLSession |
getSession()
Returns the SSL session in use by this connection
|
java.lang.String getApplicationProtocol()
String
if none was negotiated. See RFC 7301 for
details.String
.byte[] getChannelBinding(java.lang.String channelBinding)
channelBinding
- An IANA-registered "Channel-binding unique prefix" valid for TLS e.g.
"tls-unique" or "tls-server-end-point".byte[]
, or null if the binding is
unavailable for this connection.java.lang.String getID()
BCExtendedSSLSession getSession()
BCExtendedSSLSession
.