Struct rsign::types::SeckeyStruct
[−]
[src]
pub struct SeckeyStruct { pub sig_alg: [u8; 2], pub kdf_alg: [u8; 2], pub chk_alg: [u8; 2], pub kdf_salt: [u8; 32], pub kdf_opslimit_le: [u8; 8], pub kdf_memlimit_le: [u8; 8], pub keynum_sk: KeynumSK, }
Fields
sig_alg: [u8; 2]
kdf_alg: [u8; 2]
chk_alg: [u8; 2]
kdf_salt: [u8; 32]
kdf_opslimit_le: [u8; 8]
kdf_memlimit_le: [u8; 8]
keynum_sk: KeynumSK
Methods
impl SeckeyStruct
[src]
fn from(bytes_buf: &[u8]) -> Result<SeckeyStruct>
[src]
fn bytes(&self) -> Vec<u8>
[src]
fn write_checksum(&mut self) -> Result<()>
[src]
fn read_checksum(&self) -> Result<Vec<u8>>
[src]
fn xor_keynum(&mut self, stream: &[u8])
[src]
Trait Implementations
impl Debug for SeckeyStruct
[src]
impl PartialEq for SeckeyStruct
[src]
fn eq(&self, other: &SeckeyStruct) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
This method tests for !=
.