#[non_exhaustive]pub enum WrappedKeyFormat {
Cms,
AesKeyWrap,
RsaOaep,
}Expand description
Output format family, derived from WrapAlgorithm.
Used for display, artifact metadata, and compatibility checking.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Cms
CMS ContentInfo DER.
AesKeyWrap
Raw AES Key Wrap bytes (RFC 3394 / RFC 5649).
RsaOaep
Raw RSA-OAEP encrypted bytes.
Trait Implementations§
Source§impl Clone for WrappedKeyFormat
impl Clone for WrappedKeyFormat
Source§fn clone(&self) -> WrappedKeyFormat
fn clone(&self) -> WrappedKeyFormat
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for WrappedKeyFormat
Source§impl Debug for WrappedKeyFormat
impl Debug for WrappedKeyFormat
Source§impl<'de> Deserialize<'de> for WrappedKeyFormat
impl<'de> Deserialize<'de> for WrappedKeyFormat
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for WrappedKeyFormat
Source§impl PartialEq for WrappedKeyFormat
impl PartialEq for WrappedKeyFormat
Source§fn eq(&self, other: &WrappedKeyFormat) -> bool
fn eq(&self, other: &WrappedKeyFormat) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for WrappedKeyFormat
impl Serialize for WrappedKeyFormat
impl StructuralPartialEq for WrappedKeyFormat
Auto Trait Implementations§
impl Freeze for WrappedKeyFormat
impl RefUnwindSafe for WrappedKeyFormat
impl Send for WrappedKeyFormat
impl Sync for WrappedKeyFormat
impl Unpin for WrappedKeyFormat
impl UnsafeUnpin for WrappedKeyFormat
impl UnwindSafe for WrappedKeyFormat
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