프로퍼티 | 타입 | 설명 | |
---|---|---|---|
EmptyBytes | byte[] | ||
EmptyInts | int[] | ||
EmptyLongs | long[] | ||
EmptyShorts | short[] |
메소드 | 설명 | |
---|---|---|
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 |
메소드 | 설명 | |
---|---|---|
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 | |
리턴 | void |
public static CloneHash ( byte hashAlgorithm, IDigest hash ) : IDigest | ||
hashAlgorithm | byte | |
hash | IDigest | |
리턴 | IDigest |
public static ClonePrfHash ( int prfAlgorithm, IDigest hash ) : IDigest | ||
prfAlgorithm | int | |
hash | IDigest | |
리턴 | IDigest |
public static CreateHash ( Org.BouncyCastle.Crypto.Tls.SignatureAndHashAlgorithm signatureAndHashAlgorithm ) : IDigest | ||
signatureAndHashAlgorithm | Org.BouncyCastle.Crypto.Tls.SignatureAndHashAlgorithm | |
리턴 | IDigest |
public static CreateHash ( byte hashAlgorithm ) : IDigest | ||
hashAlgorithm | byte | |
리턴 | IDigest |
public static CreatePrfHash ( int prfAlgorithm ) : IDigest | ||
prfAlgorithm | int | |
리턴 | IDigest |
public static CreateSignatureAlgorithmsExtension ( IList supportedSignatureAlgorithms ) : byte[] | ||
supportedSignatureAlgorithms | IList | |
리턴 | byte[] |
public static CreateTlsSigner ( byte clientCertificateType ) : TlsSigner | ||
clientCertificateType | byte | |
리턴 | TlsSigner |
public static EncodeSupportedSignatureAlgorithms ( IList supportedSignatureAlgorithms, bool allowAnonymous, Stream output ) : void | ||
supportedSignatureAlgorithms | IList | |
allowAnonymous | bool | |
output | Stream | |
리턴 | void |
public static EncodeUint16ArrayWithUint16Length ( int uints ) : byte[] | ||
uints | int | |
리턴 | byte[] |
public static EncodeUint8ArrayWithUint8Length ( byte uints ) : byte[] | ||
uints | byte | |
리턴 | byte[] |
public static GetCipherType ( int ciphersuite ) : int | ||
ciphersuite | int | |
리턴 | int |
public static GetDefaultDssSignatureAlgorithms ( ) : IList | ||
리턴 | IList |
public static GetDefaultECDsaSignatureAlgorithms ( ) : IList | ||
리턴 | IList |
public static GetDefaultRsaSignatureAlgorithms ( ) : IList | ||
리턴 | IList |
public static GetDefaultSupportedSignatureAlgorithms ( ) : IList | ||
리턴 | IList |
public static GetEncryptionAlgorithm ( int ciphersuite ) : int | ||
ciphersuite | int | |
리턴 | int |
public static GetExtensionData ( IDictionary extensions, int extensionType ) : byte[] | ||
extensions | IDictionary | |
extensionType | int | |
리턴 | byte[] |
public static GetHashAlgorithmForPrfAlgorithm ( int prfAlgorithm ) : byte | ||
prfAlgorithm | int | |
리턴 | byte |
public static GetKeyExchangeAlgorithm ( int ciphersuite ) : int | ||
ciphersuite | int | |
리턴 | int |
public static GetMacAlgorithm ( int ciphersuite ) : int | ||
ciphersuite | int | |
리턴 | int |
public static GetMinimumVersion ( int ciphersuite ) : Org.BouncyCastle.Crypto.Tls.ProtocolVersion | ||
ciphersuite | int | |
리턴 | Org.BouncyCastle.Crypto.Tls.ProtocolVersion |
public static GetOidForHashAlgorithm ( byte hashAlgorithm ) : |
||
hashAlgorithm | byte | |
리턴 |
public static GetSignatureAlgorithmsExtension ( IDictionary extensions ) : IList | ||
extensions | IDictionary | |
리턴 | IList |
public static GetSignatureAndHashAlgorithm ( TlsContext context, TlsSignerCredentials signerCredentials ) : Org.BouncyCastle.Crypto.Tls.SignatureAndHashAlgorithm | ||
context | TlsContext | |
signerCredentials | TlsSignerCredentials | |
리턴 | Org.BouncyCastle.Crypto.Tls.SignatureAndHashAlgorithm |
public static HasExpectedEmptyExtensionData ( IDictionary extensions, int extensionType, byte alertDescription ) : bool | ||
extensions | IDictionary | |
extensionType | int | |
alertDescription | byte | |
리턴 | bool |
public static HasSigningCapability ( byte clientCertificateType ) : bool | ||
clientCertificateType | byte | |
리턴 | bool |
public static ImportSession ( byte sessionID, Org.BouncyCastle.Crypto.Tls.SessionParameters sessionParameters ) : TlsSession | ||
sessionID | byte | |
sessionParameters | Org.BouncyCastle.Crypto.Tls.SessionParameters | |
리턴 | TlsSession |
public static IsAeadCipherSuite ( int ciphersuite ) : bool | ||
ciphersuite | int | |
리턴 | bool |
public static IsBlockCipherSuite ( int ciphersuite ) : bool | ||
ciphersuite | int | |
리턴 | bool |
public static IsSignatureAlgorithmsExtensionAllowed ( Org.BouncyCastle.Crypto.Tls.ProtocolVersion clientVersion ) : bool | ||
clientVersion | Org.BouncyCastle.Crypto.Tls.ProtocolVersion | |
리턴 | bool |
public static IsStreamCipherSuite ( int ciphersuite ) : bool | ||
ciphersuite | int | |
리턴 | bool |
public static IsTlsV11 ( Org.BouncyCastle.Crypto.Tls.ProtocolVersion version ) : bool | ||
version | Org.BouncyCastle.Crypto.Tls.ProtocolVersion | |
리턴 | bool |
public static IsTlsV11 ( TlsContext context ) : bool | ||
context | TlsContext | |
리턴 | bool |
public static IsTlsV12 ( Org.BouncyCastle.Crypto.Tls.ProtocolVersion version ) : bool | ||
version | Org.BouncyCastle.Crypto.Tls.ProtocolVersion | |
리턴 | bool |
public static IsTlsV12 ( TlsContext context ) : bool | ||
context | TlsContext | |
리턴 | bool |
public static IsValidCipherSuiteForVersion ( int cipherSuite, ProtocolVersion serverVersion ) : bool | ||
cipherSuite | int | |
serverVersion | ProtocolVersion | |
리턴 | 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 | |
리턴 | byte[] |
public static PRF_legacy ( byte secret, string asciiLabel, byte seed, int size ) : byte[] | ||
secret | byte | |
asciiLabel | string | |
seed | byte | |
size | int | |
리턴 | byte[] |
public static ParseSupportedSignatureAlgorithms ( bool allowAnonymous, Stream input ) : IList | ||
allowAnonymous | bool | |
input | Stream | |
리턴 | IList |
public static ReadAllOrNothing ( int length, Stream input ) : byte[] | ||
length | int | |
input | Stream | |
리턴 | byte[] |
public static ReadAsn1Object ( byte encoding ) : Asn1Object | ||
encoding | byte | |
리턴 | Asn1Object |
public static ReadDerObject ( byte encoding ) : Asn1Object | ||
encoding | byte | |
리턴 | Asn1Object |
public static ReadFully ( int length, Stream input ) : byte[] | ||
length | int | |
input | Stream | |
리턴 | byte[] |
public static ReadFully ( byte buf, Stream input ) : void | ||
buf | byte | |
input | Stream | |
리턴 | void |
public static ReadOpaque16 ( Stream input ) : byte[] | ||
input | Stream | |
리턴 | byte[] |
public static ReadOpaque24 ( Stream input ) : byte[] | ||
input | Stream | |
리턴 | byte[] |
public static ReadSignatureAlgorithmsExtension ( byte extensionData ) : IList | ||
extensionData | byte | |
리턴 | IList |
public static ReadUint16 ( byte buf, int offset ) : int | ||
buf | byte | |
offset | int | |
리턴 | int |
public static ReadUint16Array ( int count, Stream input ) : int[] | ||
count | int | |
input | Stream | |
리턴 | int[] |
public static ReadUint24 ( byte buf, int offset ) : int | ||
buf | byte | |
offset | int | |
리턴 | int |
public static ReadUint32 ( byte buf, int offset ) : long | ||
buf | byte | |
offset | int | |
리턴 | long |
public static ReadUint48 ( byte buf, int offset ) : long | ||
buf | byte | |
offset | int | |
리턴 | long |
public static ReadUint8 ( byte buf, int offset ) : byte | ||
buf | byte | |
offset | int | |
리턴 | byte |
public static ReadUint8Array ( int count, Stream input ) : byte[] | ||
count | int | |
input | Stream | |
리턴 | byte[] |
public static ReadVersion ( Stream input ) : ProtocolVersion | ||
input | Stream | |
리턴 | ProtocolVersion |
public static ReadVersion ( byte buf, int offset ) : ProtocolVersion | ||
buf | byte | |
offset | int | |
리턴 | ProtocolVersion |
public static ReadVersionRaw ( byte buf, int offset ) : int | ||
buf | byte | |
offset | int | |
리턴 | int |
public static VerifySupportedSignatureAlgorithm ( IList supportedSignatureAlgorithms, SignatureAndHashAlgorithm signatureAlgorithm ) : void | ||
supportedSignatureAlgorithms | IList | |
signatureAlgorithm | SignatureAndHashAlgorithm | |
리턴 | void |
public static WriteGmtUnixTime ( byte buf, int offset ) : void | ||
buf | byte | |
offset | int | |
리턴 | void |
public static WriteOpaque16 ( byte buf, Stream output ) : void | ||
buf | byte | |
output | Stream | |
리턴 | void |
public static WriteOpaque24 ( byte buf, Stream output ) : void | ||
buf | byte | |
output | Stream | |
리턴 | void |
public static WriteOpaque8 ( byte buf, Stream output ) : void | ||
buf | byte | |
output | Stream | |
리턴 | void |
public static WriteUint16 ( int i, Stream output ) : void | ||
i | int | |
output | Stream | |
리턴 | void |
public static WriteUint16 ( int i, byte buf, int offset ) : void | ||
i | int | |
buf | byte | |
offset | int | |
리턴 | void |
public static WriteUint16Array ( int uints, Stream output ) : void | ||
uints | int | |
output | Stream | |
리턴 | void |
public static WriteUint16Array ( int uints, byte buf, int offset ) : void | ||
uints | int | |
buf | byte | |
offset | int | |
리턴 | void |
public static WriteUint16ArrayWithUint16Length ( int uints, Stream output ) : void | ||
uints | int | |
output | Stream | |
리턴 | void |
public static WriteUint16ArrayWithUint16Length ( int uints, byte buf, int offset ) : void | ||
uints | int | |
buf | byte | |
offset | int | |
리턴 | void |
public static WriteUint24 ( int i, Stream output ) : void | ||
i | int | |
output | Stream | |
리턴 | void |
public static WriteUint24 ( int i, byte buf, int offset ) : void | ||
i | int | |
buf | byte | |
offset | int | |
리턴 | void |
public static WriteUint32 ( long i, Stream output ) : void | ||
i | long | |
output | Stream | |
리턴 | void |
public static WriteUint32 ( long i, byte buf, int offset ) : void | ||
i | long | |
buf | byte | |
offset | int | |
리턴 | void |
public static WriteUint48 ( long i, Stream output ) : void | ||
i | long | |
output | Stream | |
리턴 | void |
public static WriteUint48 ( long i, byte buf, int offset ) : void | ||
i | long | |
buf | byte | |
offset | int | |
리턴 | void |
public static WriteUint64 ( long i, Stream output ) : void | ||
i | long | |
output | Stream | |
리턴 | void |
public static WriteUint64 ( long i, byte buf, int offset ) : void | ||
i | long | |
buf | byte | |
offset | int | |
리턴 | void |
public static WriteUint8 ( byte i, Stream output ) : void | ||
i | byte | |
output | Stream | |
리턴 | void |
public static WriteUint8 ( byte i, byte buf, int offset ) : void | ||
i | byte | |
buf | byte | |
offset | int | |
리턴 | void |
public static WriteUint8Array ( byte uints, Stream output ) : void | ||
uints | byte | |
output | Stream | |
리턴 | void |
public static WriteUint8Array ( byte uints, byte buf, int offset ) : void | ||
uints | byte | |
buf | byte | |
offset | int | |
리턴 | void |
public static WriteUint8ArrayWithUint8Length ( byte uints, Stream output ) : void | ||
uints | byte | |
output | Stream | |
리턴 | void |
public static WriteUint8ArrayWithUint8Length ( byte uints, byte buf, int offset ) : void | ||
uints | byte | |
buf | byte | |
offset | int | |
리턴 | void |
public static WriteVersion ( ProtocolVersion version, Stream output ) : void | ||
version | ProtocolVersion | |
output | Stream | |
리턴 | void |
public static WriteVersion ( ProtocolVersion version, byte buf, int offset ) : void | ||
version | ProtocolVersion | |
buf | byte | |
offset | int | |
리턴 | void |