Trait hyper_static_server::rustls::sign::SigningKey[]

pub trait SigningKey: Send + Sync {
    pub fn choose_scheme(
        &self,
        offered: &[SignatureScheme]
    ) -> Option<Box<dyn Signer + 'static, Global>>;
pub fn algorithm(&self) -> SignatureAlgorithm; }

An abstract signing key.

Required methods

pub fn choose_scheme(
    &self,
    offered: &[SignatureScheme]
) -> Option<Box<dyn Signer + 'static, Global>>

Choose a SignatureScheme from those offered.

Expresses the choice by returning something that implements Signer, using the chosen scheme.

pub fn algorithm(&self) -> SignatureAlgorithm

What kind of key we have.

Loading content...

Implementors

impl SigningKey for RSASigningKey

Loading content...