pub enum PkiError {
InvalidPem(String),
NoCertInPem,
CertInvalid(String),
EmptyTrustAnchors,
}Expand description
Interne Fehler des PKI-Backends. Werden in
zerodds_security::SecurityError gehuellt.
Variants§
InvalidPem(String)
PEM-Parsing fehlgeschlagen.
NoCertInPem
PEM enthielt keine Zertifikate.
CertInvalid(String)
Cert-Chain-Verifikation fehlgeschlagen (Signatur, Expiry, Name).
EmptyTrustAnchors
Trust-Anchor-Bundle leer.
Trait Implementations§
Source§impl Error for PkiError
impl Error for PkiError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
impl Eq for PkiError
impl StructuralPartialEq for PkiError
Auto Trait Implementations§
impl Freeze for PkiError
impl RefUnwindSafe for PkiError
impl Send for PkiError
impl Sync for PkiError
impl Unpin for PkiError
impl UnsafeUnpin for PkiError
impl UnwindSafe for PkiError
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