pub enum KeyFileFormat {
Raw,
Base64,
Pem,
Der,
}
Expand description
Enumeration of YACA key file formats
Variants§
Raw
Key file is in raw binary format, used for symmetric keys
Base64
Key file is encoded in ASCII-base64, used for symmetric keys
Pem
Key file is in PEM file format, used for asymmetric keys
Der
Key file is in DER file format, used for asymmetric keys
Trait Implementations§
Source§impl Debug for KeyFileFormat
impl Debug for KeyFileFormat
Source§impl PartialEq for KeyFileFormat
impl PartialEq for KeyFileFormat
impl StructuralPartialEq for KeyFileFormat
Auto Trait Implementations§
impl Freeze for KeyFileFormat
impl RefUnwindSafe for KeyFileFormat
impl Send for KeyFileFormat
impl Sync for KeyFileFormat
impl Unpin for KeyFileFormat
impl UnwindSafe for KeyFileFormat
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