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

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

Represents a role an asymmetric key might be appropriate for.

Variants

EncryptDecryptSignVerify

Trait Implementations

impl Clone for Role
[src]

fn clone(&self) -> Role

Returns a copy of the value. Read more

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

Performs copy-assignment from source. Read more

impl Copy for Role
[src]