Click or drag to resize

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.
Inheritance Hierarchy
SystemObject
  SysadminsLV.PKI.CryptographyAlgorithmIdentifier

Namespace:  SysadminsLV.PKI.Cryptography
Assembly:  PKI.Core (in PKI.Core.dll) Version: 3.3.0.0 (3.3.0.0)
Syntax
public class AlgorithmIdentifier

The AlgorithmIdentifier type exposes the following members.

Constructors
  NameDescription
Public methodAlgorithmIdentifier(Byte)
Initializes a new instance of the AlgorithmIdentifier class from a ASN.1-encoded byte array that represents an AlgorithmIdentifier structure.
Public methodAlgorithmIdentifier(Oid)
Initializes a new instance of the AlgorithmIdentifier class from an algorithm object identifier without parameters.
Public methodAlgorithmIdentifier(Oid, Byte)
Initializes a new instance of the AlgorithmIdentifier class from an algorithm object identifier and, optionally, algorithm parameters.
Top
Properties
  NameDescription
Public propertyAlgorithmId
Gets an object identifier of an algorithm.
Public propertyParameters
Gets a byte array that provides encoded algorithm-specific parameters. In many cases, there are no parameters.
Public propertyRawData
Gets algorithm identifier ASN.1-encoded byte array.
Top
Methods
  NameDescription
Public methodEquals (Inherited from Object.)
Protected methodFinalize (Inherited from Object.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Protected methodMemberwiseClone (Inherited from Object.)
Public methodToString
Formats a current object to string.
(Overrides ObjectToString.)
Top
Remarks
This class supports PKCS#2.1 signature format.
See Also