pub enum CertError {
Invalid(String),
UntrustedKey(String),
BadKey(String),
BadSignature,
WrongTenant(String),
KeyMode(String),
WrongFlow(String),
WrongEnv(String),
NotPromotable(String),
}Variants§
Invalid(String)
UntrustedKey(String)
BadKey(String)
BadSignature
WrongTenant(String)
v1.5 check 1: the certificate’s tenant is not the tenant the verifier expects.
KeyMode(String)
v1.5 check 3 (and an earlier certificate under a hosted key): the key’s entry does not allow
the certificate’s signer mode, or its host is not the certificate’s.
WrongFlow(String)
v1.6 check 5: the certificate’s sequential.flow is not the flow the verifier expects.
WrongEnv(String)
v1.6 check 6: the certificate’s sequential.env is not the environment the verifier expects.
NotPromotable(String)
v1.7 §4.2: the pair of certificates does not allow the promotion, with the reason.
Trait Implementations§
Source§impl Error for CertError
impl Error for CertError
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()
Auto Trait Implementations§
impl Forget for CertError
impl Freeze for CertError
impl Move for CertError
impl RefUnwindSafe for CertError
impl Send for CertErrorwhere
RawVecInner: Send,
impl Sync for CertErrorwhere
RawVecInner: Sync,
impl Unpin for CertError
impl UnsafeUnpin for CertError
impl UnwindSafe for CertErrorwhere
RawVecInner: UnwindSafe,
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