Свойство | Тип | Описание | |
---|---|---|---|
Algorithms | CryptoAlgorithm[] |
Метод | Описание | |
---|---|---|
Add ( |
Add a cryptographic algorithm provider to the catalog
|
|
CryptoCatalog ( ) : System |
Create and populate a new catalog of cryptographic algorithms including the default providers for all the standard algorithms.
|
|
Get ( CryptoAlgorithmID ID ) : CryptoProvider |
Get a cryptographic provider by algorithm identifier
|
|
Get ( CryptoAlgorithmID ID, CryptoAlgorithmID Bulk ) : CryptoProvider |
Get a cryptographic provider by algorithm identifier
|
|
GetAsymmetric ( CryptoAlgorithmID ID ) : CryptoProviderAsymmetric |
Get a cryptographic provider by algorithm identifier
|
|
GetAuthentication ( CryptoAlgorithmID ID ) : CryptoProviderAuthentication |
Get a cryptographic provider by algorithm identifier
|
|
GetBits ( int Bits ) : byte[] |
Returns a byte array with the specified number of random bits.
|
|
GetBytes ( int Bytes ) : byte[] |
Returns a byte array with the specified number of random bytes.
|
|
GetDigest ( CryptoAlgorithmID ID ) : CryptoProviderDigest |
Get a cryptographic provider by algorithm identifier
|
|
GetEncryption ( CryptoAlgorithmID ID ) : CryptoProviderEncryption |
Get a cryptographic provider by algorithm identifier
|
|
GetExchange ( CryptoAlgorithmID ID ) : CryptoProviderExchange |
Get a cryptographic provider by algorithm identifier
|
|
GetExchange ( CryptoAlgorithmID Signature, CryptoAlgorithmID Digest ) : CryptoProviderExchange |
Get a signature provider by algorithm identifier
|
|
GetExchange ( string UDF ) : CryptoProviderExchange |
Get an exchange provider by key fingerprint.
|
|
GetSignature ( CryptoAlgorithmID ID ) : CryptoProviderSignature |
Get a cryptographic provider by algorithm identifier
|
|
GetSignature ( CryptoAlgorithmID Signature, CryptoAlgorithmID Digest ) : CryptoProviderSignature |
Get a signature provider by algorithm identifier
|
|
GetSignature ( string UDF ) : CryptoProviderSignature |
Get a signature provider by key fingerprint.
|
Метод | Описание | |
---|---|---|
OrDefault ( CryptoAlgorithmID Value, CryptoAlgorithmID Default ) : CryptoAlgorithmID | ||
SetDefault ( CryptoAlgorithmID &Current, CryptoAlgorithm New, CryptoAlgorithmID ID, CryptoAlgorithmClass Class ) : void |
public Add ( |
||
CryptoProvider | ||
Результат | void |
public Get ( CryptoAlgorithmID ID ) : CryptoProvider | ||
ID | CryptoAlgorithmID | Principal algorithm identifier. |
Результат | CryptoProvider |
public Get ( CryptoAlgorithmID ID, CryptoAlgorithmID Bulk ) : CryptoProvider | ||
ID | CryptoAlgorithmID | Principal algorithm identifier. |
Bulk | CryptoAlgorithmID | Bulk algorithm identifier. |
Результат | CryptoProvider |
public GetAsymmetric ( CryptoAlgorithmID ID ) : CryptoProviderAsymmetric | ||
ID | CryptoAlgorithmID | Algorithm identifier |
Результат | CryptoProviderAsymmetric |
public GetAuthentication ( CryptoAlgorithmID ID ) : CryptoProviderAuthentication | ||
ID | CryptoAlgorithmID | Algorithm identifier |
Результат | CryptoProviderAuthentication |
public static GetBits ( int Bits ) : byte[] | ||
Bits | int | Number of bits |
Результат | byte[] |
public static GetBytes ( int Bytes ) : byte[] | ||
Bytes | int | Number of bytes |
Результат | byte[] |
public GetDigest ( CryptoAlgorithmID ID ) : CryptoProviderDigest | ||
ID | CryptoAlgorithmID | Algorithm identifier |
Результат | CryptoProviderDigest |
public GetEncryption ( CryptoAlgorithmID ID ) : CryptoProviderEncryption | ||
ID | CryptoAlgorithmID | Algorithm identifier |
Результат | CryptoProviderEncryption |
public GetExchange ( CryptoAlgorithmID ID ) : CryptoProviderExchange | ||
ID | CryptoAlgorithmID | Algorithm identifier |
Результат | CryptoProviderExchange |
public GetExchange ( CryptoAlgorithmID Signature, CryptoAlgorithmID Digest ) : CryptoProviderExchange | ||
Signature | CryptoAlgorithmID | Signature algorithm identifier. |
Digest | CryptoAlgorithmID | Digest algorithm identifer. |
Результат | CryptoProviderExchange |
public GetExchange ( string UDF ) : CryptoProviderExchange | ||
UDF | string | Fingerprint of key |
Результат | CryptoProviderExchange |
public GetSignature ( CryptoAlgorithmID ID ) : CryptoProviderSignature | ||
ID | CryptoAlgorithmID | Algorithm identifier |
Результат | CryptoProviderSignature |
public GetSignature ( CryptoAlgorithmID Signature, CryptoAlgorithmID Digest ) : CryptoProviderSignature | ||
Signature | CryptoAlgorithmID | Signature algorithm identifier. |
Digest | CryptoAlgorithmID | Digest algorithm identifer. |
Результат | CryptoProviderSignature |
public GetSignature ( string UDF ) : CryptoProviderSignature | ||
UDF | string | Fingerprint of key |
Результат | CryptoProviderSignature |