|
Bouncy Castle Cryptography Library 1.64 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Interface describing a TLS server endpoint.
Method Summary | |
CertificateRequest |
getCertificateRequest()
Deprecated. |
CertificateStatus |
getCertificateStatus()
Deprecated. This method will be called (only) if the server included an extension of type "status_request" with empty "extension_data" in the extended server hello. |
TlsCredentials |
getCredentials()
Deprecated. |
TlsKeyExchange |
getKeyExchange()
Deprecated. |
NewSessionTicket |
getNewSessionTicket()
Deprecated. RFC 5077 3.3. |
int |
getSelectedCipherSuite()
Deprecated. |
short |
getSelectedCompressionMethod()
Deprecated. |
java.util.Hashtable |
getServerExtensions()
Deprecated. |
java.util.Vector |
getServerSupplementalData()
Deprecated. |
ProtocolVersion |
getServerVersion()
Deprecated. |
void |
init(TlsServerContext context)
Deprecated. |
void |
notifyClientCertificate(Certificate clientCertificate)
Deprecated. Called by the protocol handler to report the client certificate, only if getCertificateRequest() returned non-null. |
void |
notifyClientVersion(ProtocolVersion clientVersion)
Deprecated. |
void |
notifyFallback(boolean isFallback)
Deprecated. |
void |
notifyOfferedCipherSuites(int[] offeredCipherSuites)
Deprecated. |
void |
notifyOfferedCompressionMethods(short[] offeredCompressionMethods)
Deprecated. |
void |
processClientExtensions(java.util.Hashtable clientExtensions)
Deprecated. |
void |
processClientSupplementalData(java.util.Vector clientSupplementalData)
Deprecated. |
Methods inherited from interface org.bouncycastle.crypto.tls.TlsPeer |
cancel, getCipher, getCompression, notifyAlertRaised, notifyAlertReceived, notifyCloseHandle, notifyHandshakeComplete, notifySecureRenegotiation, requiresExtendedMasterSecret, shouldUseGMTUnixTime |
Method Detail |
public void init(TlsServerContext context)
public void notifyClientVersion(ProtocolVersion clientVersion) throws java.io.IOException
public void notifyFallback(boolean isFallback) throws java.io.IOException
public void notifyOfferedCipherSuites(int[] offeredCipherSuites) throws java.io.IOException
public void notifyOfferedCompressionMethods(short[] offeredCompressionMethods) throws java.io.IOException
public void processClientExtensions(java.util.Hashtable clientExtensions) throws java.io.IOException
public ProtocolVersion getServerVersion() throws java.io.IOException
public int getSelectedCipherSuite() throws java.io.IOException
public short getSelectedCompressionMethod() throws java.io.IOException
public java.util.Hashtable getServerExtensions() throws java.io.IOException
public java.util.Vector getServerSupplementalData() throws java.io.IOException
public TlsCredentials getCredentials() throws java.io.IOException
public CertificateStatus getCertificateStatus() throws java.io.IOException
CertificateStatus
is returned, it
is sent to the client as a handshake message of type "certificate_status".CertificateStatus
to be sent to the client (or null for none).java.io.IOException
- public TlsKeyExchange getKeyExchange() throws java.io.IOException
public CertificateRequest getCertificateRequest() throws java.io.IOException
public void processClientSupplementalData(java.util.Vector clientSupplementalData) throws java.io.IOException
public void notifyClientCertificate(Certificate clientCertificate) throws java.io.IOException
getCertificateRequest()
returned non-null.
Note: this method is responsible for certificate verification and validation.clientCertificate
- the effective client certificate (may be an empty chain).java.io.IOException
- public NewSessionTicket getNewSessionTicket() throws java.io.IOException
This method will be called (only) if a NewSessionTicket extension was sent by the server. See RFC 5077 4. Recommended Ticket Construction for recommended format and protection.
java.io.IOException
-
|
Bouncy Castle Cryptography Library 1.64 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |