pub struct CertMeta {
pub directory_url: String,
pub issued_at: OffsetDateTime,
}Expand description
The metadata kept beside the certificate: which directory issued it and
when it was written. The certificate’s own notAfter is not duplicated
here — cert.rs::leaf_expiry reads that from the DER, which cannot drift
from what the certificate actually says.
Fields§
§directory_url: StringWhich authority issued this certificate: an ACME directory URL, or
crate::local::LOCAL_SOURCE. A certificate is only as good as the
authority behind it — a staging leaf, a production leaf and a leaf
from this machine’s own authority are served by the same code and
trusted by different people — so the run that reads one back checks
this before serving it.
issued_at: OffsetDateTimeWhen this crate last wrote a certificate here.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for CertMeta
impl<'de> Deserialize<'de> for CertMeta
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 CertMeta
impl RefUnwindSafe for CertMeta
impl Send for CertMeta
impl Sync for CertMeta
impl Unpin for CertMeta
impl UnsafeUnpin for CertMeta
impl UnwindSafe for CertMeta
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