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 signing public key.

Data symmetric encryption key

Asymmetric sign public key.

This is the identity of the App in the Network.

Asymmetric sign private key.

Asymmetric enc public key.

Asymmetric enc private key.

Methods

impl AppKeys
[src]

[src]

Generate random keys

[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]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for AppKeys
[src]

[src]

Formats the value using the given formatter.

impl Eq for AppKeys
[src]

impl PartialEq for AppKeys
[src]

[src]

This method tests for self and other values to be equal, and is used by ==. Read more

[src]

This method tests for !=.

impl ReprC for AppKeys
[src]

C representation of the type

Error type

[src]

Converts from a raw type into an owned type by cloning data