Struct ntrumls::PrivateKey [] [src]

pub struct PrivateKey {
    // some fields omitted
}

NTRUMLS private key

Methods

impl PrivateKey
[src]

fn import(bytes: &[u8]) -> PrivateKey

Import the actual bytes of the key to the struct

fn get_bytes(&self) -> &[u8]

Get the byte slice of the key

Trait Implementations

impl Clone for PrivateKey
[src]

fn clone(&self) -> PrivateKey

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 Debug for PrivateKey
[src]

fn fmt(&self, __arg_0: &mut Formatter) -> Result

Formats the value using the given formatter.

impl Eq for PrivateKey
[src]

impl PartialEq for PrivateKey
[src]

fn eq(&self, __arg_0: &PrivateKey) -> bool

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

fn ne(&self, __arg_0: &PrivateKey) -> bool

This method tests for !=.