X509Identity
public struct X509Identity
extension X509Identity: Sendable
extension X509Identity: Equatable, Hashable
Fields from a WireIdentity that are specific to X509 credentials.
-
User handle e.g.
john_wireDeclaration
Swift
public var handle: String -
Name as displayed in the messaging application e.g.
John Fitzgerald KennedyDeclaration
Swift
public var displayName: String -
DNS domain for which this identity proof was generated e.g.
whitehouse.govDeclaration
Swift
public var domain: String -
PEM-encoded X509 certificate identifying this client in the MLS group.
Declaration
Swift
public var certificate: String -
X509 certificate serial number
Declaration
Swift
public var serialNumber: String -
Certificate validity start time (the X509 notBefore field).
Declaration
Swift
public var notBefore: Timestamp -
Certificate validity end time (the X509 notAfter field).
Declaration
Swift
public var notAfter: Timestamp -
Undocumented
Declaration
Swift
public init( /** * User handle e.g. `john_wire` */handle: String, /** * Name as displayed in the messaging application e.g. `John Fitzgerald Kennedy` */displayName: String, /** * DNS domain for which this identity proof was generated e.g. `whitehouse.gov` */domain: String, /** * PEM-encoded X509 certificate identifying this client in the MLS group. */certificate: String, /** * X509 certificate serial number */serialNumber: String, /** * Certificate validity start time (the X509 notBefore field). */notBefore: Timestamp, /** * Certificate validity end time (the X509 notAfter field). */notAfter: Timestamp) -
Declaration
Swift
public static func == (lhs: X509Identity, rhs: X509Identity) -> Bool -
Declaration
Swift
public func hash(into hasher: inout Hasher)