CredentialCreationRequest

@Serializable
data class CredentialCreationRequest(val certificatePolicy: ObjectIdentifier? = null, val subjectData: JsonObject? = null)(source)

CSC Data Model 1.0.0 section 9.1.

Constructors

Link copied to clipboard
constructor(certificatePolicy: ObjectIdentifier? = null, subjectData: JsonObject? = null)

Properties

Link copied to clipboard
@SerialName(value = "certificatePolicy")
@Serializable(with = ObjectIdentifierStringSerializer::class)
val certificatePolicy: ObjectIdentifier?

CSC Data Model 1.0.0 section 9.1: CONDITIONAL Required when creating a credential under a specified certificate policy.

Link copied to clipboard
@SerialName(value = "subjectData")
val subjectData: JsonObject?

CSC Data Model 1.0.0 section 9.1: OPTIONAL Subject attributes for the new credential.