public abstract class SessionResumeTlsClient
extends org.bouncycastle.tls.DefaultTlsClient
Constructor and Description |
---|
SessionResumeTlsClient(org.bouncycastle.tls.crypto.TlsCrypto crypto) |
SessionResumeTlsClient(org.bouncycastle.tls.crypto.TlsCrypto crypto,
org.bouncycastle.tls.TlsKeyExchangeFactory keyExchangeFactory,
org.bouncycastle.tls.TlsDHConfigVerifier dhConfigVerifier) |
Modifier and Type | Method and Description |
---|---|
org.bouncycastle.tls.TlsAuthentication |
getAuthentication() |
org.bouncycastle.tls.TlsSession |
getSessionToResume() |
void |
notifyAlertRaised(short alertLevel,
short alertDescription,
java.lang.String message,
java.lang.Throwable cause) |
void |
notifySessionID(byte[] sessionID) |
createDHEKeyExchange, createDHKeyExchange, createECDHEKeyExchange, createECDHKeyExchange, createRSAKeyExchange, getCipherSuites, getKeyExchange
allowUnexpectedServerExtension, checkForUnexpectedServerExtension, createECConfigVerifier, getCipher, getClientExtensions, getClientHelloRecordLayerVersion, getClientSupplementalData, getClientVersion, getCompression, getCompressionMethods, getMinimumVersion, getSupportedSignatureAlgorithms, init, isFallback, notifyNewSessionTicket, notifySelectedCipherSuite, notifySelectedCompressionMethod, notifyServerVersion, processServerExtensions, processServerSupplementalData
getCrypto, notifyAlertReceived, notifyHandshakeComplete, notifySecureRenegotiation, shouldUseGMTUnixTime
public SessionResumeTlsClient(org.bouncycastle.tls.crypto.TlsCrypto crypto)
public SessionResumeTlsClient(org.bouncycastle.tls.crypto.TlsCrypto crypto, org.bouncycastle.tls.TlsKeyExchangeFactory keyExchangeFactory, org.bouncycastle.tls.TlsDHConfigVerifier dhConfigVerifier)
public org.bouncycastle.tls.TlsAuthentication getAuthentication() throws java.io.IOException
java.io.IOException
public void notifySessionID(byte[] sessionID)
notifySessionID
in interface org.bouncycastle.tls.TlsClient
notifySessionID
in class org.bouncycastle.tls.AbstractTlsClient
public void notifyAlertRaised(short alertLevel, short alertDescription, java.lang.String message, java.lang.Throwable cause)
notifyAlertRaised
in interface org.bouncycastle.tls.TlsPeer
notifyAlertRaised
in class org.bouncycastle.tls.AbstractTlsPeer
public org.bouncycastle.tls.TlsSession getSessionToResume()
getSessionToResume
in interface org.bouncycastle.tls.TlsClient
getSessionToResume
in class org.bouncycastle.tls.AbstractTlsClient