X509AlgorithmIdentifier

As per RFC5280:

AlgorithmIdentifier ::= SEQUENCE {
algorithm OBJECT IDENTIFIER,
parameters ANY DEFINED BY algorithm OPTIONAL
}

As a transparent WrappedElement, an identifier can be added directly to an ASN.1 builder with unary +.

See also

Constructors

Link copied to clipboard
constructor(element: Asn1Sequence)
constructor(oid: ObjectIdentifier, parameters: Asn1Element?)

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

constructor(oid: ObjectIdentifier, parameters: WrappedElement<out Asn1Element>?)
constructor(oid: ObjectIdentifier, parameters: List<Asn1Element>)

Properties

Link copied to clipboard
open override val element: Asn1Sequence
Link copied to clipboard
open override val oid: ObjectIdentifier

From Swift/Objective-C use the throwing oid() accessor (exported as a static oid(_:), since value classes are not bridged as Objective-C types).

Link copied to clipboard

From Swift/Objective-C use the throwing parameters() accessor (exported as a static parameters(_:), since value classes are not bridged as Objective-C types).

Functions

Link copied to clipboard
open override fun toString(): String