X509AlgorithmIdentifier

constructor(element: Asn1Sequence)(source)


constructor(oid: ObjectIdentifier, parameters: List<Asn1Element>)(source)

Convenience constructor for creating an instance of X509AlgorithmIdentifier using an ObjectIdentifier and a list of Asn1Element parameters.

The passed parameters are unrolled, making construction of the algorithm identifier object work as follows:

Asn1.Sequence {
+oid
parameters.forEach { +it }
}

Parameters

oid

The object identifier representing the algorithm.

parameters

A list of ASN.1 elements representing the algorithm parameters.