pub trait ExternalKey {
// Required methods
fn get_public_key_der(&mut self) -> Result<Vec<u8>, Error>;
fn sign_sha256(
&mut self,
input: &[u8],
) -> Result<(Vec<u8>, SignatureAlgorithm), Error>;
}Expand description
Operations needed on any input key pair. This is already implemented for mbedtls::Pk.