pub enum CertificateRefusal {
Show 13 variants
Bound,
Encoding,
Signature,
Expired,
NotYetValid,
HolderMismatch,
KeyMismatch,
Claims,
StatusUnavailable,
Withdrawn,
ServiceKey,
Path,
Proof,
}Expand description
Stable refusal names exclude certificate bytes and untrusted parser text.
Variants§
Bound
Certificate allocation or encoding exceeded its configured limit.
Encoding
The exact DER, including its outer length, could not be read.
Signature
The configured service key did not verify the certificate.
Expired
The certificate no longer stands at the operation’s time.
NotYetValid
The certificate cannot yet stand at the operation’s time.
HolderMismatch
Signed capability claims name another holder.
KeyMismatch
The certified key differs from the Noise offer’s static identity.
Claims
Signed capability claims were absent or malformed.
No trusted current withdrawal observation exists.
Withdrawn
The issuer’s current observation withdrew this certificate.
ServiceKey
The configured issuer route, response or service key was refused.
Path
The configured certificate cannot be read.
Proof
The current proof was malformed, stale or signed with another key.
Trait Implementations§
Source§impl Clone for CertificateRefusal
impl Clone for CertificateRefusal
impl Copy for CertificateRefusal
Source§impl Debug for CertificateRefusal
impl Debug for CertificateRefusal
Source§impl Display for CertificateRefusal
impl Display for CertificateRefusal
impl Eq for CertificateRefusal
Source§impl Error for CertificateRefusal
impl Error for CertificateRefusal
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
use the Display impl or to_string()
Source§impl PartialEq for CertificateRefusal
impl PartialEq for CertificateRefusal
impl StructuralPartialEq for CertificateRefusal
Auto Trait Implementations§
impl Freeze for CertificateRefusal
impl RefUnwindSafe for CertificateRefusal
impl Send for CertificateRefusal
impl Sync for CertificateRefusal
impl Unpin for CertificateRefusal
impl UnsafeUnpin for CertificateRefusal
impl UnwindSafe for CertificateRefusal
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.