KeyAttestationInput

data class KeyAttestationInput(val credentialIssuer: String?, val clientNonce: String?, val supportedAlgorithms: Collection<String>?, val preferredKeyStorageStatusPeriod: Duration?, val requirements: KeyAttestationRequired?)(source)

What JwtProofCreator and AttestationProofCreator pass to their loadKeyAttestation, to load a key attestation (OpenID4VCI 1.0, Appendix D) that the credential issuer accepts for the requested credential.

Constructors

Link copied to clipboard
constructor(credentialIssuer: String?, clientNonce: String?, supportedAlgorithms: Collection<String>?, preferredKeyStorageStatusPeriod: Duration?, requirements: KeyAttestationRequired?)

Properties

Link copied to clipboard

The c_nonce of the credential issuer, if it has a Nonce Endpoint, which has to be the nonce of the key attestation then (Appendix F.1 and F.3).

Link copied to clipboard

The Credential Issuer Identifier the proof is created for.

Link copied to clipboard

The preferred validity of the key storage status, see KeyAttestationRequired.preferredTtl.

Link copied to clipboard

The key_attestations_required of the proof type (12.2.4), i.e. the key_storage and user_authentication values (Appendix D.2) the credential issuer accepts, null if it states none for this proof type.

Link copied to clipboard

The proof_signing_alg_values_supported of the proof type (12.2.4).