DisplayClaim

public class DisplayClaim: Hashable

DisplayClaim class holds all information related to an Event that are displayed in UI. Event information includes:

  • Basic request information
  • Differentiate Essential vs Voluntary claims
  • Claims shared by user
  • Method of authentication: Face/Pin/Fingerprint
  • Event action taken by the user (Confirmed/Denied) with audit information.
  • key

    Undocumented

    Declaration

    Swift

    public let key: String
  • Undocumented

    Declaration

    Swift

    public let claimDisplayName: String
  • Undocumented

    Declaration

    Swift

    public let claimValue: String?
  • Undocumented

    Declaration

    Swift

    public let imageValue: String?
  • oid

    Undocumented

    Declaration

    Swift

    public let oid: OIDs.Dotted?
  • Undocumented

    Declaration

    Swift

    public var isEssentialClaim: Bool?
  • Undocumented

    Declaration

    Swift

    public var isClaimShared: Bool
  • Undocumented

    Declaration

    Swift

    public var serialNoBase64: String?
  • Get claimDisplayName hashValue.

    Declaration

    Swift

    public var hashValue: Int
    • Constructor *

    Declaration

    Swift

    public init(key: String
        , claimDisplayName: String
        , claimValue: String?
        , imageValue: String?
        , oid: OIDs.Dotted?
        , isEssentialClaim: Bool?
        , isClaimShared: Bool = false
        , serialNoBase64: String?)
  • Compare 2 DisplayClaim objects based on claimDisplayName attribute value.

    Declaration

    Swift

    public static func ==(lhs: DisplayClaim, rhs: DisplayClaim) -> Bool