pub struct AgileEncryptionParams {
pub password_salt_b64: String,
pub data_salt_b64: String,
pub spin_count: u32,
pub encrypted_key_value_b64: String,
pub encrypted_verifier_hash_input_b64: String,
pub encrypted_verifier_hash_value_b64: String,
}Expand description
Agile Encryption 参数。
对应 EncryptionInfo XML 流中的加密参数。
使用 AES-256-CBC + SHA-512,符合 Office 2016+ 默认加密标准。
Fields§
§password_salt_b64: String密码 salt(16 字节,base64 编码)。
data_salt_b64: String数据 salt(16 字节,base64 编码)。
spin_count: u32密码迭代次数。
encrypted_key_value_b64: String加密后的数据密钥(base64 编码)。
encrypted_verifier_hash_input_b64: String加密后的验证器哈希输入(base64 编码)。
encrypted_verifier_hash_value_b64: String加密后的验证器哈希值(base64 编码)。
Trait Implementations§
Source§impl Clone for AgileEncryptionParams
impl Clone for AgileEncryptionParams
Source§fn clone(&self) -> AgileEncryptionParams
fn clone(&self) -> AgileEncryptionParams
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 moreAuto Trait Implementations§
impl Freeze for AgileEncryptionParams
impl RefUnwindSafe for AgileEncryptionParams
impl Send for AgileEncryptionParams
impl Sync for AgileEncryptionParams
impl Unpin for AgileEncryptionParams
impl UnsafeUnpin for AgileEncryptionParams
impl UnwindSafe for AgileEncryptionParams
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