pub struct CertInfo {
pub id: String,
pub subject_d_n: Option<String>,
pub issuer_d_n: Option<String>,
pub status: Option<String>,
pub not_valid_before: Option<String>,
pub not_valid_after: Option<String>,
pub encoded: Option<String>,
}Expand description
Information about an issued certificate.
Fields§
§id: StringCertificate serial number (hex string).
subject_d_n: Option<String>Subject DN of the certificate.
issuer_d_n: Option<String>Issuer DN.
status: Option<String>Certificate status (e.g., “VALID”, “REVOKED”, “EXPIRED”).
not_valid_before: Option<String>Not-before date (ISO 8601).
not_valid_after: Option<String>Not-after date (ISO 8601).
encoded: Option<String>Base64-encoded certificate (if requested via full retrieval).
Trait Implementations§
Source§impl<'de> Deserialize<'de> for CertInfo
impl<'de> Deserialize<'de> for CertInfo
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for CertInfo
impl RefUnwindSafe for CertInfo
impl Send for CertInfo
impl Sync for CertInfo
impl Unpin for CertInfo
impl UnsafeUnpin for CertInfo
impl UnwindSafe for CertInfo
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more