X509AlgorithmIdentifier

@Serializable
value class X509AlgorithmIdentifier(val element: Asn1Sequence) : Identifiable(source)

As per RFC5280:

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

Constructors

Link copied to clipboard
constructor(element: Asn1Sequence)
constructor(oid: ObjectIdentifier, parameters: List<Asn1Element>)

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

Properties

Link copied to clipboard
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).

Link copied to clipboard

Parses parameters as RSASSA-PSS parameters if this identifier uses the id-RSASSA-PSS OID.

Functions

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