Struct rustls_cng::signer::CngSigningKey
source · 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 more§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