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

Getter may throw but we cannot annotate due to https://youtrack.jetbrains.com/issue/KT-63047/Throws-annotation-on-getter-leads-to-compile-time-error-for-iOS-target

Link copied to clipboard

Getter may throw but we cannot annotate due to https://youtrack.jetbrains.com/issue/KT-63047/Throws-annotation-on-getter-leads-to-compile-time-error-for-iOS-target

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