PublicKey

Trait PublicKey 

Source
pub trait PublicKey {
    // Required methods
    fn id(&self) -> &Url;
    fn owner(&self) -> &Url;
    fn public_key_pem(&self) -> &str;
}
Expand description

A type that represents a Public Key

Required Methods§

Source

fn id(&self) -> &Url

The Public Key’s ID

Source

fn owner(&self) -> &Url

The Public Key’s Owner

Source

fn public_key_pem(&self) -> &str

The Public Key’s pem-encoded value

Implementations on Foreign Types§

Source§

impl<'a, T> PublicKey for &'a T
where T: PublicKey,

Source§

fn id(&self) -> &Url

Source§

fn owner(&self) -> &Url

Source§

fn public_key_pem(&self) -> &str

Source§

impl<'a, T> PublicKey for &'a mut T
where T: PublicKey,

Source§

fn id(&self) -> &Url

Source§

fn owner(&self) -> &Url

Source§

fn public_key_pem(&self) -> &str

Source§

impl<T> PublicKey for Box<T>
where T: PublicKey,

Source§

fn id(&self) -> &Url

Source§

fn owner(&self) -> &Url

Source§

fn public_key_pem(&self) -> &str

Source§

impl<T> PublicKey for Rc<T>
where T: PublicKey,

Source§

fn id(&self) -> &Url

Source§

fn owner(&self) -> &Url

Source§

fn public_key_pem(&self) -> &str

Source§

impl<T> PublicKey for Arc<T>
where T: PublicKey,

Source§

fn id(&self) -> &Url

Source§

fn owner(&self) -> &Url

Source§

fn public_key_pem(&self) -> &str

Implementors§