Struct IssuedLeaf
pub struct IssuedLeaf {
pub cert_pem: String,
pub fingerprint: String,
pub not_before: i64,
pub not_after: i64,
}Expand description
Metadata for a certificate issued from a client-submitted CSR. The private key is deliberately absent: it never leaves the requesting device (only the CSR is transmitted). This is what the daemon records in its issued-cert ledger and returns to the client over the enrollment channel.
Fields§
§cert_pem: StringPEM-encoded signed certificate.
fingerprint: StringSHA-256 fingerprint (lowercase hex) of the DER certificate. Ledger key.
not_before: i64notBefore, unix seconds.
not_after: i64notAfter, unix seconds.
Trait Implementations§
Source§impl Clone for IssuedLeaf
impl Clone for IssuedLeaf
Source§fn clone(&self) -> IssuedLeaf
fn clone(&self) -> IssuedLeaf
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · §fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for IssuedLeaf
impl RefUnwindSafe for IssuedLeaf
impl Send for IssuedLeaf
impl Sync for IssuedLeaf
impl Unpin for IssuedLeaf
impl UnsafeUnpin for IssuedLeaf
impl UnwindSafe for IssuedLeaf
Blanket Implementations§
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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