pub enum MldsaKeyFormat {
Pem,
Der,
}Expand description
Formats that can be used to represent ML-DSA keys: PKCS#8 for private keys,
and SubjectPublicKeyInfo for public keys.
Variants§
Implementations§
Trait Implementations§
Source§impl Clone for MldsaKeyFormat
impl Clone for MldsaKeyFormat
Source§fn clone(&self) -> MldsaKeyFormat
fn clone(&self) -> MldsaKeyFormat
Returns a duplicate 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 moreSource§impl Debug for MldsaKeyFormat
impl Debug for MldsaKeyFormat
Source§impl Default for MldsaKeyFormat
impl Default for MldsaKeyFormat
Source§fn default() -> MldsaKeyFormat
fn default() -> MldsaKeyFormat
Returns the “default value” for a type. Read more
Source§impl Display for MldsaKeyFormat
impl Display for MldsaKeyFormat
Source§impl FromStr for MldsaKeyFormat
impl FromStr for MldsaKeyFormat
Source§impl PartialEq for MldsaKeyFormat
impl PartialEq for MldsaKeyFormat
Source§impl TryFrom<&str> for MldsaKeyFormat
impl TryFrom<&str> for MldsaKeyFormat
impl Copy for MldsaKeyFormat
impl Eq for MldsaKeyFormat
impl StructuralPartialEq for MldsaKeyFormat
Auto Trait Implementations§
impl Freeze for MldsaKeyFormat
impl RefUnwindSafe for MldsaKeyFormat
impl Send for MldsaKeyFormat
impl Sync for MldsaKeyFormat
impl Unpin for MldsaKeyFormat
impl UnwindSafe for MldsaKeyFormat
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