Struct safe_core::ffi::MDataInfo [] [src]

#[repr(C)]
pub struct MDataInfo { pub name: XorNameArray, pub type_tag: u64, pub has_enc_info: bool, pub enc_key: SymSecretKey, pub enc_nonce: SymNonce, pub has_new_enc_info: bool, pub new_enc_key: SymSecretKey, pub new_enc_nonce: SymNonce, }

FFI wrapper for MDataInfo.

Fields

Name of the mutable data.

Type tag of the mutable data.

Flag indicating whether the encryption info (enc_key and enc_nonce). is set.

Encryption key. Meaningful only if has_enc_info is true.

Encryption nonce. Meaningful only if has_enc_info is true.

Flag indicating whether the new encryption info is set.

New encryption key (used for two-phase reencryption). Meaningful only if has_new_enc_info is true.

New encryption nonce (used for two-phase reencryption). Meaningful only if has_new_enc_info is true.

Trait Implementations

impl Clone for MDataInfo
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more