pub struct CngSigningKey { /* private fields */ }Expand description
Custom implementation of rustls SigningKey trait
Implementations§
Source§impl CngSigningKey
impl CngSigningKey
Sourcepub fn algorithm_group(&self) -> &AlgorithmGroup
pub fn algorithm_group(&self) -> &AlgorithmGroup
Return algorithm group of the key
Sourcepub fn supported_schemes(&self) -> &[SignatureScheme]
pub fn supported_schemes(&self) -> &[SignatureScheme]
Return supported signature schemes
Trait Implementations§
Source§impl Debug for CngSigningKey
impl Debug for CngSigningKey
Source§impl SigningKey for CngSigningKey
impl SigningKey for CngSigningKey
Source§fn choose_scheme(&self, offered: &[SignatureScheme]) -> Option<Box<dyn Signer>>
fn choose_scheme(&self, offered: &[SignatureScheme]) -> Option<Box<dyn Signer>>
Choose a
SignatureScheme from those offered. Read moreSource§fn algorithm(&self) -> SignatureAlgorithm
fn algorithm(&self) -> SignatureAlgorithm
What kind of key we have.
Source§fn public_key(&self) -> Option<SubjectPublicKeyInfoDer<'_>>
fn public_key(&self) -> Option<SubjectPublicKeyInfoDer<'_>>
Get the RFC 5280-compliant SubjectPublicKeyInfo (SPKI) of this
SigningKey if available.Auto Trait Implementations§
impl Freeze for CngSigningKey
impl RefUnwindSafe for CngSigningKey
impl Send for CngSigningKey
impl Sync for CngSigningKey
impl Unpin for CngSigningKey
impl UnwindSafe for CngSigningKey
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