pub struct CertificateChain { /* private fields */ }Implementations§
Source§impl CertificateChain
impl CertificateChain
pub fn from_root(root: Certificate) -> Self
pub fn try_from(uris: &CertificateUriChain) -> Result<Self>
pub fn signer(&self) -> &Certificate
pub fn root(&self) -> &Certificate
Sourcepub fn all(&self) -> impl Iterator<Item = &Certificate>
pub fn all(&self) -> impl Iterator<Item = &Certificate>
Returns an iterator over the chain, starting with the root certificate
pub fn len(&self) -> usize
Trait Implementations§
Source§impl Clone for CertificateChain
impl Clone for CertificateChain
Source§fn clone(&self) -> CertificateChain
fn clone(&self) -> CertificateChain
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 moreAuto Trait Implementations§
impl Freeze for CertificateChain
impl RefUnwindSafe for CertificateChain
impl Send for CertificateChain
impl Sync for CertificateChain
impl Unpin for CertificateChain
impl UnwindSafe for CertificateChain
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