pub struct CertificateChains {
pub cavium_certs: Option<Vec<String>>,
pub google_card_certs: Option<Vec<String>>,
pub google_partition_certs: Option<Vec<String>>,
}Expand description
Certificate chains needed to verify the attestation. Certificates in chains are PEM-encoded and are ordered based on https://tools.ietf.org/html/rfc5246#section-7.4.2.
This type is not used in any activity, and only used as part of another schema.
Fields§
§cavium_certs: Option<Vec<String>>Cavium certificate chain corresponding to the attestation.
google_card_certs: Option<Vec<String>>Google card certificate chain corresponding to the attestation.
google_partition_certs: Option<Vec<String>>Google partition certificate chain corresponding to the attestation.
Trait Implementations§
Source§impl Clone for CertificateChains
impl Clone for CertificateChains
Source§fn clone(&self) -> CertificateChains
fn clone(&self) -> CertificateChains
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 CertificateChains
impl Debug for CertificateChains
Source§impl Default for CertificateChains
impl Default for CertificateChains
Source§fn default() -> CertificateChains
fn default() -> CertificateChains
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for CertificateChains
impl<'de> Deserialize<'de> for CertificateChains
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
Source§impl Serialize for CertificateChains
impl Serialize for CertificateChains
impl Part for CertificateChains
Auto Trait Implementations§
impl Freeze for CertificateChains
impl RefUnwindSafe for CertificateChains
impl Send for CertificateChains
impl Sync for CertificateChains
impl Unpin for CertificateChains
impl UnwindSafe for CertificateChains
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,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§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