pub struct SubjectKeyIdentifier { /* private fields */ }
Expand description
An extension that provides a means of identifying certificates that contain a particular public key.
Implementations§
Source§impl SubjectKeyIdentifier
impl SubjectKeyIdentifier
Sourcepub fn new() -> SubjectKeyIdentifier
pub fn new() -> SubjectKeyIdentifier
Construct a new SubjectKeyIdentifier
extension.
Sourcepub fn critical(&mut self) -> &mut SubjectKeyIdentifier
pub fn critical(&mut self) -> &mut SubjectKeyIdentifier
Sets the critical
flag to true
. The extension will be critical.
Sourcepub fn build(
&self,
ctx: &X509v3Context<'_>,
) -> Result<X509Extension, ErrorStack>
pub fn build( &self, ctx: &X509v3Context<'_>, ) -> Result<X509Extension, ErrorStack>
Return a SubjectKeyIdentifier
extension as an X509Extension
.
Trait Implementations§
Source§impl Default for SubjectKeyIdentifier
impl Default for SubjectKeyIdentifier
Source§fn default() -> SubjectKeyIdentifier
fn default() -> SubjectKeyIdentifier
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for SubjectKeyIdentifier
impl RefUnwindSafe for SubjectKeyIdentifier
impl Send for SubjectKeyIdentifier
impl Sync for SubjectKeyIdentifier
impl Unpin for SubjectKeyIdentifier
impl UnwindSafe for SubjectKeyIdentifier
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