Struct openssl::x509::extension::ExtendedKeyUsage [−][src]
pub struct ExtendedKeyUsage { /* fields omitted */ }An extension consisting of a list of usages indicating purposes for which the certificate public key can be used for.
Methods
impl ExtendedKeyUsage[src]
impl ExtendedKeyUsagepub fn new() -> ExtendedKeyUsage[src]
pub fn new() -> ExtendedKeyUsageConstruct a new ExtendedKeyUsage extension.
pub fn critical(&mut self) -> &mut ExtendedKeyUsage[src]
pub fn critical(&mut self) -> &mut ExtendedKeyUsageSets the critical flag to true. The extension will be critical.
pub fn server_auth(&mut self) -> &mut ExtendedKeyUsage[src]
pub fn server_auth(&mut self) -> &mut ExtendedKeyUsageSets the serverAuth flag to true.
pub fn client_auth(&mut self) -> &mut ExtendedKeyUsage[src]
pub fn client_auth(&mut self) -> &mut ExtendedKeyUsageSets the clientAuth flag to true.
pub fn code_signing(&mut self) -> &mut ExtendedKeyUsage[src]
pub fn code_signing(&mut self) -> &mut ExtendedKeyUsageSets the codeSigning flag to true.
pub fn time_stamping(&mut self) -> &mut ExtendedKeyUsage[src]
pub fn time_stamping(&mut self) -> &mut ExtendedKeyUsageSets the timeStamping flag to true.
pub fn ms_code_ind(&mut self) -> &mut ExtendedKeyUsage[src]
pub fn ms_code_ind(&mut self) -> &mut ExtendedKeyUsageSets the msCodeInd flag to true.
pub fn ms_code_com(&mut self) -> &mut ExtendedKeyUsage[src]
pub fn ms_code_com(&mut self) -> &mut ExtendedKeyUsageSets the msCodeCom flag to true.
pub fn ms_ctl_sign(&mut self) -> &mut ExtendedKeyUsage[src]
pub fn ms_ctl_sign(&mut self) -> &mut ExtendedKeyUsageSets the msCTLSign flag to true.
pub fn ms_sgc(&mut self) -> &mut ExtendedKeyUsage[src]
pub fn ms_sgc(&mut self) -> &mut ExtendedKeyUsageSets the msSGC flag to true.
pub fn ms_efs(&mut self) -> &mut ExtendedKeyUsage[src]
pub fn ms_efs(&mut self) -> &mut ExtendedKeyUsageSets the msEFS flag to true.
pub fn ns_sgc(&mut self) -> &mut ExtendedKeyUsage[src]
pub fn ns_sgc(&mut self) -> &mut ExtendedKeyUsageSets the nsSGC flag to true.
pub fn other(&mut self, other: &str) -> &mut ExtendedKeyUsage[src]
pub fn other(&mut self, other: &str) -> &mut ExtendedKeyUsageSets a flag not already defined.
pub fn build(&self) -> Result<X509Extension, ErrorStack>[src]
pub fn build(&self) -> Result<X509Extension, ErrorStack>Return the ExtendedKeyUsage extension as an X509Extension.
Auto Trait Implementations
impl Send for ExtendedKeyUsage
impl Send for ExtendedKeyUsageimpl Sync for ExtendedKeyUsage
impl Sync for ExtendedKeyUsage