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
impl Copy for PkiFailureInfo
impl Eq for PkiFailureInfo
impl StructuralPartialEq for PkiFailureInfo
Auto Trait Implementations§
impl Freeze for PkiFailureInfo
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