public interface TlsClient extends TlsPeer
Modifier and Type | Method and Description |
---|---|
TlsAuthentication |
getAuthentication() |
TlsCipher |
getCipher() |
int[] |
getCipherSuites() |
java.util.Hashtable |
getClientExtensions() |
ProtocolVersion |
getClientHelloRecordLayerVersion() |
java.util.Vector |
getClientSupplementalData() |
ProtocolVersion |
getClientVersion() |
TlsCompression |
getCompression() |
short[] |
getCompressionMethods() |
TlsKeyExchange |
getKeyExchange() |
void |
init(TlsClientContext context) |
void |
notifyHandshakeComplete() |
void |
notifyNewSessionTicket(NewSessionTicket newSessionTicket)
RFC 5077 3.3.
|
void |
notifySecureRenegotiation(boolean secureNegotiation) |
void |
notifySelectedCipherSuite(int selectedCipherSuite) |
void |
notifySelectedCompressionMethod(short selectedCompressionMethod) |
void |
notifyServerVersion(ProtocolVersion selectedVersion) |
void |
notifySessionID(byte[] sessionID) |
void |
processServerExtensions(java.util.Hashtable serverExtensions) |
void |
processServerSupplementalData(java.util.Vector serverSupplementalData) |
notifyAlertRaised, notifyAlertReceived
void init(TlsClientContext context)
ProtocolVersion getClientHelloRecordLayerVersion()
ProtocolVersion getClientVersion()
int[] getCipherSuites()
short[] getCompressionMethods()
java.util.Hashtable getClientExtensions() throws java.io.IOException
java.io.IOException
void notifyServerVersion(ProtocolVersion selectedVersion) throws java.io.IOException
java.io.IOException
void notifySessionID(byte[] sessionID)
void notifySelectedCipherSuite(int selectedCipherSuite)
void notifySelectedCompressionMethod(short selectedCompressionMethod)
void notifySecureRenegotiation(boolean secureNegotiation) throws java.io.IOException
java.io.IOException
void processServerExtensions(java.util.Hashtable serverExtensions) throws java.io.IOException
java.io.IOException
void processServerSupplementalData(java.util.Vector serverSupplementalData) throws java.io.IOException
java.io.IOException
TlsKeyExchange getKeyExchange() throws java.io.IOException
java.io.IOException
TlsAuthentication getAuthentication() throws java.io.IOException
java.io.IOException
java.util.Vector getClientSupplementalData() throws java.io.IOException
java.io.IOException
TlsCompression getCompression() throws java.io.IOException
java.io.IOException
TlsCipher getCipher() throws java.io.IOException
java.io.IOException
void notifyNewSessionTicket(NewSessionTicket newSessionTicket) throws java.io.IOException
newSessionTicket
- The ticket.java.io.IOException
void notifyHandshakeComplete() throws java.io.IOException
java.io.IOException