Skip to main content

X509ValueType

Enum X509ValueType 

Source
#[repr(i32)]
pub enum X509ValueType {
Show 14 variants BOTAN_X509_SERIAL_NUMBER = 0, BOTAN_X509_SUBJECT_DN_BITS = 1, BOTAN_X509_ISSUER_DN_BITS = 2, BOTAN_X509_SUBJECT_KEY_IDENTIFIER = 3, BOTAN_X509_AUTHORITY_KEY_IDENTIFIER = 4, BOTAN_X509_PUBLIC_KEY_PKCS8_BITS = 200, BOTAN_X509_TBS_DATA_BITS = 201, BOTAN_X509_SIGNATURE_SCHEME_BITS = 202, BOTAN_X509_SIGNATURE_BITS = 203, BOTAN_X509_DER_ENCODING = 300, BOTAN_X509_PEM_ENCODING = 301, BOTAN_X509_CRL_DISTRIBUTION_URLS = 400, BOTAN_X509_OCSP_RESPONDER_URLS = 401, BOTAN_X509_CA_ISSUERS_URLS = 402,
}

Variants§

§

BOTAN_X509_SERIAL_NUMBER = 0

§

BOTAN_X509_SUBJECT_DN_BITS = 1

§

BOTAN_X509_ISSUER_DN_BITS = 2

§

BOTAN_X509_SUBJECT_KEY_IDENTIFIER = 3

§

BOTAN_X509_AUTHORITY_KEY_IDENTIFIER = 4

§

BOTAN_X509_PUBLIC_KEY_PKCS8_BITS = 200

§

BOTAN_X509_TBS_DATA_BITS = 201

§

BOTAN_X509_SIGNATURE_SCHEME_BITS = 202

§

BOTAN_X509_SIGNATURE_BITS = 203

§

BOTAN_X509_DER_ENCODING = 300

§

BOTAN_X509_PEM_ENCODING = 301

§

BOTAN_X509_CRL_DISTRIBUTION_URLS = 400

§

BOTAN_X509_OCSP_RESPONDER_URLS = 401

§

BOTAN_X509_CA_ISSUERS_URLS = 402

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.