[][src]Enum picky::x509::certificate::CaChainError

pub enum CaChainError {
    TooDeep {
        cert_id: String,
        pathlen: u8,
    },
    NoRoot,
    IssuerIsNotCA {
        issuer_id: String,
    },
    AuthorityKeyIdMismatch {
        expected: Vec<u8>,
        actual: Vec<u8>,
    },
    IssuerNameMismatch {
        expected: String,
        actual: String,
    },
}

Variants

TooDeep

chain depth does't satisfy basic constraints extension

Fields of TooDeep

cert_id: Stringpathlen: u8
NoRoot

chain is missing a root certificate

IssuerIsNotCA

issuer certificate is not a CA

Fields of IssuerIsNotCA

issuer_id: String
AuthorityKeyIdMismatch

authority key id doesn't match

Fields of AuthorityKeyIdMismatch

expected: Vec<u8>actual: Vec<u8>
IssuerNameMismatch

issuer name doesn't match

Fields of IssuerNameMismatch

expected: Stringactual: String

Trait Implementations

impl Debug for CaChainError[src]

impl Display for CaChainError[src]

impl Error for CaChainError where
    Self: Debug + Display
[src]

impl ErrorCompat for CaChainError[src]

Auto Trait Implementations

Blanket Implementations

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

impl<T> AsErrorSource for T where
    T: 'static + Error
[src]

impl<T> AsFail for T where
    T: Fail, 

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

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

impl<E> Fail for E where
    E: 'static + Error + Send + Sync

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> ToString for T where
    T: Display + ?Sized
[src]

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>,