public abstract class DTLSProtocol extends Object
Modifier and Type | Field and Description |
---|---|
protected SecureRandom |
secureRandom |
Modifier | Constructor and Description |
---|---|
protected |
DTLSProtocol(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,
Hashtable clientExtensions,
Hashtable serverExtensions,
short alertDescription) |
protected static byte[] |
generateCertificate(Certificate certificate) |
protected static byte[] |
generateSupplementalData(Vector supplementalData) |
protected void |
processFinished(byte[] body,
byte[] expected_verify_data) |
protected static void |
validateSelectedCipherSuite(int selectedCipherSuite,
short alertDescription) |
protected final SecureRandom secureRandom
protected DTLSProtocol(SecureRandom secureRandom)
protected void processFinished(byte[] body, byte[] expected_verify_data) throws IOException
IOException
protected static void applyMaxFragmentLengthExtension(org.bouncycastle.crypto.tls.DTLSRecordLayer recordLayer, short maxFragmentLength) throws IOException
IOException
protected static short evaluateMaxFragmentLengthExtension(boolean resumedSession, Hashtable clientExtensions, Hashtable serverExtensions, short alertDescription) throws IOException
IOException
protected static byte[] generateCertificate(Certificate certificate) throws IOException
IOException
protected static byte[] generateSupplementalData(Vector supplementalData) throws IOException
IOException
protected static void validateSelectedCipherSuite(int selectedCipherSuite, short alertDescription) throws IOException
IOException
Copyright © 2018 BouncyCastle.org. All rights reserved.