MobileSecurityObject
data class MobileSecurityObject(val version: String, val docType: String, val signedAt: Instant, val validFrom: Instant, val validUntil: Instant, val expectedUpdate: Instant?, val digestAlgorithm: Algorithm, val valueDigests: Map<String, Map<Long, ByteString>>, val deviceKey: EcPublicKey, val deviceKeyAuthorizedNamespaces: List<String> = emptyList(), val deviceKeyAuthorizedDataElements: Map<String, List<String>> = emptyMap(), val deviceKeyInfo: Map<Long, DataItem> = emptyMap(), val revocationStatus: RevocationStatus? = null)
Mobile Security Object according to ISO/IEC 18013-5.
Constructors
Link copied to clipboard
constructor(version: String, docType: String, signedAt: Instant, validFrom: Instant, validUntil: Instant, expectedUpdate: Instant?, digestAlgorithm: Algorithm, valueDigests: Map<String, Map<Long, ByteString>>, deviceKey: EcPublicKey, deviceKeyAuthorizedNamespaces: List<String> = emptyList(), deviceKeyAuthorizedDataElements: Map<String, List<String>> = emptyMap(), deviceKeyInfo: Map<Long, DataItem> = emptyMap(), revocationStatus: RevocationStatus? = null)
Properties
Link copied to clipboard
the public part of the key the MSO is bound to.
Link copied to clipboard
data elements for which the mdoc is authorized to return data elements for.
Link copied to clipboard
namespaces the mdoc is authorized to returned device signed data elements for.
Link copied to clipboard
additional information about the device key.
Link copied to clipboard
the digest algorithm used for the value digests.
Link copied to clipboard
the point in time the MSO is expected to be updated, if available.
Link copied to clipboard
defines how to check if this document is revoked.
Link copied to clipboard
the point in time the MSO is valid until.
Link copied to clipboard
the value digests, use org.multipaz.mdoc.issuersigned.IssuerNamespaces.getValueDigests to set.