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
)
Public Sub New (
oid As Oid,
parameters As Byte()
)
public:
AlgorithmIdentifier(
Oid^ oid,
array<unsigned char>^ parameters
)
new :
oid : Oid *
parameters : byte[] -> AlgorithmIdentifier
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 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