DigitalId

public struct DigitalId

Represents a Digital ID card

  • The programmatic ID of the Mobile Credential to which this Digital ID belongs

    Declaration

    Swift

    public let credentialId: String
  • id

    The programmatic ID of this Digital ID

    Declaration

    Swift

    public let id: Data
  • Friendly name

    Declaration

    Swift

    public let name: String?
  • Time from which the Digital ID will be considered active. Nil means active from the beginning of time

    Declaration

    Swift

    public let activationTime: Date?
  • Time after which the Digital ID will be considered expired. Nil means never expires

    Declaration

    Swift

    public let expiryTime: Date?
  • A friendly description of the Digital ID’s current status (e.g. “Expired”)

    Declaration

    Swift

    public let statusValue: String
  • A stable, programmatic description of the Digital ID’s current status (e.g. “expired”)

    Declaration

    Swift

    public let statusType: DigitalIdStatusType
  • The binary data for the front side of the Digital ID card.

    Declaration

    Swift

    public let frontSide: Data
  • The binary data for the rear side of the Digital ID card. Nil means the card has a front side only.

    Declaration

    Swift

    public let rearSide: Data?
  • Facility ID of the site this Digital ID was received from or zero if same as the Mobile Credential

    Declaration

    Swift

    public let sourceSiteFacilityId: Int