Enum botan::CertUsage [−][src]
pub enum CertUsage { NoRestrictions, DigitalSignature, NonRepudiation, KeyEncipherment, DataEncipherment, KeyAgreement, CertificateSign, CrlSign, EncipherOnly, DecipherOnly, }
Indicates if the certificate key is allowed for a particular usage
Variants
NoRestrictions
No particular usage restrictions
DigitalSignature
Allowed for digital signature
NonRepudiation
Allowed for "non-repudiation" (whatever that means)
KeyEncipherment
Allowed for enciphering symmetric keys
DataEncipherment
Allowed for enciphering plaintext messages
KeyAgreement
Allowed for key agreement
CertificateSign
Allowed for signing certificates
CrlSign
Allowed for signing CRLs
EncipherOnly
Allowed only for encryption
DecipherOnly
Allowed only for decryption
Trait Implementations
impl Debug for CertUsage
[src]
impl Debug for CertUsage
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl From<X509KeyConstraints> for CertUsage
[src]
impl From<X509KeyConstraints> for CertUsage
fn from(err: X509KeyConstraints) -> CertUsage
[src]
fn from(err: X509KeyConstraints) -> CertUsage
Performs the conversion.
impl From<CertUsage> for X509KeyConstraints
[src]
impl From<CertUsage> for X509KeyConstraints
fn from(err: CertUsage) -> X509KeyConstraints
[src]
fn from(err: CertUsage) -> X509KeyConstraints
Performs the conversion.