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