Struct openssl::x509::extension::AuthorityKeyIdentifier [−][src]
pub struct AuthorityKeyIdentifier { /* fields omitted */ }
An extension that provides a means of identifying the public key corresponding to the private key used to sign a CRL.
Implementations
impl AuthorityKeyIdentifier
[src]
impl AuthorityKeyIdentifier
[src]pub fn new() -> AuthorityKeyIdentifier
[src]
Construct a new AuthorityKeyIdentifier
extension.
pub fn critical(&mut self) -> &mut AuthorityKeyIdentifier
[src]
Sets the critical
flag to true
. The extension will be critical.
pub fn keyid(&mut self, always: bool) -> &mut AuthorityKeyIdentifier
[src]
Sets the keyid
flag.
pub fn issuer(&mut self, always: bool) -> &mut AuthorityKeyIdentifier
[src]
Sets the issuer
flag.
pub fn build(
&self,
ctx: &X509v3Context<'_>
) -> Result<X509Extension, ErrorStack>
[src]
&self,
ctx: &X509v3Context<'_>
) -> Result<X509Extension, ErrorStack>
Return a AuthorityKeyIdentifier
extension as an X509Extension
.
Trait Implementations
impl Default for AuthorityKeyIdentifier
[src]
impl Default for AuthorityKeyIdentifier
[src]