[][src]Struct picky::x509::certificate::Cert

pub struct Cert(_);

Methods

impl Cert[src]

pub fn from_der<T: ?Sized + AsRef<[u8]>>(der: &T) -> Result<Self, CertError>[src]

pub fn from_pem(pem: &Pem) -> Result<Self, CertError>[src]

pub fn to_der(&self) -> Result<Vec<u8>, CertError>[src]

pub fn to_pem(&self) -> Result<Pem<'static>, CertError>[src]

pub fn ty(&self) -> CertType[src]

pub fn serial_number(&self) -> &IntegerAsn1[src]

pub fn signature_algorithm(&self) -> &AlgorithmIdentifier[src]

pub fn valid_not_before(&self) -> UTCDate[src]

pub fn valid_not_after(&self) -> UTCDate[src]

pub fn subject_key_identifier(&self) -> Result<&[u8], CertError>[src]

pub fn authority_key_identifier(
    &self
) -> Result<&AuthorityKeyIdentifier, CertError>
[src]

pub fn basic_constraints(&self) -> Result<&BasicConstraints, CertError>[src]

pub fn subject_name(&self) -> DirectoryName[src]

pub fn issuer_name(&self) -> DirectoryName[src]

pub fn extensions(&self) -> &[Extension][src]

pub fn public_key(&self) -> &PublicKey[src]

pub fn verify(&self, now: &UTCDate) -> Result<(), CertError>[src]

pub fn is_parent_of(&self, other: &Cert) -> Result<(), CertError>[src]

pub fn verify_chain<'a, Chain: Iterator<Item = &'a Cert>>(
    &self,
    chain: Chain,
    now: &UTCDate
) -> Result<(), CertError>
[src]

Trait Implementations

impl Clone for Cert[src]

impl Debug for Cert[src]

impl PartialEq<Cert> for Cert[src]

impl StructuralPartialEq for Cert[src]

Auto Trait Implementations

impl RefUnwindSafe for Cert

impl Send for Cert

impl Sync for Cert

impl Unpin for Cert

impl UnwindSafe for Cert

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,