Claim

public class Claim

This class represents a parsed Trusted Key claim.

  • The name (+kind) of document that this claim originates from.

    Declaration

    Swift

    public var DocumentName: String = ""
  • The kind of document that this claim originates from.

    Declaration

    Swift

    public var DocumentClass: String = ""
  • The LOA for all attributes in claim.

    Declaration

    Swift

    public var LevelOfAssurance: Float = 0
  • The X.500 issuer ID of this claim.

    Declaration

    Swift

    public var IssuerID: String = ""
  • The issue date of the original document.

    Declaration

    Swift

    public var IssueDate: Date? = nil
  • The expiration date of the original document.

    Declaration

    Swift

    public var ExpirationDate: Date? = nil
  • The unique serial number of this claim.

    Declaration

    Swift

    public var SerialNo: [UInt8] = []
  • The Common Name of the issuer of this claim.

    Declaration

    Swift

    public var IssuerName: String = ""
  • This class represents a single attribute in a Trusted Key claim.

    See more

    Declaration

    Swift

    public class Attribute
  • Array of claim attributes.

    Declaration

    Swift

    public var Attributes: [Attribute] = []
  • The group ID is used to group all claims originating from the same document.

    Declaration

    Swift

    public var GroupID: String
  • Find an Attribute by its OID

    Declaration

    Swift

    public func findAttribute(oid: OIDs.Dotted) -> Attribute?
  • Expiration test for this claim.

    Declaration

    Swift

    public var IsExpired: Bool