pub struct OwnedCertRevocationList { /* private fields */ }
Expand description
Owned representation of a RFC 52801 profile Certificate Revocation List (CRL).
Implementations§
source§impl OwnedCertRevocationList
impl OwnedCertRevocationList
sourcepub fn from_der(crl_der: &[u8]) -> Result<Self, Error>
pub fn from_der(crl_der: &[u8]) -> Result<Self, Error>
Try to parse the given bytes as a RFC 52801 profile Certificate Revocation List (CRL).
Webpki does not support:
- CRL versions other than version 2.
- CRLs missing the next update field.
- CRLs missing certificate revocation list extensions.
- Delta CRLs.
- CRLs larger than (2^32)-1 bytes in size.
See BorrowedCertRevocationList::from_der for more details.
Trait Implementations§
source§impl Clone for OwnedCertRevocationList
impl Clone for OwnedCertRevocationList
source§fn clone(&self) -> OwnedCertRevocationList
fn clone(&self) -> OwnedCertRevocationList
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 OwnedCertRevocationList
impl Debug for OwnedCertRevocationList
source§impl From<OwnedCertRevocationList> for CertRevocationList<'_>
impl From<OwnedCertRevocationList> for CertRevocationList<'_>
source§fn from(crl: OwnedCertRevocationList) -> Self
fn from(crl: OwnedCertRevocationList) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for OwnedCertRevocationList
impl RefUnwindSafe for OwnedCertRevocationList
impl Send for OwnedCertRevocationList
impl Sync for OwnedCertRevocationList
impl Unpin for OwnedCertRevocationList
impl UnwindSafe for OwnedCertRevocationList
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§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)