Top Inners Constructors Methods
org.bouncycastle.tls

public Class DTLSClientProtocol

extends DTLSProtocol
Class Inheritance
Imports
java.io.ByteArrayInputStream, .ByteArrayOutputStream, .IOException, java.util.Enumeration, .Hashtable, .Vector, org.bouncycastle.tls.crypto.TlsCrypto, .TlsSecret, .TlsStreamSigner, org.bouncycastle.util.Arrays

Nested and Inner Type Summary

Modifier and TypeClass and Description
protected static class

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
protected void
protected void
protected DTLSTransport
public DTLSTransport
connect(TlsClient client, DatagramTransport transport)

protected boolean
protected byte[]
protected byte[]
protected byte[]
protected void
protected static byte[]
patchClientHelloWithCookie(byte[] clientHelloBody, byte[] cookie)

protected void
protected void
protected byte[]
protected void
protected void
protected void
protected void
protected void
protected void
Inherited from org.bouncycastle.tls.DTLSProtocol:
applyMaxFragmentLengthExtensionevaluateMaxFragmentLengthExtensiongenerateCertificategenerateSupplementalDataprocessFinishedsendCertificateMessagevalidateSelectedCipherSuite

Constructor Detail

DTLSClientProtocolback to summary
public DTLSClientProtocol()

Method Detail

abortClientHandshakeback to summary
protected void abortClientHandshake(DTLSClientProtocol.ClientHandshakeState state, DTLSRecordLayer recordLayer, short alertDescription)
cancelSessionback to summary
protected void cancelSession(DTLSClientProtocol.ClientHandshakeState state)
clientHandshakeback to summary
protected DTLSTransport clientHandshake(DTLSClientProtocol.ClientHandshakeState state, DTLSRecordLayer recordLayer) throws IOException
connectback to summary
public DTLSTransport connect(TlsClient client, DatagramTransport transport) throws IOException
establishSessionback to summary
protected boolean establishSession(DTLSClientProtocol.ClientHandshakeState state, TlsSession sessionToResume)
generateCertificateVerifyback to summary
protected byte[] generateCertificateVerify(DTLSClientProtocol.ClientHandshakeState state, DigitallySigned certificateVerify) throws IOException
generateClientHelloback to summary
protected byte[] generateClientHello(DTLSClientProtocol.ClientHandshakeState state) throws IOException
generateClientKeyExchangeback to summary
protected byte[] generateClientKeyExchange(DTLSClientProtocol.ClientHandshakeState state) throws IOException
invalidateSessionback to summary
protected void invalidateSession(DTLSClientProtocol.ClientHandshakeState state)
patchClientHelloWithCookieback to summary
protected static byte[] patchClientHelloWithCookie(byte[] clientHelloBody, byte[] cookie) throws IOException
processCertificateRequestback to summary
protected void processCertificateRequest(DTLSClientProtocol.ClientHandshakeState state, byte[] body) throws IOException
processCertificateStatusback to summary
protected void processCertificateStatus(DTLSClientProtocol.ClientHandshakeState state, byte[] body) throws IOException
processHelloVerifyRequestback to summary
protected byte[] processHelloVerifyRequest(DTLSClientProtocol.ClientHandshakeState state, byte[] body) throws IOException
processNewSessionTicketback to summary
protected void processNewSessionTicket(DTLSClientProtocol.ClientHandshakeState state, byte[] body) throws IOException
processServerCertificateback to summary
protected void processServerCertificate(DTLSClientProtocol.ClientHandshakeState state, byte[] body) throws IOException
processServerHelloback to summary
protected void processServerHello(DTLSClientProtocol.ClientHandshakeState state, byte[] body) throws IOException
processServerKeyExchangeback to summary
protected void processServerKeyExchange(DTLSClientProtocol.ClientHandshakeState state, byte[] body) throws IOException
processServerSupplementalDataback to summary
protected void processServerSupplementalData(DTLSClientProtocol.ClientHandshakeState state, byte[] body) throws IOException
reportServerVersionback to summary
protected void reportServerVersion(DTLSClientProtocol.ClientHandshakeState state, ProtocolVersion server_version) throws IOException
org.bouncycastle.tls back to summary

protected Class DTLSClientProtocol.ClientHandshakeState

extends Object
Class Inheritance

Field Summary

Modifier and TypeField and Description
pack-priv TlsAuthentication
pack-priv CertificateRequest
pack-priv CertificateStatus
pack-priv TlsClient
pack-priv Hashtable<K, V>
pack-priv OfferedPsks.BindersConfig
pack-priv TlsClientContextImpl
pack-priv Hashtable<K, V>
pack-priv boolean
pack-priv TlsHeartbeat
pack-priv short
pack-priv TlsKeyExchange
pack-priv int[]
pack-priv Hashtable<K, V>
pack-priv TlsSecret
pack-priv SessionParameters
pack-priv SessionParameters.Builder
pack-priv TlsSession

Constructor Summary

AccessConstructor and Description
protected

Method Summary

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

authenticationback to summary
pack-priv TlsAuthentication authentication
certificateRequestback to summary
pack-priv CertificateRequest certificateRequest
certificateStatusback to summary
pack-priv CertificateStatus certificateStatus
clientback to summary
pack-priv TlsClient client
clientAgreementsback to summary
pack-priv Hashtable<K, V> clientAgreements
clientBindersback to summary
pack-priv OfferedPsks.BindersConfig clientBinders
clientContextback to summary
pack-priv TlsClientContextImpl clientContext
clientExtensionsback to summary
pack-priv Hashtable<K, V> clientExtensions
expectSessionTicketback to summary
pack-priv boolean expectSessionTicket
heartbeatback to summary
pack-priv TlsHeartbeat heartbeat
heartbeatPolicyback to summary
pack-priv short heartbeatPolicy
keyExchangeback to summary
pack-priv TlsKeyExchange keyExchange
offeredCipherSuitesback to summary
pack-priv int[] offeredCipherSuites
serverExtensionsback to summary
pack-priv Hashtable<K, V> serverExtensions
sessionMasterSecretback to summary
pack-priv TlsSecret sessionMasterSecret
sessionParametersback to summary
pack-priv SessionParameters sessionParameters
sessionParametersBuilderback to summary
pack-priv SessionParameters.Builder sessionParametersBuilder
tlsSessionback to summary
pack-priv TlsSession tlsSession

Constructor Detail

ClientHandshakeStateback to summary
protected ClientHandshakeState()