Trait em_app::ExternalKey

source ·
pub trait ExternalKey {
    fn get_public_key_der(&mut self) -> Result<Vec<u8>, Error>;
    fn sign_sha256(&mut self, input: &[u8]) -> Result<Vec<u8>, Error>;
}
Expand description

Operations needed on any input key pair. This is already implemented for mbedtls::Pk.

Required Methods§

Implementations on Foreign Types§

Implementors§