Enum openssl::x509::extension::ExtKeyUsageOption [] [src]

pub enum ExtKeyUsageOption {
    ServerAuth,
    ClientAuth,
    CodeSigning,
    EmailProtection,
    TimeStamping,
    MsCodeInd,
    MsCodeCom,
    MsCtlSign,
    MsSgc,
    MsEfs,
    NsSgc,
    Other(String),
}

Variants

ServerAuthClientAuthCodeSigningEmailProtectionTimeStampingMsCodeIndMsCodeComMsCtlSignMsSgcMsEfsNsSgcOther(String)

An arbitrary key usage by OID.

Trait Implementations

impl Clone for ExtKeyUsageOption
[src]

fn clone(&self) -> ExtKeyUsageOption

Returns a copy of the value. Read more

fn clone_from(&mut self, source: &Self)
1.0.0

Performs copy-assignment from source. Read more

impl Display for ExtKeyUsageOption
[src]

fn fmt(&self, f: &mut Formatter) -> Result<()Error>

Formats the value using the given formatter.