pub struct KeyUsage {
pub key_cert_sign: bool,
pub crl_sign: bool,
pub digital_signature: bool,
pub key_encipherment: bool,
}Expand description
Key usage flags for X.509 certificates.
Fields§
§key_cert_sign: boolCertificate can sign other certificates (CA).
crl_sign: boolCertificate can sign CRLs.
digital_signature: boolCertificate can be used for digital signatures.
key_encipherment: boolCertificate can be used for key encipherment.
Implementations§
Trait Implementations§
impl Copy for KeyUsage
impl Eq for KeyUsage
impl StructuralPartialEq for KeyUsage
Auto Trait Implementations§
impl Freeze for KeyUsage
impl RefUnwindSafe for KeyUsage
impl Send for KeyUsage
impl Sync for KeyUsage
impl Unpin for KeyUsage
impl UnsafeUnpin for KeyUsage
impl UnwindSafe for KeyUsage
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