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)