Struct openssl::pkey::Id[][src]

pub struct Id(_);

An identifier of a kind of key.

Methods

impl Id
[src]

Creates a Id from an integer representation.

Returns the integer representation of the Id.

RSA: Id = Id(ffi::EVP_PKEY_RSA)

HMAC: Id = Id(ffi::EVP_PKEY_HMAC)

DSA: Id = Id(ffi::EVP_PKEY_DSA)

DH: Id = Id(ffi::EVP_PKEY_DH)

EC: Id = Id(ffi::EVP_PKEY_EC)

Trait Implementations

impl Debug for Id
[src]

Formats the value using the given formatter. Read more

impl Copy for Id
[src]

impl Clone for Id
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl PartialEq for Id
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Eq for Id
[src]

Auto Trait Implementations

impl Send for Id

impl Sync for Id