Trait rustls::sign::SigningKey [−][src]
pub trait SigningKey: Send + Sync { fn choose_scheme(
&self,
offered: &[SignatureScheme]
) -> Option<Box<dyn Signer>>; fn algorithm(&self) -> SignatureAlgorithm; }
Expand description
An abstract signing key.
Required methods
fn choose_scheme(&self, offered: &[SignatureScheme]) -> Option<Box<dyn Signer>>[src]
fn choose_scheme(&self, offered: &[SignatureScheme]) -> Option<Box<dyn Signer>>[src]Choose a SignatureScheme from those offered.
Expresses the choice something that implements Signer,
using the chosen scheme.
fn algorithm(&self) -> SignatureAlgorithm[src]
fn algorithm(&self) -> SignatureAlgorithm[src]What kind of key we have.
Implementors
impl SigningKey for RSASigningKey[src]
impl SigningKey for RSASigningKey[src]