pub struct Certificate {
pub issuer: Option<String>,
pub not_after_time: Option<DateTime<Utc>>,
pub not_before_time: Option<DateTime<Utc>>,
pub parsed: Option<bool>,
pub raw_der: Option<Vec<u8>>,
pub serial_number: Option<String>,
pub sha256_fingerprint: Option<String>,
pub subject: Option<String>,
pub subject_alternative_dns_names: Option<Vec<String>>,
}Expand description
A Certificate represents an X.509 certificate used to authenticate HTTPS connections to EKM replicas.
This type is not used in any activity, and only used as part of another schema.
Fields§
§issuer: Option<String>Output only. The issuer distinguished name in RFC 2253 format. Only present if parsed is true.
not_after_time: Option<DateTime<Utc>>Output only. The certificate is not valid after this time. Only present if parsed is true.
not_before_time: Option<DateTime<Utc>>Output only. The certificate is not valid before this time. Only present if parsed is true.
parsed: Option<bool>Output only. True if the certificate was parsed successfully.
raw_der: Option<Vec<u8>>Required. The raw certificate bytes in DER format.
serial_number: Option<String>Output only. The certificate serial number as a hex string. Only present if parsed is true.
sha256_fingerprint: Option<String>Output only. The SHA-256 certificate fingerprint as a hex string. Only present if parsed is true.
subject: Option<String>Output only. The subject distinguished name in RFC 2253 format. Only present if parsed is true.
subject_alternative_dns_names: Option<Vec<String>>Output only. The subject Alternative DNS names. Only present if parsed is true.
Trait Implementations§
Source§impl Clone for Certificate
impl Clone for Certificate
Source§fn clone(&self) -> Certificate
fn clone(&self) -> Certificate
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more