WireIdentity

public struct WireIdentity
extension WireIdentity: Sendable
extension WireIdentity: Equatable, Hashable

Represents the identity claims identifying a client Those claims are verifiable by any member in the group

  • Unique client identifier e.g. T4Coy4vdRzianwfOgXpn6A:6add501bacd1d90e@whitehouse.gov

    Declaration

    Swift

    public var clientId: String
  • Status of the Credential at the moment this object is created

    Declaration

    Swift

    public var status: DeviceStatus
  • MLS thumbprint

    Declaration

    Swift

    public var thumbprint: String
  • Indicates whether the credential is Basic or X509

    Declaration

    Swift

    public var credentialType: CredentialType
  • In case ‘credential_type’ is [CredentialType::X509] this is populated

    Declaration

    Swift

    public var x509Identity: X509Identity?
  • Undocumented

    Declaration

    Swift

    public init(
        /**
         * Unique client identifier e.g. `T4Coy4vdRzianwfOgXpn6A:6add501bacd1d90e@whitehouse.gov`
         */clientId: String, 
        /**
         * Status of the Credential at the moment this object is created
         */status: DeviceStatus, 
        /**
         * MLS thumbprint
         */thumbprint: String, 
        /**
         * Indicates whether the credential is Basic or X509
         */credentialType: CredentialType, 
        /**
         * In case 'credential_type' is [CredentialType::X509] this is populated
         */x509Identity: X509Identity?)
  • Declaration

    Swift

    public static func == (lhs: WireIdentity, rhs: WireIdentity) -> Bool
  • Declaration

    Swift

    public func hash(into hasher: inout Hasher)