[−][src]Struct picky::x509::certificate::Cert
Implementations
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 from_pem_str(pem_str: &str) -> 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]
&self
) -> Result<&AuthorityKeyIdentifier, CertError>
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 into_public_key(self) -> PublicKey
[src]
pub fn is_parent_of(&self, other: &Cert) -> Result<(), CertError>
[src]
pub fn verifier<'a, 'b, Chain: Iterator<Item = &'b Cert>>(
&'a self
) -> CertValidator<'a, 'b, Chain>
[src]
&'a self
) -> CertValidator<'a, 'b, Chain>
Trait Implementations
impl Clone for Cert
[src]
impl Debug for Cert
[src]
impl From<Cert> for Certificate
[src]
impl From<Certificate> for Cert
[src]
fn from(certificate: Certificate) -> Self
[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]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,