Skip to main content

X509CrlReasonCode

Enum X509CrlReasonCode 

Source
#[repr(i32)]
pub enum X509CrlReasonCode { BOTAN_CRL_ENTRY_UNSPECIFIED = 0, BOTAN_CRL_ENTRY_KEY_COMPROMISE = 1, BOTAN_CRL_ENTRY_CA_COMPROMISE = 2, BOTAN_CRL_ENTRY_AFFILIATION_CHANGED = 3, BOTAN_CRL_ENTRY_SUPERSEDED = 4, BOTAN_CRL_ENTRY_CESSATION_OF_OPERATION = 5, BOTAN_CRL_ENTRY_CERTIFICATE_HOLD = 6, BOTAN_CRL_ENTRY_REMOVE_FROM_CRL = 8, BOTAN_CRL_ENTRY_PRIVILEGE_WITHDRAWN = 9, BOTAN_CRL_ENTRY_AA_COMPROMISE = 10, }

Variants§

§

BOTAN_CRL_ENTRY_UNSPECIFIED = 0

§

BOTAN_CRL_ENTRY_KEY_COMPROMISE = 1

§

BOTAN_CRL_ENTRY_CA_COMPROMISE = 2

§

BOTAN_CRL_ENTRY_AFFILIATION_CHANGED = 3

§

BOTAN_CRL_ENTRY_SUPERSEDED = 4

§

BOTAN_CRL_ENTRY_CESSATION_OF_OPERATION = 5

§

BOTAN_CRL_ENTRY_CERTIFICATE_HOLD = 6

§

BOTAN_CRL_ENTRY_REMOVE_FROM_CRL = 8

§

BOTAN_CRL_ENTRY_PRIVILEGE_WITHDRAWN = 9

§

BOTAN_CRL_ENTRY_AA_COMPROMISE = 10

Trait Implementations§

Source§

impl TryFrom<i32> for X509CrlReasonCode

Available on botan_ffi_20260303 only.
Source§

type Error = ()

The type returned in the event of a conversion error.
Source§

fn try_from(value: i32) -> Result<Self, Self::Error>

Performs the conversion.

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.