Enum keyutils::KeyctlEncoding
source · pub enum KeyctlEncoding {
RsassaPkcs1V15,
RsaesPkcs1V15,
RsassaPss,
RsaesOaep,
OtherEncoding(Cow<'static, str>),
}
Expand description
Encodings supported by the kernel.
Variants§
RsassaPkcs1V15
The RSASSA-PKCS1-v1.5 encoding.
RsaesPkcs1V15
The RSAES-PKCS1-v1.5 encoding.
RsassaPss
The RSASSA-PSS encoding.
RsaesOaep
The RSAES-OAEP encoding.
OtherEncoding(Cow<'static, str>)
For extensibility.
Trait Implementations§
source§impl Clone for KeyctlEncoding
impl Clone for KeyctlEncoding
source§fn clone(&self) -> KeyctlEncoding
fn clone(&self) -> KeyctlEncoding
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations§
impl RefUnwindSafe for KeyctlEncoding
impl Send for KeyctlEncoding
impl Sync for KeyctlEncoding
impl Unpin for KeyctlEncoding
impl UnwindSafe for KeyctlEncoding
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more