MdocCredential
An mdoc credential, according to ISO/IEC 18013-5:2021.
In this type, the key in SecureAreaBoundCredential plays the role of DeviceKey
and the issuer-signed data includes the Mobile Security Object
which includes the authentication key and is signed by the issuer. This is used for anti-cloning and to return data signed by the device.
The issuerProvidedData for a MdocCredential must be the bytes of IssuerSigned
according to ISO/IEC 18013-5:2021:
IssuerSigned = {
? "nameSpaces" : IssuerNameSpaces,
"issuerAuth" : IssuerAuth
}
Properties
Identifies credential type.
The docType of the credential as defined in ISO/IEC 18013-5:2021.
Indicates whether the credential has been certified yet.
The issuer-provided data associated with the credential.
The secure area for the authentication key associated with this credential.
How many times the credential has been used in an identity presentation.
The point in time the issuer-provided data is valid until.
Functions
Method which can be overridden by Credential subclasses to add any additional information when serializing a credential.
Initialize this object using serialized data.
The attestation for the SecureArea key associated with this credential.
Gets the claims in the credential.
Increases usage count of the credential.
Indicates whether the credential has been invalidated.