Struct x509_certificate::rfc5280::CertificateList
source · pub struct CertificateList {
pub tbs_cert_list: TbsCertList,
pub signature_algorithm: AlgorithmIdentifier,
pub signature: BitString,
}
Expand description
Certificate list.
CertificateList ::= SEQUENCE {
tbsCertList TBSCertList,
signatureAlgorithm AlgorithmIdentifier,
signature BIT STRING }
Fields§
§tbs_cert_list: TbsCertList
§signature_algorithm: AlgorithmIdentifier
§signature: BitString
Implementations§
source§impl CertificateList
impl CertificateList
pub fn take_from<S: Source>( cons: &mut Constructed<'_, S> ) -> Result<Self, DecodeError<S::Error>>
pub fn take_opt_from<S: Source>( cons: &mut Constructed<'_, S> ) -> Result<Option<Self>, DecodeError<S::Error>>
pub fn from_sequence<S: Source>( cons: &mut Constructed<'_, S> ) -> Result<Self, DecodeError<S::Error>>
Trait Implementations§
source§impl Clone for CertificateList
impl Clone for CertificateList
source§fn clone(&self) -> CertificateList
fn clone(&self) -> CertificateList
Returns a copy 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 CertificateList
impl Debug for CertificateList
source§impl PartialEq for CertificateList
impl PartialEq for CertificateList
source§fn eq(&self, other: &CertificateList) -> bool
fn eq(&self, other: &CertificateList) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for CertificateList
impl StructuralEq for CertificateList
impl StructuralPartialEq for CertificateList
Auto Trait Implementations§
impl RefUnwindSafe for CertificateList
impl Send for CertificateList
impl Sync for CertificateList
impl Unpin for CertificateList
impl UnwindSafe for CertificateList
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