|
Bouncy Castle Cryptography 1.51 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface TlsPeer
| Method Summary | |
|---|---|
TlsCipher |
getCipher()
|
TlsCompression |
getCompression()
|
void |
notifyAlertRaised(short alertLevel,
short alertDescription,
java.lang.String message,
java.lang.Exception cause)
This method will be called when an alert is raised by the protocol. |
void |
notifyAlertReceived(short alertLevel,
short alertDescription)
This method will be called when an alert is received from the remote peer. |
void |
notifyHandshakeComplete()
Notifies the peer that the handshake has been successfully completed. |
void |
notifySecureRenegotiation(boolean secureNegotiation)
|
boolean |
shouldUseGMTUnixTime()
draft-mathewson-no-gmtunixtime-00 2. |
| Method Detail |
|---|
boolean shouldUseGMTUnixTime()
true if the current time should be used in the gmt_unix_time field of
Random, or false if gmt_unix_time should contain a cryptographically
random value.
void notifySecureRenegotiation(boolean secureNegotiation)
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 notifyAlertRaised(short alertLevel,
short alertDescription,
java.lang.String message,
java.lang.Exception cause)
alertLevel - AlertLevelalertDescription - AlertDescriptionmessage - A human-readable message explaining what caused this alert. May be null.cause - The exception that caused this alert to be raised. May be null.
void notifyAlertReceived(short alertLevel,
short alertDescription)
alertLevel - AlertLevelalertDescription - AlertDescription
void notifyHandshakeComplete()
throws java.io.IOException
java.io.IOException
|
Bouncy Castle Cryptography 1.51 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||