Struct ntrumls::PublicKey [] [src]

pub struct PublicKey {
    // some fields omitted
}

NTRUMLS public key

Methods

impl PublicKey
[src]

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

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

fn clone(&self) -> PublicKey

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

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

Formats the value using the given formatter.

impl Eq for PublicKey
[src]

impl PartialEq for PublicKey
[src]

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

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

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

This method tests for !=.