X509Identity

data class X509Identity(var handle: String, var displayName: String, var domain: String, var certificate: String, var serialNumber: String, var notBefore: Instant, var notAfter: Instant)(source)

Represents the parts of 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)

Constructors

Link copied to clipboard
constructor(handle: String, displayName: String, domain: String, certificate: String, serialNumber: String, notBefore: Instant, notAfter: Instant)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

X509 certificate identifying this client in the MLS group ; PEM encoded

Link copied to clipboard

Name as displayed in the messaging application e.g. John Fitzgerald Kennedy

Link copied to clipboard

DNS domain for which this identity proof was generated e.g. whitehouse.gov

Link copied to clipboard

user handle e.g. john_wire

Link copied to clipboard

X509 certificate not after

Link copied to clipboard

X509 certificate not before

Link copied to clipboard

X509 certificate serial number