pub struct ServedCert {
pub serial: String,
pub common_name: Option<String>,
pub identities: Vec<String>,
pub pubkey_alg: Option<String>,
pub sig_alg: Option<String>,
pub issuer: Option<String>,
pub not_before: Option<DateTime<Utc>>,
pub not_after: Option<DateTime<Utc>>,
pub chain_sigs: Vec<String>,
pub pubkey_curve: Option<String>,
pub cert_signature: Option<String>,
}Fields§
§serial: String§common_name: Option<String>§identities: Vec<String>§pubkey_alg: Option<String>§sig_alg: Option<String>§issuer: Option<String>§not_before: Option<DateTime<Utc>>§not_after: Option<DateTime<Utc>>§chain_sigs: Vec<String>Signature algorithms of the served chain, leaf first.
pubkey_curve: Option<String>§cert_signature: Option<String>Implementations§
Source§impl ServedCert
impl ServedCert
pub fn into_certificate(self) -> Certificate
Trait Implementations§
Source§impl Clone for ServedCert
impl Clone for ServedCert
Source§impl Debug for ServedCert
impl Debug for ServedCert
Source§impl<'de> Deserialize<'de> for ServedCert
impl<'de> Deserialize<'de> for ServedCert
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 Forget for ServedCert
impl Freeze for ServedCert
impl RefUnwindSafe for ServedCert
impl Send for ServedCert
impl Sync for ServedCert
impl Unpin for ServedCert
impl UnsafeUnpin for ServedCert
impl UnwindSafe for ServedCert
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§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