pub struct EnvelopedKeyData {
pub version: u32,
pub sym_alg_id: u32,
pub bits: u32,
pub encrypted_pri_key: [u8; 64],
pub pub_key: ECCPublicKeyBlob,
pub ecc_cipher: ECCEncryptedData,
}
Expand description
ECC Enveloped key,Wrapper of DST EnvelopedKeyBlob
Fields§
§version: u32
§sym_alg_id: u32
§bits: u32
§encrypted_pri_key: [u8; 64]
§pub_key: ECCPublicKeyBlob
§ecc_cipher: ECCEncryptedData
Implementations§
Source§impl EnvelopedKeyData
impl EnvelopedKeyData
Sourcepub fn blob_bytes(&self) -> Vec<u8> ⓘ
pub fn blob_bytes(&self) -> Vec<u8> ⓘ
Convert to bytes of EnvelopedKeyBlob
Trait Implementations§
Source§impl Debug for EnvelopedKeyData
impl Debug for EnvelopedKeyData
Auto Trait Implementations§
impl Freeze for EnvelopedKeyData
impl RefUnwindSafe for EnvelopedKeyData
impl Send for EnvelopedKeyData
impl Sync for EnvelopedKeyData
impl Unpin for EnvelopedKeyData
impl UnwindSafe for EnvelopedKeyData
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