Struct routing::FullId
[−]
[src]
pub struct FullId { /* fields omitted */ }
Network identity component containing name, and public and private keys.
Methods
impl FullId
[src]
fn new() -> FullId
[src]
Construct a FullId
with newly generated keys.
fn with_keys(
encrypt_keys: (PublicKey, SecretKey),
sign_keys: (PublicKey, SecretKey)
) -> FullId
[src]
encrypt_keys: (PublicKey, SecretKey),
sign_keys: (PublicKey, SecretKey)
) -> FullId
Construct with given keys (client requirement).
fn within_range(start: &XorName, end: &XorName) -> FullId
[src]
Construct a FullId
whose name is in the interval start, end.
FIXME(Fraser) - time limit this function? Document behaviour
fn public_id(&self) -> &PublicId
[src]
Returns public ID reference.
fn public_id_mut(&mut self) -> &mut PublicId
[src]
Returns mutable reference to public ID.
fn signing_private_key(&self) -> &SecretKey
[src]
Secret signing key.
fn encrypting_private_key(&self) -> &SecretKey
[src]
Private encryption key.
Trait Implementations
impl Clone for FullId
[src]
fn clone(&self) -> FullId
[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