pub struct NoSigningKey;Expand description
A non-functional signing key implementation that performs no actual signing.
This struct implements rustls::sign::SigningKey.
It’s used internally by NoCertResolver.
Trait Implementations§
Source§impl Debug for NoSigningKey
impl Debug for NoSigningKey
Source§impl Default for NoSigningKey
impl Default for NoSigningKey
Source§fn default() -> NoSigningKey
fn default() -> NoSigningKey
Returns the “default value” for a type. Read more
Source§impl SigningKey for NoSigningKey
impl SigningKey for NoSigningKey
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 NoSigningKey
impl RefUnwindSafe for NoSigningKey
impl Send for NoSigningKey
impl Sync for NoSigningKey
impl Unpin for NoSigningKey
impl UnsafeUnpin for NoSigningKey
impl UnwindSafe for NoSigningKey
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