KeyParameters

@Serializable
data class KeyParameters(    val status: KeyParameters.KeyStatusOptions,     val algo: Set<ObjectIdentifier>,     val len: UInt,     val curve: ObjectIdentifier? = null)(source)

CSC-API v2.0.0.2 Part of CredentialInfo

Constructors

Link copied to clipboard
constructor(status: KeyParameters.KeyStatusOptions, algo: Set<ObjectIdentifier>, len: UInt, curve: ObjectIdentifier? = null)

Types

Properties

Link copied to clipboard
@SerialName(value = "algo")
val algo: Set<ObjectIdentifier>

REQUIRED. The list of OIDs of the supported key algorithms

Link copied to clipboard
@SerialName(value = "curve")
val curve: ObjectIdentifier? = null

REQUIRED-CONDITIONAL The OID of the ECDSA curve. The value SHALL only be returned if algo is based on ECDSA.

Link copied to clipboard
@SerialName(value = "len")
val len: UInt

REQUIRED. The length of the cryptographic key in bits.

Link copied to clipboard
@SerialName(value = "status")
val status: KeyParameters.KeyStatusOptions

REQUIRED. The status of the signing key of the credential: