Class DtlsProtocol
- Namespace
- Enterprises.Org.BouncyCastle.Crypto.Tls
- Assembly
- Enterprises.BouncyCastle.Crypto.dll
public abstract class DtlsProtocol
- Inheritance
-
DtlsProtocol
- Derived
-
- Inherited Members
-
Constructors
DtlsProtocol(SecureRandom)
protected DtlsProtocol(SecureRandom secureRandom)
Parameters
secureRandom SecureRandom
Fields
mSecureRandom
protected readonly SecureRandom mSecureRandom
Field Value
- SecureRandom
Methods
EvaluateMaxFragmentLengthExtension(bool, IDictionary, IDictionary, byte)
protected static short EvaluateMaxFragmentLengthExtension(bool resumedSession, IDictionary clientExtensions, IDictionary serverExtensions, byte alertDescription)
Parameters
resumedSession bool
clientExtensions IDictionary
serverExtensions IDictionary
alertDescription byte
Returns
- short
GenerateCertificate(Certificate)
protected static byte[] GenerateCertificate(Certificate certificate)
Parameters
certificate Certificate
Returns
- byte[]
GenerateSupplementalData(IList)
protected static byte[] GenerateSupplementalData(IList supplementalData)
Parameters
supplementalData IList
Returns
- byte[]
ProcessFinished(byte[], byte[])
protected virtual void ProcessFinished(byte[] body, byte[] expected_verify_data)
Parameters
body byte[]
expected_verify_data byte[]
ValidateSelectedCipherSuite(int, byte)
protected static void ValidateSelectedCipherSuite(int selectedCipherSuite, byte alertDescription)
Parameters
selectedCipherSuite int
alertDescription byte