X509AlgorithmIdentifier
Convenience constructor for creating an instance of X509AlgorithmIdentifier using an ObjectIdentifier and a list of Asn1Element parameters.
Note that passing null as parameters is different from passing Asn1Null as parameters. Passing null omits the second member from the sequence entirely. (e.g., ECDSA) Passing Asn1Null encodes ASN.1 NULL as the second member of the sequence. (e.g., RSA/PKCS1)
Parameters
oid
The object identifier representing the algorithm.
parameters
The algorithm parameters element, if any.
Deprecated
parameters can only have 0 or 1 elements, use nullable ctor
Replace with
X509AlgorithmIdentifier(oid, parameters.singleOrNull())Content copied to clipboard