X509Identity
public struct X509Identity
extension X509Identity: Sendable
extension X509Identity: Equatable, Hashable
Represents the parts of [WireIdentity][crate::WireIdentity] that are specific to a X509 certificate (and not a Basic one).
We don’t use an enum here since the sole purpose of this is to be exposed through the FFI (and union types are impossible to carry over the FFI boundary)
-
user handle e.g.
john_wire
Declaration
Swift
public var handle: String
-
Name as displayed in the messaging application e.g.
John Fitzgerald Kennedy
Declaration
Swift
public var displayName: String
-
DNS domain for which this identity proof was generated e.g.
whitehouse.gov
Declaration
Swift
public var domain: String
-
X509 certificate identifying this client in the MLS group ; PEM encoded
Declaration
Swift
public var certificate: String
-
X509 certificate serial number
Declaration
Swift
public var serialNumber: String
-
X509 certificate not before
Declaration
Swift
public var notBefore: Date
-
X509 certificate not after
Declaration
Swift
public var notAfter: Date
-
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, /** * X509 certificate identifying this client in the MLS group ; PEM encoded */certificate: String, /** * X509 certificate serial number */serialNumber: String, /** * X509 certificate not before */notBefore: Date, /** * X509 certificate not after */notAfter: Date)
-
Declaration
Swift
public static func == (lhs: X509Identity, rhs: X509Identity) -> Bool
-
Declaration
Swift
public func hash(into hasher: inout Hasher)