CredentialRequestProof

@Serializable
data class CredentialRequestProof(val proofType: OpenIdConstants.ProofType, val jwt: String? = null, val cwt: String? = null)(source)

Constructors

Link copied to clipboard
constructor(proofType: OpenIdConstants.ProofType, jwt: String? = null, cwt: String? = null)

Properties

Link copied to clipboard
@SerialName(value = "cwt")
val cwt: String? = null

OID4VCI: A CWT (RFC8392) is used as proof of possession. When proofType is cwt, a proof object MUST include a cwt claim containing a CWT defined in Section 7.2.1.3.

Link copied to clipboard
@SerialName(value = "jwt")
val jwt: String? = null

OID4VCI: A JWT (RFC7519) is used as proof of possession. When proofType is jwt, a proof object MUST include a jwt claim containing a JWT defined in Section 7.2.1.1.

Link copied to clipboard
@SerialName(value = "proof_type")
val proofType: OpenIdConstants.ProofType

OID4VCI: e.g. jwt, or ldp_vp. See at.asitplus.openid.OpenIdConstants.ProofType.