public interface TlsPeer
| Modifier and Type | Method and Description |
|---|---|
void |
cancel()
Deprecated.
|
TlsCipher |
getCipher()
Deprecated.
|
TlsCompression |
getCompression()
Deprecated.
|
void |
notifyAlertRaised(short alertLevel,
short alertDescription,
java.lang.String message,
java.lang.Throwable cause)
Deprecated.
This method will be called when an alert is raised by the protocol.
|
void |
notifyAlertReceived(short alertLevel,
short alertDescription)
Deprecated.
This method will be called when an alert is received from the remote peer.
|
void |
notifyCloseHandle(TlsCloseable closehandle)
Deprecated.
|
void |
notifyHandshakeComplete()
Deprecated.
Notifies the peer that the handshake has been successfully completed.
|
void |
notifySecureRenegotiation(boolean secureNegotiation)
Deprecated.
|
boolean |
requiresExtendedMasterSecret()
Deprecated.
This implementation supports RFC 7627 and will always negotiate the extended_master_secret
extension where possible.
|
boolean |
shouldUseGMTUnixTime()
Deprecated.
draft-mathewson-no-gmtunixtime-00 2.
|
void notifyCloseHandle(TlsCloseable closehandle)
void cancel()
throws java.io.IOException
java.io.IOExceptionboolean requiresExtendedMasterSecret()
boolean shouldUseGMTUnixTime()
void notifySecureRenegotiation(boolean secureNegotiation)
throws java.io.IOException
java.io.IOExceptionTlsCompression getCompression() throws java.io.IOException
java.io.IOExceptionTlsCipher getCipher() throws java.io.IOException
java.io.IOExceptionvoid notifyAlertRaised(short alertLevel,
short alertDescription,
java.lang.String message,
java.lang.Throwable cause)
alertLevel - AlertLevelalertDescription - AlertDescriptionmessage - A human-readable message explaining what caused this alert. May be null.cause - The Throwable that caused this alert to be raised. May be null.void notifyAlertReceived(short alertLevel,
short alertDescription)
alertLevel - AlertLevelalertDescription - AlertDescriptionvoid notifyHandshakeComplete()
throws java.io.IOException
java.io.IOException