Property | Type | Description | |
---|---|---|---|
EmptyBytes | byte[] | ||
EmptyInts | int[] | ||
EmptyLongs | long[] | ||
EmptyShorts | short[] |
Method | Description | |
---|---|---|
AddSignatureAlgorithmsExtension ( IDictionary extensions, IList supportedSignatureAlgorithms ) : void | ||
CheckUint16 ( int i ) : void | ||
CheckUint16 ( long i ) : void | ||
CheckUint24 ( int i ) : void | ||
CheckUint24 ( long i ) : void | ||
CheckUint32 ( long i ) : void | ||
CheckUint48 ( long i ) : void | ||
CheckUint64 ( long i ) : void | ||
CheckUint8 ( int i ) : void | ||
CheckUint8 ( long i ) : void | ||
CloneHash ( byte hashAlgorithm, IDigest hash ) : IDigest | ||
ClonePrfHash ( int prfAlgorithm, IDigest hash ) : IDigest | ||
CreateHash ( Org.BouncyCastle.Crypto.Tls.SignatureAndHashAlgorithm signatureAndHashAlgorithm ) : IDigest | ||
CreateHash ( byte hashAlgorithm ) : IDigest | ||
CreatePrfHash ( int prfAlgorithm ) : IDigest | ||
CreateSignatureAlgorithmsExtension ( IList supportedSignatureAlgorithms ) : byte[] | ||
CreateTlsSigner ( byte clientCertificateType ) : TlsSigner | ||
EncodeOpaque8 ( byte buf ) : byte[] | ||
EncodeSupportedSignatureAlgorithms ( IList supportedSignatureAlgorithms, bool allowAnonymous, Stream output ) : void | ||
EncodeUint16ArrayWithUint16Length ( int uints ) : byte[] | ||
EncodeUint8ArrayWithUint8Length ( byte uints ) : byte[] | ||
GetCipherType ( int ciphersuite ) : int | ||
GetDefaultDssSignatureAlgorithms ( ) : IList | ||
GetDefaultECDsaSignatureAlgorithms ( ) : IList | ||
GetDefaultRsaSignatureAlgorithms ( ) : IList | ||
GetDefaultSupportedSignatureAlgorithms ( ) : IList | ||
GetEncryptionAlgorithm ( int ciphersuite ) : int | ||
GetExtensionData ( IDictionary extensions, int extensionType ) : byte[] | ||
GetHashAlgorithmForPrfAlgorithm ( int prfAlgorithm ) : byte | ||
GetKeyExchangeAlgorithm ( int ciphersuite ) : int | ||
GetMacAlgorithm ( int ciphersuite ) : int | ||
GetMinimumVersion ( int ciphersuite ) : Org.BouncyCastle.Crypto.Tls.ProtocolVersion | ||
GetOidForHashAlgorithm ( byte hashAlgorithm ) : |
||
GetSignatureAlgorithmsExtension ( IDictionary extensions ) : IList | ||
GetSignatureAndHashAlgorithm ( TlsContext context, TlsSignerCredentials signerCredentials ) : Org.BouncyCastle.Crypto.Tls.SignatureAndHashAlgorithm | ||
HasExpectedEmptyExtensionData ( IDictionary extensions, int extensionType, byte alertDescription ) : bool | ||
HasSigningCapability ( byte clientCertificateType ) : bool | ||
ImportSession ( byte sessionID, Org.BouncyCastle.Crypto.Tls.SessionParameters sessionParameters ) : TlsSession | ||
IsAeadCipherSuite ( int ciphersuite ) : bool | ||
IsBlockCipherSuite ( int ciphersuite ) : bool | ||
IsSignatureAlgorithmsExtensionAllowed ( Org.BouncyCastle.Crypto.Tls.ProtocolVersion clientVersion ) : bool | ||
IsSsl ( TlsContext context ) : bool | ||
IsStreamCipherSuite ( int ciphersuite ) : bool | ||
IsTlsV11 ( Org.BouncyCastle.Crypto.Tls.ProtocolVersion version ) : bool | ||
IsTlsV11 ( TlsContext context ) : bool | ||
IsTlsV12 ( Org.BouncyCastle.Crypto.Tls.ProtocolVersion version ) : bool | ||
IsTlsV12 ( TlsContext context ) : bool | ||
IsValidCipherSuiteForVersion ( int cipherSuite, ProtocolVersion serverVersion ) : bool | ||
IsValidUint16 ( int i ) : bool | ||
IsValidUint16 ( long i ) : bool | ||
IsValidUint24 ( int i ) : bool | ||
IsValidUint24 ( long i ) : bool | ||
IsValidUint32 ( long i ) : bool | ||
IsValidUint48 ( long i ) : bool | ||
IsValidUint64 ( long i ) : bool | ||
IsValidUint8 ( int i ) : bool | ||
IsValidUint8 ( long i ) : bool | ||
PRF ( TlsContext context, byte secret, string asciiLabel, byte seed, int size ) : byte[] | ||
PRF_legacy ( byte secret, string asciiLabel, byte seed, int size ) : byte[] | ||
ParseSupportedSignatureAlgorithms ( bool allowAnonymous, Stream input ) : IList | ||
ReadAllOrNothing ( int length, Stream input ) : byte[] | ||
ReadAsn1Object ( byte encoding ) : Asn1Object | ||
ReadDerObject ( byte encoding ) : Asn1Object | ||
ReadFully ( int length, Stream input ) : byte[] | ||
ReadFully ( byte buf, Stream input ) : void | ||
ReadOpaque16 ( Stream input ) : byte[] | ||
ReadOpaque24 ( Stream input ) : byte[] | ||
ReadOpaque8 ( Stream input ) : byte[] | ||
ReadSignatureAlgorithmsExtension ( byte extensionData ) : IList | ||
ReadUint16 ( Stream input ) : int | ||
ReadUint16 ( byte buf, int offset ) : int | ||
ReadUint16Array ( int count, Stream input ) : int[] | ||
ReadUint24 ( Stream input ) : int | ||
ReadUint24 ( byte buf, int offset ) : int | ||
ReadUint32 ( Stream input ) : long | ||
ReadUint32 ( byte buf, int offset ) : long | ||
ReadUint48 ( Stream input ) : long | ||
ReadUint48 ( byte buf, int offset ) : long | ||
ReadUint8 ( Stream input ) : byte | ||
ReadUint8 ( byte buf, int offset ) : byte | ||
ReadUint8Array ( int count, Stream input ) : byte[] | ||
ReadVersion ( Stream input ) : ProtocolVersion | ||
ReadVersion ( byte buf, int offset ) : ProtocolVersion | ||
ReadVersionRaw ( Stream input ) : int | ||
ReadVersionRaw ( byte buf, int offset ) : int | ||
VerifySupportedSignatureAlgorithm ( IList supportedSignatureAlgorithms, SignatureAndHashAlgorithm signatureAlgorithm ) : void | ||
WriteGmtUnixTime ( byte buf, int offset ) : void | ||
WriteOpaque16 ( byte buf, Stream output ) : void | ||
WriteOpaque24 ( byte buf, Stream output ) : void | ||
WriteOpaque8 ( byte buf, Stream output ) : void | ||
WriteUint16 ( int i, Stream output ) : void | ||
WriteUint16 ( int i, byte buf, int offset ) : void | ||
WriteUint16Array ( int uints, Stream output ) : void | ||
WriteUint16Array ( int uints, byte buf, int offset ) : void | ||
WriteUint16ArrayWithUint16Length ( int uints, Stream output ) : void | ||
WriteUint16ArrayWithUint16Length ( int uints, byte buf, int offset ) : void | ||
WriteUint24 ( int i, Stream output ) : void | ||
WriteUint24 ( int i, byte buf, int offset ) : void | ||
WriteUint32 ( long i, Stream output ) : void | ||
WriteUint32 ( long i, byte buf, int offset ) : void | ||
WriteUint48 ( long i, Stream output ) : void | ||
WriteUint48 ( long i, byte buf, int offset ) : void | ||
WriteUint64 ( long i, Stream output ) : void | ||
WriteUint64 ( long i, byte buf, int offset ) : void | ||
WriteUint8 ( byte i, Stream output ) : void | ||
WriteUint8 ( byte i, byte buf, int offset ) : void | ||
WriteUint8Array ( byte uints, Stream output ) : void | ||
WriteUint8Array ( byte uints, byte buf, int offset ) : void | ||
WriteUint8ArrayWithUint8Length ( byte uints, Stream output ) : void | ||
WriteUint8ArrayWithUint8Length ( byte uints, byte buf, int offset ) : void | ||
WriteVersion ( ProtocolVersion version, Stream output ) : void | ||
WriteVersion ( ProtocolVersion version, byte buf, int offset ) : void |
Method | Description | |
---|---|---|
CalculateKeyBlock ( TlsContext context, int size ) : byte[] | ||
CalculateKeyBlock_Ssl ( byte master_secret, byte random, int size ) : byte[] | ||
CalculateMasterSecret ( TlsContext context, byte pre_master_secret ) : byte[] | ||
CalculateMasterSecret_Ssl ( byte pre_master_secret, byte random ) : byte[] | ||
CalculateVerifyData ( TlsContext context, string asciiLabel, byte handshakeHash ) : byte[] | ||
Concat ( byte a, byte b ) : byte[] | ||
GenSsl3Const ( ) : byte[][] | ||
GetClientCertificateType ( |
||
HMacHash ( IDigest digest, byte secret, byte seed, byte output ) : void | ||
PRF_legacy ( byte secret, byte label, byte labelSeed, int size ) : byte[] | ||
TrackHashAlgorithms ( TlsHandshakeHash handshakeHash, IList supportedSignatureAlgorithms ) : void | ||
ValidateKeyUsage ( X509CertificateStructure c, int keyUsageBits ) : void | ||
VectorOfOne ( object obj ) : IList |
public static AddSignatureAlgorithmsExtension ( IDictionary extensions, IList supportedSignatureAlgorithms ) : void | ||
extensions | IDictionary | |
supportedSignatureAlgorithms | IList | |
return | void |
public static CloneHash ( byte hashAlgorithm, IDigest hash ) : IDigest | ||
hashAlgorithm | byte | |
hash | IDigest | |
return | IDigest |
public static ClonePrfHash ( int prfAlgorithm, IDigest hash ) : IDigest | ||
prfAlgorithm | int | |
hash | IDigest | |
return | IDigest |
public static CreateHash ( Org.BouncyCastle.Crypto.Tls.SignatureAndHashAlgorithm signatureAndHashAlgorithm ) : IDigest | ||
signatureAndHashAlgorithm | Org.BouncyCastle.Crypto.Tls.SignatureAndHashAlgorithm | |
return | IDigest |
public static CreateHash ( byte hashAlgorithm ) : IDigest | ||
hashAlgorithm | byte | |
return | IDigest |
public static CreatePrfHash ( int prfAlgorithm ) : IDigest | ||
prfAlgorithm | int | |
return | IDigest |
public static CreateSignatureAlgorithmsExtension ( IList supportedSignatureAlgorithms ) : byte[] | ||
supportedSignatureAlgorithms | IList | |
return | byte[] |
public static CreateTlsSigner ( byte clientCertificateType ) : TlsSigner | ||
clientCertificateType | byte | |
return | TlsSigner |
public static EncodeOpaque8 ( byte buf ) : byte[] | ||
buf | byte | |
return | byte[] |
public static EncodeSupportedSignatureAlgorithms ( IList supportedSignatureAlgorithms, bool allowAnonymous, Stream output ) : void | ||
supportedSignatureAlgorithms | IList | |
allowAnonymous | bool | |
output | Stream | |
return | void |
public static EncodeUint16ArrayWithUint16Length ( int uints ) : byte[] | ||
uints | int | |
return | byte[] |
public static EncodeUint8ArrayWithUint8Length ( byte uints ) : byte[] | ||
uints | byte | |
return | byte[] |
public static GetCipherType ( int ciphersuite ) : int | ||
ciphersuite | int | |
return | int |
public static GetDefaultDssSignatureAlgorithms ( ) : IList | ||
return | IList |
public static GetDefaultECDsaSignatureAlgorithms ( ) : IList | ||
return | IList |
public static GetDefaultRsaSignatureAlgorithms ( ) : IList | ||
return | IList |
public static GetDefaultSupportedSignatureAlgorithms ( ) : IList | ||
return | IList |
public static GetEncryptionAlgorithm ( int ciphersuite ) : int | ||
ciphersuite | int | |
return | int |
public static GetExtensionData ( IDictionary extensions, int extensionType ) : byte[] | ||
extensions | IDictionary | |
extensionType | int | |
return | byte[] |
public static GetHashAlgorithmForPrfAlgorithm ( int prfAlgorithm ) : byte | ||
prfAlgorithm | int | |
return | byte |
public static GetKeyExchangeAlgorithm ( int ciphersuite ) : int | ||
ciphersuite | int | |
return | int |
public static GetMacAlgorithm ( int ciphersuite ) : int | ||
ciphersuite | int | |
return | int |
public static GetMinimumVersion ( int ciphersuite ) : Org.BouncyCastle.Crypto.Tls.ProtocolVersion | ||
ciphersuite | int | |
return | Org.BouncyCastle.Crypto.Tls.ProtocolVersion |
public static GetOidForHashAlgorithm ( byte hashAlgorithm ) : |
||
hashAlgorithm | byte | |
return |
public static GetSignatureAlgorithmsExtension ( IDictionary extensions ) : IList | ||
extensions | IDictionary | |
return | IList |
public static GetSignatureAndHashAlgorithm ( TlsContext context, TlsSignerCredentials signerCredentials ) : Org.BouncyCastle.Crypto.Tls.SignatureAndHashAlgorithm | ||
context | TlsContext | |
signerCredentials | TlsSignerCredentials | |
return | Org.BouncyCastle.Crypto.Tls.SignatureAndHashAlgorithm |
public static HasExpectedEmptyExtensionData ( IDictionary extensions, int extensionType, byte alertDescription ) : bool | ||
extensions | IDictionary | |
extensionType | int | |
alertDescription | byte | |
return | bool |
public static HasSigningCapability ( byte clientCertificateType ) : bool | ||
clientCertificateType | byte | |
return | bool |
public static ImportSession ( byte sessionID, Org.BouncyCastle.Crypto.Tls.SessionParameters sessionParameters ) : TlsSession | ||
sessionID | byte | |
sessionParameters | Org.BouncyCastle.Crypto.Tls.SessionParameters | |
return | TlsSession |
public static IsAeadCipherSuite ( int ciphersuite ) : bool | ||
ciphersuite | int | |
return | bool |
public static IsBlockCipherSuite ( int ciphersuite ) : bool | ||
ciphersuite | int | |
return | bool |
public static IsSignatureAlgorithmsExtensionAllowed ( Org.BouncyCastle.Crypto.Tls.ProtocolVersion clientVersion ) : bool | ||
clientVersion | Org.BouncyCastle.Crypto.Tls.ProtocolVersion | |
return | bool |
public static IsSsl ( TlsContext context ) : bool | ||
context | TlsContext | |
return | bool |
public static IsStreamCipherSuite ( int ciphersuite ) : bool | ||
ciphersuite | int | |
return | bool |
public static IsTlsV11 ( Org.BouncyCastle.Crypto.Tls.ProtocolVersion version ) : bool | ||
version | Org.BouncyCastle.Crypto.Tls.ProtocolVersion | |
return | bool |
public static IsTlsV11 ( TlsContext context ) : bool | ||
context | TlsContext | |
return | bool |
public static IsTlsV12 ( Org.BouncyCastle.Crypto.Tls.ProtocolVersion version ) : bool | ||
version | Org.BouncyCastle.Crypto.Tls.ProtocolVersion | |
return | bool |
public static IsTlsV12 ( TlsContext context ) : bool | ||
context | TlsContext | |
return | bool |
public static IsValidCipherSuiteForVersion ( int cipherSuite, ProtocolVersion serverVersion ) : bool | ||
cipherSuite | int | |
serverVersion | ProtocolVersion | |
return | bool |
public static IsValidUint16 ( long i ) : bool | ||
i | long | |
return | bool |
public static IsValidUint24 ( long i ) : bool | ||
i | long | |
return | bool |
public static IsValidUint32 ( long i ) : bool | ||
i | long | |
return | bool |
public static IsValidUint48 ( long i ) : bool | ||
i | long | |
return | bool |
public static IsValidUint64 ( long i ) : bool | ||
i | long | |
return | bool |
public static PRF ( TlsContext context, byte secret, string asciiLabel, byte seed, int size ) : byte[] | ||
context | TlsContext | |
secret | byte | |
asciiLabel | string | |
seed | byte | |
size | int | |
return | byte[] |
public static PRF_legacy ( byte secret, string asciiLabel, byte seed, int size ) : byte[] | ||
secret | byte | |
asciiLabel | string | |
seed | byte | |
size | int | |
return | byte[] |
public static ParseSupportedSignatureAlgorithms ( bool allowAnonymous, Stream input ) : IList | ||
allowAnonymous | bool | |
input | Stream | |
return | IList |
public static ReadAllOrNothing ( int length, Stream input ) : byte[] | ||
length | int | |
input | Stream | |
return | byte[] |
public static ReadAsn1Object ( byte encoding ) : Asn1Object | ||
encoding | byte | |
return | Asn1Object |
public static ReadDerObject ( byte encoding ) : Asn1Object | ||
encoding | byte | |
return | Asn1Object |
public static ReadFully ( int length, Stream input ) : byte[] | ||
length | int | |
input | Stream | |
return | byte[] |
public static ReadFully ( byte buf, Stream input ) : void | ||
buf | byte | |
input | Stream | |
return | void |
public static ReadOpaque16 ( Stream input ) : byte[] | ||
input | Stream | |
return | byte[] |
public static ReadOpaque24 ( Stream input ) : byte[] | ||
input | Stream | |
return | byte[] |
public static ReadOpaque8 ( Stream input ) : byte[] | ||
input | Stream | |
return | byte[] |
public static ReadSignatureAlgorithmsExtension ( byte extensionData ) : IList | ||
extensionData | byte | |
return | IList |
public static ReadUint16 ( Stream input ) : int | ||
input | Stream | |
return | int |
public static ReadUint16 ( byte buf, int offset ) : int | ||
buf | byte | |
offset | int | |
return | int |
public static ReadUint16Array ( int count, Stream input ) : int[] | ||
count | int | |
input | Stream | |
return | int[] |
public static ReadUint24 ( Stream input ) : int | ||
input | Stream | |
return | int |
public static ReadUint24 ( byte buf, int offset ) : int | ||
buf | byte | |
offset | int | |
return | int |
public static ReadUint32 ( Stream input ) : long | ||
input | Stream | |
return | long |
public static ReadUint32 ( byte buf, int offset ) : long | ||
buf | byte | |
offset | int | |
return | long |
public static ReadUint48 ( Stream input ) : long | ||
input | Stream | |
return | long |
public static ReadUint48 ( byte buf, int offset ) : long | ||
buf | byte | |
offset | int | |
return | long |
public static ReadUint8 ( Stream input ) : byte | ||
input | Stream | |
return | byte |
public static ReadUint8 ( byte buf, int offset ) : byte | ||
buf | byte | |
offset | int | |
return | byte |
public static ReadUint8Array ( int count, Stream input ) : byte[] | ||
count | int | |
input | Stream | |
return | byte[] |
public static ReadVersion ( Stream input ) : ProtocolVersion | ||
input | Stream | |
return | ProtocolVersion |
public static ReadVersion ( byte buf, int offset ) : ProtocolVersion | ||
buf | byte | |
offset | int | |
return | ProtocolVersion |
public static ReadVersionRaw ( Stream input ) : int | ||
input | Stream | |
return | int |
public static ReadVersionRaw ( byte buf, int offset ) : int | ||
buf | byte | |
offset | int | |
return | int |
public static VerifySupportedSignatureAlgorithm ( IList supportedSignatureAlgorithms, SignatureAndHashAlgorithm signatureAlgorithm ) : void | ||
supportedSignatureAlgorithms | IList | |
signatureAlgorithm | SignatureAndHashAlgorithm | |
return | void |
public static WriteGmtUnixTime ( byte buf, int offset ) : void | ||
buf | byte | |
offset | int | |
return | void |
public static WriteOpaque16 ( byte buf, Stream output ) : void | ||
buf | byte | |
output | Stream | |
return | void |
public static WriteOpaque24 ( byte buf, Stream output ) : void | ||
buf | byte | |
output | Stream | |
return | void |
public static WriteOpaque8 ( byte buf, Stream output ) : void | ||
buf | byte | |
output | Stream | |
return | void |
public static WriteUint16 ( int i, Stream output ) : void | ||
i | int | |
output | Stream | |
return | void |
public static WriteUint16 ( int i, byte buf, int offset ) : void | ||
i | int | |
buf | byte | |
offset | int | |
return | void |
public static WriteUint16Array ( int uints, Stream output ) : void | ||
uints | int | |
output | Stream | |
return | void |
public static WriteUint16Array ( int uints, byte buf, int offset ) : void | ||
uints | int | |
buf | byte | |
offset | int | |
return | void |
public static WriteUint16ArrayWithUint16Length ( int uints, Stream output ) : void | ||
uints | int | |
output | Stream | |
return | void |
public static WriteUint16ArrayWithUint16Length ( int uints, byte buf, int offset ) : void | ||
uints | int | |
buf | byte | |
offset | int | |
return | void |
public static WriteUint24 ( int i, Stream output ) : void | ||
i | int | |
output | Stream | |
return | void |
public static WriteUint24 ( int i, byte buf, int offset ) : void | ||
i | int | |
buf | byte | |
offset | int | |
return | void |
public static WriteUint32 ( long i, Stream output ) : void | ||
i | long | |
output | Stream | |
return | void |
public static WriteUint32 ( long i, byte buf, int offset ) : void | ||
i | long | |
buf | byte | |
offset | int | |
return | void |
public static WriteUint48 ( long i, Stream output ) : void | ||
i | long | |
output | Stream | |
return | void |
public static WriteUint48 ( long i, byte buf, int offset ) : void | ||
i | long | |
buf | byte | |
offset | int | |
return | void |
public static WriteUint64 ( long i, Stream output ) : void | ||
i | long | |
output | Stream | |
return | void |
public static WriteUint64 ( long i, byte buf, int offset ) : void | ||
i | long | |
buf | byte | |
offset | int | |
return | void |
public static WriteUint8 ( byte i, Stream output ) : void | ||
i | byte | |
output | Stream | |
return | void |
public static WriteUint8 ( byte i, byte buf, int offset ) : void | ||
i | byte | |
buf | byte | |
offset | int | |
return | void |
public static WriteUint8Array ( byte uints, Stream output ) : void | ||
uints | byte | |
output | Stream | |
return | void |
public static WriteUint8Array ( byte uints, byte buf, int offset ) : void | ||
uints | byte | |
buf | byte | |
offset | int | |
return | void |
public static WriteUint8ArrayWithUint8Length ( byte uints, Stream output ) : void | ||
uints | byte | |
output | Stream | |
return | void |
public static WriteUint8ArrayWithUint8Length ( byte uints, byte buf, int offset ) : void | ||
uints | byte | |
buf | byte | |
offset | int | |
return | void |
public static WriteVersion ( ProtocolVersion version, Stream output ) : void | ||
version | ProtocolVersion | |
output | Stream | |
return | void |
public static WriteVersion ( ProtocolVersion version, byte buf, int offset ) : void | ||
version | ProtocolVersion | |
buf | byte | |
offset | int | |
return | void |