Enum cryptographic_message_syntax::asn1::rfc3161::PkiFailureInfo [−][src]
PKI failure info.
PKIFailureInfo ::= BIT STRING {
badAlg (0),
-- unrecognized or unsupported Algorithm Identifier
badRequest (2),
-- transaction not permitted or supported
badDataFormat (5),
-- the data submitted has the wrong format
timeNotAvailable (14),
-- the TSA's time source is not available
unacceptedPolicy (15),
-- the requested TSA policy is not supported by the TSA.
unacceptedExtension (16),
-- the requested extension is not supported by the TSA.
addInfoNotAvailable (17)
-- the additional information requested could not be understood
-- or is not available
systemFailure (25)
-- the request cannot be handled due to system failure }
Variants
Implementations
impl PkiFailureInfo[src]
pub fn take_opt_from<S: Source>(
cons: &mut Constructed<'_, S>
) -> Result<Option<Self>, S::Err>[src]
cons: &mut Constructed<'_, S>
) -> Result<Option<Self>, S::Err>
pub fn take_from<S: Source>(
cons: &mut Constructed<'_, S>
) -> Result<Self, S::Err>[src]
cons: &mut Constructed<'_, S>
) -> Result<Self, S::Err>
pub fn from_primitive<S: Source>(
prim: &mut Primitive<'_, S>
) -> Result<Self, S::Err>[src]
prim: &mut Primitive<'_, S>
) -> Result<Self, S::Err>
pub fn encode(self) -> impl Values[src]
Trait Implementations
impl Clone for PkiFailureInfo[src]
fn clone(&self) -> PkiFailureInfo[src]
pub fn clone_from(&mut self, source: &Self)1.0.0[src]
impl Copy for PkiFailureInfo[src]
impl Debug for PkiFailureInfo[src]
impl Eq for PkiFailureInfo[src]
impl PartialEq<PkiFailureInfo> for PkiFailureInfo[src]
fn eq(&self, other: &PkiFailureInfo) -> bool[src]
#[must_use]pub fn ne(&self, other: &Rhs) -> bool1.0.0[src]
impl StructuralEq for PkiFailureInfo[src]
impl StructuralPartialEq for PkiFailureInfo[src]
Auto Trait Implementations
impl RefUnwindSafe for PkiFailureInfo
impl Send for PkiFailureInfo
impl Sync for PkiFailureInfo
impl Unpin for PkiFailureInfo
impl UnwindSafe for PkiFailureInfo
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,
pub fn borrow_mut(&mut self) -> &mut T[src]
impl<Q, K> Equivalent<K> for Q where
K: Borrow<Q> + ?Sized,
Q: Eq + ?Sized, [src]
K: Borrow<Q> + ?Sized,
Q: Eq + ?Sized,
pub fn equivalent(&self, key: &K) -> bool[src]
impl<T> From<T> for T[src]
impl<T> Instrument for T[src]
pub fn instrument(self, span: Span) -> Instrumented<Self>[src]
pub fn in_current_span(self) -> Instrumented<Self>[src]
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone, [src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T[src]
pub 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.
pub 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>,