The CryptoHelper type exposes the following members.
Methods
Name | Description | |
---|---|---|
CreateRandomNumberGenerator |
Creates an instance of default random number generator.
| |
DecodeSignature |
Decodes a signature from a PKCS #7 form.
| |
EncodeSignature |
Encodes a signature to a PKCS #7 form.
| |
EncodeString |
Encodes string as ASN.1 value (IA5String or UTF8String).
| |
GetOption | ||
GetRandomBytes(array<Byte>[]()[][]) |
Fills specified array of bytes with a cryptographically strong random sequence of values.
| |
GetRandomBytes(Int32) |
Returns an array of bytes with a cryptographically strong random sequence of values.
| |
SetOption |
Properties
Name | Description | |
---|---|---|
ForceManagedAes | ||
UseFipsAlgorithmsOnly |
Enables or disables an option that specifies whether only FIPS 140-2 compliant cryptographic algorithm providers are to be used.
|