Top Constructors Methods
org.bouncycastle.tls

public abstract Class DTLSProtocol

extends Object
Class Inheritance
Known Direct Subclasses
org.bouncycastle.tls.DTLSServerProtocol, org.bouncycastle.tls.DTLSClientProtocol
Imports
java.io.ByteArrayInputStream, .ByteArrayOutputStream, .IOException, .OutputStream, java.util.Hashtable, .Vector, org.bouncycastle.util.Arrays

Constructor Summary

AccessConstructor and Description
protected

Method Summary

Modifier and TypeMethod and Description
protected static void
applyMaxFragmentLengthExtension(DTLSRecordLayer recordLayer, short maxFragmentLength)

protected static short
evaluateMaxFragmentLengthExtension(boolean resumedSession, Hashtable<K, V> clientExtensions, Hashtable<K, V> serverExtensions, short alertDescription)

Deprecated Will be removed.
protected static byte[]
generateCertificate(TlsContext context, Certificate certificate, OutputStream endPointHash)

protected static byte[]
generateSupplementalData(Vector<E> supplementalData)

protected void
processFinished(byte[] body, byte[] expected_verify_data)

protected static void
sendCertificateMessage(TlsContext context, DTLSReliableHandshake handshake, Certificate certificate, OutputStream endPointHash)

protected static int
validateSelectedCipherSuite(int selectedCipherSuite, short alertDescription)

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Constructor Detail

DTLSProtocolback to summary
protected DTLSProtocol()

Method Detail

applyMaxFragmentLengthExtensionback to summary
protected static void applyMaxFragmentLengthExtension(DTLSRecordLayer recordLayer, short maxFragmentLength) throws IOException
evaluateMaxFragmentLengthExtensionback to summary
protected static short evaluateMaxFragmentLengthExtension(boolean resumedSession, Hashtable<K, V> clientExtensions, Hashtable<K, V> serverExtensions, short alertDescription) throws IOException

Deprecated

Will be removed.

generateCertificateback to summary
protected static byte[] generateCertificate(TlsContext context, Certificate certificate, OutputStream endPointHash) throws IOException
generateSupplementalDataback to summary
protected static byte[] generateSupplementalData(Vector<E> supplementalData) throws IOException
processFinishedback to summary
protected void processFinished(byte[] body, byte[] expected_verify_data) throws IOException
sendCertificateMessageback to summary
protected static void sendCertificateMessage(TlsContext context, DTLSReliableHandshake handshake, Certificate certificate, OutputStream endPointHash) throws IOException
validateSelectedCipherSuiteback to summary
protected static int validateSelectedCipherSuite(int selectedCipherSuite, short alertDescription) throws IOException