Struct lpc55::pki::CertificateChain
source · [−]pub struct CertificateChain { /* private fields */ }
Implementations
sourceimpl 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
sourceimpl Clone for CertificateChain
impl Clone for CertificateChain
sourcefn clone(&self) -> CertificateChain
fn clone(&self) -> CertificateChain
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations
impl RefUnwindSafe for CertificateChain
impl Send for CertificateChain
impl Sync for CertificateChain
impl Unpin for CertificateChain
impl UnwindSafe for CertificateChain
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more