pub struct PathEncryption {
pub root_key_id: String,
pub public_key_jwk: PublicKeyJwk,
}Expand description
Config for protocol-path encryption scheme.
Fields§
§root_key_id: StringThe ID of the root key that derives the public key at this protocol path for encrypting the symmetric key used for data encryption.
public_key_jwk: PublicKeyJwkPublic key for encrypting the symmetric key used for data encryption.
Trait Implementations§
Source§impl Clone for PathEncryption
impl Clone for PathEncryption
Source§fn clone(&self) -> PathEncryption
fn clone(&self) -> PathEncryption
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 PathEncryption
impl Debug for PathEncryption
Source§impl Default for PathEncryption
impl Default for PathEncryption
Source§fn default() -> PathEncryption
fn default() -> PathEncryption
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for PathEncryption
impl<'de> Deserialize<'de> for PathEncryption
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
Auto Trait Implementations§
impl Freeze for PathEncryption
impl RefUnwindSafe for PathEncryption
impl Send for PathEncryption
impl Sync for PathEncryption
impl Unpin for PathEncryption
impl UnwindSafe for PathEncryption
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