Click or drag to resize

AlgorithmIdentifier Constructor (Oid, Byte)

Initializes a new instance of the AlgorithmIdentifier class from an algorithm object identifier and, optionally, algorithm parameters.

Namespace:  SysadminsLV.PKI.Cryptography
Assembly:  SysadminsLV.PKI (in SysadminsLV.PKI.dll) Version: 3.7.0.0 (3.7.0.0)
Syntax
public AlgorithmIdentifier(
	Oid oid,
	byte[] parameters
)

Parameters

oid
Type: System.Security.CryptographyOid
Algorithm object identifier.
parameters
Type: SystemByte
A ASN.1-encoded byte array that represents algorithm parameters. This parameter can be NULL.
Exceptions
ExceptionCondition
ArgumentNullExceptionoid parameter is null.
Remarks
For signature algorithm identifiers you often add explicit parameters. If there are no explicit parameters (such as when RSA-based signature is used) you should pass empty array in parameters parameter. When explicit parameters are not used (such as when hashing or other algorithm group), you must pass null value to parameters parameter.
See Also