The CryptoHelper type exposes the following members.

Methods

  NameDescription
Public methodStatic memberCreateRandomNumberGenerator
Creates an instance of default random number generator.
Public methodStatic memberDecodeSignature
Decodes a signature from a PKCS #7 form.
Public methodStatic memberEncodeSignature
Encodes a signature to a PKCS #7 form.
Public methodStatic memberEncodeString
Encodes string as ASN.1 value (IA5String or UTF8String).
Public methodStatic memberGetOption
Public methodStatic memberGetRandomBytes(array<Byte>[]()[][])
Fills specified array of bytes with a cryptographically strong random sequence of values.
Public methodStatic memberGetRandomBytes(Int32)
Returns an array of bytes with a cryptographically strong random sequence of values.
Public methodStatic memberSetOption

Properties

  NameDescription
Public propertyStatic memberForceManagedAes
Public propertyStatic memberUseFipsAlgorithmsOnly
Enables or disables an option that specifies whether only FIPS 140-2 compliant cryptographic algorithm providers are to be used.

See Also