Struct openssl::x509::extension::SubjectKeyIdentifier
source · 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