Struct openssl::pkey::Id [−][src]
pub struct Id(_);
An identifier of a kind of key.
Methods
impl Id[src]
impl Idpub fn from_raw(value: c_int) -> Id[src]
pub fn from_raw(value: c_int) -> IdCreates a Id from an integer representation.
pub fn as_raw(&self) -> c_int[src]
pub fn as_raw(&self) -> c_intReturns the integer representation of the Id.
pub const RSA: Id
RSA: Id = Id(ffi::EVP_PKEY_RSA)
pub const HMAC: Id
HMAC: Id = Id(ffi::EVP_PKEY_HMAC)
pub const DSA: Id
DSA: Id = Id(ffi::EVP_PKEY_DSA)
pub const DH: Id
DH: Id = Id(ffi::EVP_PKEY_DH)
pub const EC: Id
EC: Id = Id(ffi::EVP_PKEY_EC)
Trait Implementations
impl Debug for Id[src]
impl Debug for Idfn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl Copy for Id[src]
impl Copy for Idimpl Clone for Id[src]
impl Clone for Idfn clone(&self) -> Id[src]
fn clone(&self) -> IdReturns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
fn clone_from(&mut self, source: &Self)1.0.0
[src]Performs copy-assignment from source. Read more
impl PartialEq for Id[src]
impl PartialEq for Idfn eq(&self, other: &Id) -> bool[src]
fn eq(&self, other: &Id) -> boolThis method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, other: &Id) -> bool[src]
fn ne(&self, other: &Id) -> boolThis method tests for !=.
impl Eq for Id[src]
impl Eq for Id