ActivityLogCredentialEvent

@Serializable
data class ActivityLogCredentialEvent(val id: String, val eventType: CredentialEventType, val credentialId: String, val docType: String, val trustedIssuerCertificateId: String, val trustedIssuerCommonName: String, val branding: Branding?) : ActivityLogEvent

Represents a credential event in the activity log.

A credential event is recorded whenever an mDoc is added to or removed from storage.

Constructors

Link copied to clipboard
constructor(id: String, eventType: CredentialEventType, credentialId: String, docType: String, trustedIssuerCertificateId: String, trustedIssuerCommonName: String, branding: Branding?)

Properties

Link copied to clipboard

Optional branding information for the mDoc.

Link copied to clipboard
val credentialId: String

Unique identifier for the MobileCredential, used to reference a credential in storage.

Link copied to clipboard
val docType: String

The credential's document type (e.g., org.iso.18013.5.*.mDL, org.iso.23220.photoid.1).

Link copied to clipboard

The type of credential event.

Link copied to clipboard
open override val id: String

The unique identifier of the credential event.

Link copied to clipboard

The unique identifier of the certificate used to validate the identity of the mDoc issuer.

Link copied to clipboard

The common name of the trusted issuer certificate.