pub enum DomainKeyPurpose {
AeadContentKey,
AeadWrapKey,
AuthProofKey,
ManifestCommitmentKey,
}Expand description
Named purpose that binds a derived domain key to a specific use.
Variants§
AeadContentKey
Key used to encrypt content with an AEAD.
AeadWrapKey
Key used to wrap (encrypt) other keys with an AEAD.
AuthProofKey
Key used to produce authentication proofs.
ManifestCommitmentKey
Key used to commit to a manifest.
Trait Implementations§
Source§impl Clone for DomainKeyPurpose
impl Clone for DomainKeyPurpose
Source§fn clone(&self) -> DomainKeyPurpose
fn clone(&self) -> DomainKeyPurpose
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 DomainKeyPurpose
Source§impl Debug for DomainKeyPurpose
impl Debug for DomainKeyPurpose
impl Eq for DomainKeyPurpose
Source§impl Hash for DomainKeyPurpose
impl Hash for DomainKeyPurpose
Source§impl PartialEq for DomainKeyPurpose
impl PartialEq for DomainKeyPurpose
impl StructuralPartialEq for DomainKeyPurpose
Auto Trait Implementations§
impl Freeze for DomainKeyPurpose
impl RefUnwindSafe for DomainKeyPurpose
impl Send for DomainKeyPurpose
impl Sync for DomainKeyPurpose
impl Unpin for DomainKeyPurpose
impl UnsafeUnpin for DomainKeyPurpose
impl UnwindSafe for DomainKeyPurpose
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