Loading openssl/src/x509/extension.rs +6 −0 Original line number Diff line number Diff line Loading @@ -290,6 +290,12 @@ impl ExtendedKeyUsage { self } /// Sets the `emailProtection` flag to `true`. pub fn email_protection(&mut self) -> &mut ExtendedKeyUsage { self.email_protection = true; self } /// Sets the `timeStamping` flag to `true`. pub fn time_stamping(&mut self) -> &mut ExtendedKeyUsage { self.time_stamping = true; Loading Loading
openssl/src/x509/extension.rs +6 −0 Original line number Diff line number Diff line Loading @@ -290,6 +290,12 @@ impl ExtendedKeyUsage { self } /// Sets the `emailProtection` flag to `true`. pub fn email_protection(&mut self) -> &mut ExtendedKeyUsage { self.email_protection = true; self } /// Sets the `timeStamping` flag to `true`. pub fn time_stamping(&mut self) -> &mut ExtendedKeyUsage { self.time_stamping = true; Loading