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