pub struct EncryptedPkm {
pub serial_number: SerialNumber,
pub key_data: PrivateKeyInfo,
pub encryption_algorithm: AlgorithmIdentifierOwned,
}Expand description
A private key material structure for storing encrypted private key material on a home server.
For more information, such as how this type is represented in JSON, see the
type definition of EncryptedPKM on the polyproto documentation website
Fields§
§serial_number: SerialNumberThe serial number of the certificate that this private key material is associated with.
key_data: PrivateKeyInfoThe encrypted private key material, along with the signature algorithm of the private key.
encryption_algorithm: AlgorithmIdentifierOwnedThe encryption algorithm used to encrypt the private key material.
Trait Implementations§
Source§impl Clone for EncryptedPkm
impl Clone for EncryptedPkm
Source§fn clone(&self) -> EncryptedPkm
fn clone(&self) -> EncryptedPkm
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 moreSource§impl Debug for EncryptedPkm
impl Debug for EncryptedPkm
Source§impl<'de> Deserialize<'de> for EncryptedPkm
impl<'de> Deserialize<'de> for EncryptedPkm
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 EncryptedPkm
Source§impl PartialEq for EncryptedPkm
impl PartialEq for EncryptedPkm
Source§fn eq(&self, other: &EncryptedPkm) -> bool
fn eq(&self, other: &EncryptedPkm) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for EncryptedPkm
impl Serialize for EncryptedPkm
impl StructuralPartialEq for EncryptedPkm
Auto Trait Implementations§
impl Freeze for EncryptedPkm
impl RefUnwindSafe for EncryptedPkm
impl Send for EncryptedPkm
impl Sync for EncryptedPkm
impl Unpin for EncryptedPkm
impl UnsafeUnpin for EncryptedPkm
impl UnwindSafe for EncryptedPkm
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