pub struct AuthorityKeyIdentifier { /* private fields */ }
Expand description
An extension that provides a means of identifying the public key corresponding to the private key used to sign a CRL.
Implementations§
Source§impl AuthorityKeyIdentifier
impl AuthorityKeyIdentifier
Sourcepub fn new() -> AuthorityKeyIdentifier
pub fn new() -> AuthorityKeyIdentifier
Construct a new AuthorityKeyIdentifier
extension.
Sourcepub fn critical(&mut self) -> &mut AuthorityKeyIdentifier
pub fn critical(&mut self) -> &mut AuthorityKeyIdentifier
Sets the critical
flag to true
. The extension will be critical.
Sourcepub fn keyid(&mut self, always: bool) -> &mut AuthorityKeyIdentifier
pub fn keyid(&mut self, always: bool) -> &mut AuthorityKeyIdentifier
Sets the keyid
flag.
Sourcepub fn issuer(&mut self, always: bool) -> &mut AuthorityKeyIdentifier
pub fn issuer(&mut self, always: bool) -> &mut AuthorityKeyIdentifier
Sets the issuer
flag.
Sourcepub fn build(
&self,
ctx: &X509v3Context<'_>,
) -> Result<X509Extension, ErrorStack>
pub fn build( &self, ctx: &X509v3Context<'_>, ) -> Result<X509Extension, ErrorStack>
Return a AuthorityKeyIdentifier
extension as an X509Extension
.
Trait Implementations§
Source§impl Default for AuthorityKeyIdentifier
impl Default for AuthorityKeyIdentifier
Source§fn default() -> AuthorityKeyIdentifier
fn default() -> AuthorityKeyIdentifier
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for AuthorityKeyIdentifier
impl RefUnwindSafe for AuthorityKeyIdentifier
impl Send for AuthorityKeyIdentifier
impl Sync for AuthorityKeyIdentifier
impl Unpin for AuthorityKeyIdentifier
impl UnwindSafe for AuthorityKeyIdentifier
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more