Trait dco3_crypto::PublicKey
source · pub trait PublicKey {
// Required method
fn get_public_key(&self) -> &PublicKeyContainer;
}
Expand description
Trait to get only the public key container of either a public key or a user keypair container
Required Methods§
fn get_public_key(&self) -> &PublicKeyContainer
Implementors§
impl PublicKey for PlainUserKeyPairContainer
Returns only the public key container as reference of a plain user keypair container
impl PublicKey for PublicKeyContainer
Returns the public key of a public key container as reference