pub enum PkiFailureInfo {
BadAlg = 0,
BadRequest = 1,
BadDataFormat = 5,
TimeNotAvailable = 14,
UnacceptedPolicy = 15,
UnacceptedExtension = 16,
AddInfoNotAvailable = 17,
SystemFailure = 25,
}
Expand description
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§
BadAlg = 0
BadRequest = 1
BadDataFormat = 5
TimeNotAvailable = 14
UnacceptedPolicy = 15
UnacceptedExtension = 16
AddInfoNotAvailable = 17
SystemFailure = 25
Implementations§
source§impl PkiFailureInfo
impl PkiFailureInfo
pub fn take_opt_from<S: Source>( cons: &mut Constructed<'_, S> ) -> Result<Option<Self>, DecodeError<S::Error>>
pub fn take_from<S: Source>( cons: &mut Constructed<'_, S> ) -> Result<Self, DecodeError<S::Error>>
pub fn from_primitive<S: Source>( prim: &mut Primitive<'_, S> ) -> Result<Self, DecodeError<S::Error>>
pub fn encode(self) -> impl Values
Trait Implementations§
source§impl Clone for PkiFailureInfo
impl Clone for PkiFailureInfo
source§fn clone(&self) -> PkiFailureInfo
fn clone(&self) -> PkiFailureInfo
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for PkiFailureInfo
impl Debug for PkiFailureInfo
source§impl From<PkiFailureInfo> for u8
impl From<PkiFailureInfo> for u8
source§fn from(v: PkiFailureInfo) -> u8
fn from(v: PkiFailureInfo) -> u8
Converts to this type from the input type.
source§impl PartialEq for PkiFailureInfo
impl PartialEq for PkiFailureInfo
source§fn eq(&self, other: &PkiFailureInfo) -> bool
fn eq(&self, other: &PkiFailureInfo) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for PkiFailureInfo
impl Eq for PkiFailureInfo
impl StructuralEq for PkiFailureInfo
impl StructuralPartialEq for PkiFailureInfo
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§
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
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.