Struct routing::FullId [] [src]

pub struct FullId {
    // some fields omitted
}

Network identity component containing name, and public and private keys.

Methods

impl FullId
[src]

fn new() -> FullId

Construct a FullId with newly generated keys.

fn with_keys(encrypt_keys: (PublicKey, SecretKey), sign_keys: (PublicKey, SecretKey)) -> FullId

Construct with given keys, (Client requirement).

fn public_id(&self) -> &PublicId

Returns public ID reference.

fn public_id_mut(&mut self) -> &mut PublicId

Returns mutable reference to public ID.

fn signing_private_key(&self) -> &SecretKey

Secret signing key.

fn encrypting_private_key(&self) -> &SecretKey

Private encryption key.

Trait Implementations

impl Clone for FullId
[src]

fn clone(&self) -> FullId

Returns a copy of the value. Read more

fn clone_from(&mut self, source: &Self)
1.0.0

Performs copy-assignment from source. Read more

impl Default for FullId
[src]

fn default() -> FullId

Returns the "default value" for a type. Read more