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

No particular usage restrictions

Allowed for digital signature

Allowed for "non-repudiation" (whatever that means)

Allowed for enciphering symmetric keys

Allowed for enciphering plaintext messages

Allowed for key agreement

Allowed for signing certificates

Allowed for signing CRLs

Allowed only for encryption

Allowed only for decryption

Trait Implementations

impl Debug for CertUsage
[src]

Formats the value using the given formatter. Read more

impl From<X509KeyConstraints> for CertUsage
[src]

Performs the conversion.

impl From<CertUsage> for X509KeyConstraints
[src]

Performs the conversion.

Auto Trait Implementations

impl Send for CertUsage

impl Sync for CertUsage