Trait PublicKeyData

pub trait PublicKeyData {
    // Required methods
    fn der_bytes(&self) -> &[u8] ;
    fn algorithm(&self) -> &SignatureAlgorithm;
}
Expand description

The public key data of a key pair

Required Methods§

fn der_bytes(&self) -> &[u8]

The public key in DER format

fn algorithm(&self) -> &SignatureAlgorithm

The algorithm used by the key pair

Implementors§