public abstract class DTLSProtocol
extends java.lang.Object
Modifier | Constructor and Description |
---|---|
protected |
DTLSProtocol() |
Modifier and Type | Method and Description |
---|---|
protected static void |
applyMaxFragmentLengthExtension(org.bouncycastle.tls.DTLSRecordLayer recordLayer,
short maxFragmentLength) |
protected static short |
evaluateMaxFragmentLengthExtension(boolean resumedSession,
java.util.Hashtable clientExtensions,
java.util.Hashtable serverExtensions,
short alertDescription)
Deprecated.
Will be removed.
|
protected static byte[] |
generateCertificate(TlsContext context,
Certificate certificate,
java.io.OutputStream endPointHash) |
protected static byte[] |
generateSupplementalData(java.util.Vector supplementalData) |
protected void |
processFinished(byte[] body,
byte[] expected_verify_data) |
protected static void |
sendCertificateMessage(TlsContext context,
org.bouncycastle.tls.DTLSReliableHandshake handshake,
Certificate certificate,
java.io.OutputStream endPointHash) |
protected static int |
validateSelectedCipherSuite(int selectedCipherSuite,
short alertDescription) |
protected void processFinished(byte[] body, byte[] expected_verify_data) throws java.io.IOException
java.io.IOException
protected static void applyMaxFragmentLengthExtension(org.bouncycastle.tls.DTLSRecordLayer recordLayer, short maxFragmentLength) throws java.io.IOException
java.io.IOException
protected static short evaluateMaxFragmentLengthExtension(boolean resumedSession, java.util.Hashtable clientExtensions, java.util.Hashtable serverExtensions, short alertDescription) throws java.io.IOException
java.io.IOException
protected static byte[] generateCertificate(TlsContext context, Certificate certificate, java.io.OutputStream endPointHash) throws java.io.IOException
java.io.IOException
protected static byte[] generateSupplementalData(java.util.Vector supplementalData) throws java.io.IOException
java.io.IOException
protected static void sendCertificateMessage(TlsContext context, org.bouncycastle.tls.DTLSReliableHandshake handshake, Certificate certificate, java.io.OutputStream endPointHash) throws java.io.IOException
java.io.IOException
protected static int validateSelectedCipherSuite(int selectedCipherSuite, short alertDescription) throws java.io.IOException
java.io.IOException