public abstract class DTLSProtocol
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
protected java.security.SecureRandom |
secureRandom |
| Modifier | Constructor and Description |
|---|---|
protected |
DTLSProtocol(java.security.SecureRandom secureRandom) |
| Modifier and Type | Method and Description |
|---|---|
protected static void |
applyMaxFragmentLengthExtension(org.bouncycastle.crypto.tls.DTLSRecordLayer recordLayer,
short maxFragmentLength) |
protected static short |
evaluateMaxFragmentLengthExtension(boolean resumedSession,
java.util.Hashtable clientExtensions,
java.util.Hashtable serverExtensions,
short alertDescription) |
protected static byte[] |
generateCertificate(Certificate certificate) |
protected static byte[] |
generateSupplementalData(java.util.Vector supplementalData) |
protected void |
processFinished(byte[] body,
byte[] expected_verify_data) |
protected static void |
validateSelectedCipherSuite(int selectedCipherSuite,
short alertDescription) |
protected void processFinished(byte[] body,
byte[] expected_verify_data)
throws java.io.IOException
java.io.IOExceptionprotected static void applyMaxFragmentLengthExtension(org.bouncycastle.crypto.tls.DTLSRecordLayer recordLayer,
short maxFragmentLength)
throws java.io.IOException
java.io.IOExceptionprotected static short evaluateMaxFragmentLengthExtension(boolean resumedSession,
java.util.Hashtable clientExtensions,
java.util.Hashtable serverExtensions,
short alertDescription)
throws java.io.IOException
java.io.IOExceptionprotected static byte[] generateCertificate(Certificate certificate) throws java.io.IOException
java.io.IOExceptionprotected static byte[] generateSupplementalData(java.util.Vector supplementalData)
throws java.io.IOException
java.io.IOExceptionprotected static void validateSelectedCipherSuite(int selectedCipherSuite,
short alertDescription)
throws java.io.IOException
java.io.IOException