pub struct StarCertificate {
pub certificate_der: Vec<u8>,
pub serial_number: String,
pub not_before: DateTime<Utc>,
pub not_after: DateTime<Utc>,
pub renewal_number: u32,
pub star_order_id: String,
}Expand description
A certificate issued as part of a STAR renewal cycle.
Each renewal produces a new StarCertificate that replaces the previous
one. Clients fetch the latest via the STAR certificate URL
(RFC 8739 §3.3).
Fields§
§certificate_der: Vec<u8>DER-encoded X.509 certificate (current renewal).
serial_number: StringSerial number of this certificate (hex string).
not_before: DateTime<Utc>Validity start (Not Before).
not_after: DateTime<Utc>Validity end (Not After).
renewal_number: u32Which renewal produced this certificate (0 = initial).
star_order_id: StringParent STAR order identifier.
Trait Implementations§
Source§impl Clone for StarCertificate
impl Clone for StarCertificate
Source§fn clone(&self) -> StarCertificate
fn clone(&self) -> StarCertificate
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for StarCertificate
impl Debug for StarCertificate
Source§impl<'de> Deserialize<'de> for StarCertificate
impl<'de> Deserialize<'de> for StarCertificate
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 StarCertificate
impl RefUnwindSafe for StarCertificate
impl Send for StarCertificate
impl Sync for StarCertificate
impl Unpin for StarCertificate
impl UnsafeUnpin for StarCertificate
impl UnwindSafe for StarCertificate
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more