AlgorithmIdentifier(Oid, Byte) Constructor
Initializes a new instance of the AlgorithmIdentifier class from an algorithm
object identifier and, optionally, algorithm parameters.
Namespace: SysadminsLV.PKI.CryptographyAssembly: SysadminsLV.PKI (in SysadminsLV.PKI.dll) Version: 4.0.1
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 Oid
- Algorithm object identifier.
- parameters Byte
-
A ASN.1-encoded byte array that represents algorithm parameters.
This parameter can be NULL.
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.