Struct openssl::x509::extension::ExtendedKeyUsage[][src]

pub struct ExtendedKeyUsage { /* fields omitted */ }
Expand description

An extension consisting of a list of usages indicating purposes for which the certificate public key can be used for.

Implementations

Construct a new ExtendedKeyUsage extension.

Sets the critical flag to true. The extension will be critical.

Sets the serverAuth flag to true.

Sets the clientAuth flag to true.

Sets the codeSigning flag to true.

Sets the emailProtection flag to true.

Sets the timeStamping flag to true.

Sets the msCodeInd flag to true.

Sets the msCodeCom flag to true.

Sets the msCTLSign flag to true.

Sets the msSGC flag to true.

Sets the msEFS flag to true.

Sets the nsSGC flag to true.

Sets a flag not already defined.

Return the ExtendedKeyUsage extension as an X509Extension.

Trait Implementations

Returns the “default value” for a type. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.