CredentialRequestProof

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

Constructors

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

Properties

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

OID4VCI: A JWT (RFC7519) is used as proof of possession. When proofType is set to attestation, the object MUST also contain an attestation parameter that includes a JWT as defined in Section 8.2.1.3. See attestationParsed.

Link copied to clipboard
val attestationParsed: JwsSigned<KeyAttestationJwt>?
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 8.2.1.1. See jwtParsed.

Link copied to clipboard
val jwtParsed: JwsSigned<JsonWebToken>?
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.