Enum botan_sys::X509KeyConstraints
source · #[repr(u32)]pub enum X509KeyConstraints {
NO_CONSTRAINTS = 0,
DIGITAL_SIGNATURE = 32_768,
NON_REPUDIATION = 16_384,
KEY_ENCIPHERMENT = 8_192,
DATA_ENCIPHERMENT = 4_096,
KEY_AGREEMENT = 2_048,
KEY_CERT_SIGN = 1_024,
CRL_SIGN = 512,
ENCIPHER_ONLY = 256,
DECIPHER_ONLY = 128,
}
Variants§
NO_CONSTRAINTS = 0
DIGITAL_SIGNATURE = 32_768
NON_REPUDIATION = 16_384
KEY_ENCIPHERMENT = 8_192
DATA_ENCIPHERMENT = 4_096
KEY_AGREEMENT = 2_048
KEY_CERT_SIGN = 1_024
CRL_SIGN = 512
ENCIPHER_ONLY = 256
DECIPHER_ONLY = 128
Auto Trait Implementations§
impl Freeze for X509KeyConstraints
impl RefUnwindSafe for X509KeyConstraints
impl Send for X509KeyConstraints
impl Sync for X509KeyConstraints
impl Unpin for X509KeyConstraints
impl UnwindSafe for X509KeyConstraints
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