Struct webpki::OwnedCertRevocationList
source · [−]pub struct OwnedCertRevocationList { /* private fields */ }
Expand description
Owned representation of a RFC 52801 profile Certificate Revocation List (CRL).
This type is only available when using the alloc
feature.
Trait Implementations
sourceimpl CertRevocationList for OwnedCertRevocationList
impl CertRevocationList for OwnedCertRevocationList
sourcefn issuer(&self) -> &[u8]ⓘNotable traits for &[u8]impl Read for &[u8]impl Write for &mut [u8]
fn issuer(&self) -> &[u8]ⓘNotable traits for &[u8]impl Read for &[u8]impl Write for &mut [u8]
Return the DER encoded issuer of the CRL.
sourcefn find_serial(
&self,
serial: &[u8]
) -> Result<Option<BorrowedRevokedCert<'_>>, Error>
fn find_serial(
&self,
serial: &[u8]
) -> Result<Option<BorrowedRevokedCert<'_>>, Error>
Try to find a revoked certificate in the CRL by DER encoded serial number. This
may yield an error if the CRL has malformed revoked certificates. Read more
sourcefn verify_signature(
&self,
supported_sig_algs: &[&SignatureAlgorithm],
issuer_spki: &[u8]
) -> Result<(), Error>
fn verify_signature(
&self,
supported_sig_algs: &[&SignatureAlgorithm],
issuer_spki: &[u8]
) -> Result<(), Error>
Verify the CRL signature using the issuer’s subject public key information (SPKI)
and a list of supported signature algorithms. Read more
Auto Trait Implementations
impl RefUnwindSafe for OwnedCertRevocationList
impl Send for OwnedCertRevocationList
impl Sync for OwnedCertRevocationList
impl Unpin for OwnedCertRevocationList
impl UnwindSafe for OwnedCertRevocationList
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