MpzPassIsoMdoc
data class MpzPassIsoMdoc(val docType: String, val deviceKeyPrivate: PrivateKey?, val issuerNamespaces: IssuerNamespaces, val issuerAuth: CoseSign1)
Represents the ISO mDoc specific data within an MpzPass container.
Constructors
Link copied to clipboard
constructor(docType: String, deviceKeyPrivate: PrivateKey?, issuerNamespaces: IssuerNamespaces, issuerAuth: CoseSign1)
Properties
Link copied to clipboard
The private key corresponding to the DeviceKey mapped in issuerSigned, or null for a non-key-bound (keyless) mdoc.
Link copied to clipboard
The EC private key corresponding to the DeviceKey, or null if the key is not an EC key or not key-bound.
Link copied to clipboard
The CoseSign1 structure authenticating the issuer namespaces.
Link copied to clipboard
The namespaces containing issuer-signed data items.
Functions
Link copied to clipboard
Serializes this MpzPassIsoMdoc instance into a CBOR map DataItem.