pub struct Id(_);
Expand description
An identifier of a kind of key.
Implementations
sourceimpl Id
impl Id
pub const RSA: Id = Id(ffi::EVP_PKEY_RSA)
pub const HMAC: Id = Id(ffi::EVP_PKEY_HMAC)
pub const CMAC: Id = Id(ffi::EVP_PKEY_CMAC)
pub const DSA: Id = Id(ffi::EVP_PKEY_DSA)
pub const DH: Id = Id(ffi::EVP_PKEY_DH)
pub const EC: Id = Id(ffi::EVP_PKEY_EC)
pub const HKDF: Id = Id(ffi::EVP_PKEY_HKDF)
pub const ED25519: Id = Id(ffi::EVP_PKEY_ED25519)
pub const ED448: Id = Id(ffi::EVP_PKEY_ED448)
pub const X25519: Id = Id(ffi::EVP_PKEY_X25519)
pub const X448: Id = Id(ffi::EVP_PKEY_X448)
Trait Implementations
impl Copy for Id
impl Eq for Id
impl StructuralEq for Id
impl StructuralPartialEq for Id
Auto Trait Implementations
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more