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, notifyAlertReceivedvoid init(TlsClientContext context)
ProtocolVersion getClientHelloRecordLayerVersion()
ProtocolVersion getClientVersion()
int[] getCipherSuites()
short[] getCompressionMethods()
java.util.Hashtable getClientExtensions()
throws java.io.IOException
java.io.IOExceptionvoid notifyServerVersion(ProtocolVersion selectedVersion) throws java.io.IOException
java.io.IOExceptionvoid notifySessionID(byte[] sessionID)
void notifySelectedCipherSuite(int selectedCipherSuite)
void notifySelectedCompressionMethod(short selectedCompressionMethod)
void notifySecureRenegotiation(boolean secureNegotiation)
throws java.io.IOException
java.io.IOExceptionvoid processServerExtensions(java.util.Hashtable serverExtensions)
throws java.io.IOException
java.io.IOExceptionvoid processServerSupplementalData(java.util.Vector serverSupplementalData)
throws java.io.IOException
java.io.IOExceptionTlsKeyExchange getKeyExchange() throws java.io.IOException
java.io.IOExceptionTlsAuthentication getAuthentication() throws java.io.IOException
java.io.IOExceptionjava.util.Vector getClientSupplementalData()
throws java.io.IOException
java.io.IOExceptionTlsCompression getCompression() throws java.io.IOException
java.io.IOExceptionTlsCipher getCipher() throws java.io.IOException
java.io.IOExceptionvoid notifyNewSessionTicket(NewSessionTicket newSessionTicket) throws java.io.IOException
newSessionTicket - The ticket.java.io.IOExceptionvoid notifyHandshakeComplete()
throws java.io.IOException
java.io.IOException