Enum openssl::crypto::pkey::Role [] [src]

pub enum Role {
    Encrypt,
    Decrypt,
    Sign,
    Verify,
}

Represents a role an asymmetric key might be appropriate for.

Variants

Encrypt
Decrypt
Sign
Verify

Trait Implementations

Derived Implementations

impl Clone for Role

fn clone(&self) -> Role

fn clone_from(&mut self, source: &Self)

impl Copy for Role