public abstract class AbstractTlsPeer extends java.lang.Object implements TlsPeer
| Constructor and Description |
|---|
AbstractTlsPeer()
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
void |
cancel()
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 secureRenegotiation)
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.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetCipher, getCompressionpublic void cancel()
throws java.io.IOException
public void notifyCloseHandle(TlsCloseable closeHandle)
notifyCloseHandle in interface TlsPeerpublic boolean requiresExtendedMasterSecret()
TlsPeerrequiresExtendedMasterSecret in interface TlsPeerpublic boolean shouldUseGMTUnixTime()
TlsPeershouldUseGMTUnixTime in interface TlsPeerpublic void notifySecureRenegotiation(boolean secureRenegotiation)
throws java.io.IOException
notifySecureRenegotiation in interface TlsPeerjava.io.IOExceptionpublic void notifyAlertRaised(short alertLevel,
short alertDescription,
java.lang.String message,
java.lang.Throwable cause)
TlsPeernotifyAlertRaised in interface TlsPeeralertLevel - 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.public void notifyAlertReceived(short alertLevel,
short alertDescription)
TlsPeernotifyAlertReceived in interface TlsPeeralertLevel - AlertLevelalertDescription - AlertDescriptionpublic void notifyHandshakeComplete()
throws java.io.IOException
TlsPeernotifyHandshakeComplete in interface TlsPeerjava.io.IOException