Struct ntrumls::PrivateKey
[−]
[src]
pub struct PrivateKey { /* 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 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 !=
.
impl Eq for PrivateKey
[src]
impl Debug for PrivateKey
[src]
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