Package org.bouncycastle.crypto.tls
Class DTLSProtocol
- java.lang.Object
-
- org.bouncycastle.crypto.tls.DTLSProtocol
-
- Direct Known Subclasses:
DTLSClientProtocol,DTLSServerProtocol
public abstract class DTLSProtocol extends java.lang.ObjectDeprecated.Migrate to the (D)TLS API in org.bouncycastle.tls (bctls jar).
-
-
Field Summary
Fields Modifier and Type Field Description protected java.security.SecureRandomsecureRandomDeprecated.
-
Constructor Summary
Constructors Modifier Constructor Description protectedDTLSProtocol(java.security.SecureRandom secureRandom)Deprecated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description protected static voidapplyMaxFragmentLengthExtension(org.bouncycastle.crypto.tls.DTLSRecordLayer recordLayer, short maxFragmentLength)Deprecated.protected static shortevaluateMaxFragmentLengthExtension(boolean resumedSession, java.util.Hashtable clientExtensions, java.util.Hashtable serverExtensions, short alertDescription)Deprecated.protected static byte[]generateCertificate(Certificate certificate)Deprecated.protected static byte[]generateSupplementalData(java.util.Vector supplementalData)Deprecated.protected voidprocessFinished(byte[] body, byte[] expected_verify_data)Deprecated.protected static voidvalidateSelectedCipherSuite(int selectedCipherSuite, short alertDescription)Deprecated.
-
-
-
Method Detail
-
processFinished
protected void processFinished(byte[] body, byte[] expected_verify_data) throws java.io.IOExceptionDeprecated.- Throws:
java.io.IOException
-
applyMaxFragmentLengthExtension
protected static void applyMaxFragmentLengthExtension(org.bouncycastle.crypto.tls.DTLSRecordLayer recordLayer, short maxFragmentLength) throws java.io.IOExceptionDeprecated.- Throws:
java.io.IOException
-
evaluateMaxFragmentLengthExtension
protected static short evaluateMaxFragmentLengthExtension(boolean resumedSession, java.util.Hashtable clientExtensions, java.util.Hashtable serverExtensions, short alertDescription) throws java.io.IOExceptionDeprecated.- Throws:
java.io.IOException
-
generateCertificate
protected static byte[] generateCertificate(Certificate certificate) throws java.io.IOException
Deprecated.- Throws:
java.io.IOException
-
generateSupplementalData
protected static byte[] generateSupplementalData(java.util.Vector supplementalData) throws java.io.IOExceptionDeprecated.- Throws:
java.io.IOException
-
validateSelectedCipherSuite
protected static void validateSelectedCipherSuite(int selectedCipherSuite, short alertDescription) throws java.io.IOExceptionDeprecated.- Throws:
java.io.IOException
-
-