AlgorithmIdentifier Class

Specifies an algorithm used to encrypt or sign data. This class includes the object identifier (OID) of the algorithm and any needed parameters for that algorithm.

Definition

Namespace: SysadminsLV.PKI.Cryptography
Assembly: SysadminsLV.PKI (in SysadminsLV.PKI.dll) Version: 4.0.1
C#
public class AlgorithmIdentifier
Inheritance
Object    AlgorithmIdentifier

Remarks

This class supports PKCS#2.1 signature format.

Constructors

AlgorithmIdentifier(Byte) Initializes a new instance of the AlgorithmIdentifier class from a ASN.1-encoded byte array that represents an AlgorithmIdentifier structure.
AlgorithmIdentifier(Oid, Byte) Initializes a new instance of the AlgorithmIdentifier class from an algorithm object identifier and, optionally, algorithm parameters.

Properties

AlgorithmId Gets an object identifier of an algorithm.
Parameters Gets a byte array that provides encoded algorithm-specific parameters. In many cases, there are no parameters.
RawData Gets algorithm identifier ASN.1-encoded byte array.

Methods

Equals
(Inherited from Object)
Finalize
(Inherited from Object)
GetHashCode
(Inherited from Object)
GetType
(Inherited from Object)
MemberwiseClone
(Inherited from Object)
ToString Formats a current object to string.
(Overrides ObjectToString)

See Also