IdentifierListInfo

@Serializable
@SerialName(value = "identifier_list")
data class IdentifierListInfo(val identifier: ByteArray, val uri: UniformResourceIdentifier, val certificate: ByteArray? = null) : RevocationListInfo(source)

Constructors

Link copied to clipboard
constructor(identifier: ByteArray, uri: UniformResourceIdentifier, certificate: ByteArray? = null)

Properties

Link copied to clipboard
@SerialName(value = "certificate")
open override val certificate: ByteArray?

The identifier_list and status_list in the MSO may contain the Certificate element. If the Certificate element is present, it shall contain a certificate containing the public key that signed the top-level certificate in the x5chain element in the MSO revocation list structure. The mdoc reader shall use that certificate as trust point for verification of the x5chain element in the MSO revocation list structure. If the Certificate element is not present, the top-level certificate in the x5chain element shall be signed by the certificate used to sign the certificate in the x5chain element of the MSO. In the context of an mDL, that is the IACA certificate.

Link copied to clipboard
@SerialName(value = "id")
val identifier: ByteArray
Link copied to clipboard
@SerialName(value = "uri")
open override val uri: UniformResourceIdentifier

Functions

Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int