Struct safe_core::ipc::resp::AppKeys
[−]
[src]
pub struct AppKeys { pub owner_key: PublicKey, pub enc_key: Key, pub sign_pk: PublicKey, pub sign_sk: SecretKey, pub enc_pk: PublicKey, pub enc_sk: SecretKey, }
Represents the needed keys to work with the data
Fields
owner_key: PublicKey
Owner signing public key.
enc_key: Key
Data symmetric encryption key
sign_pk: PublicKey
Asymmetric sign public key.
This is the identity of the App in the Network.
sign_sk: SecretKey
Asymmetric sign private key.
enc_pk: PublicKey
Asymmetric enc public key.
enc_sk: SecretKey
Asymmetric enc private key.
Methods
impl AppKeys
[src]
fn random(owner_key: PublicKey) -> AppKeys
[src]
Generate random keys
fn into_repr_c(self) -> AppKeys
[src]
Consumes the object and returns the wrapped raw pointer
You're now responsible for freeing this memory once you're done.
Trait Implementations
impl Clone for AppKeys
[src]
fn clone(&self) -> AppKeys
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Debug for AppKeys
[src]
impl Eq for AppKeys
[src]
impl PartialEq for AppKeys
[src]
fn eq(&self, __arg_0: &AppKeys) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &AppKeys) -> bool
[src]
This method tests for !=
.