[][src]Struct networking::encryption::PrivKeyComp

pub struct PrivKeyComp { /* fields omitted */ }

private key version of PubKeyComp

Implementations

impl PrivKeyComp[src]

pub fn n(&self) -> &BigNum[src]

pub fn e(&self) -> &BigNum[src]

pub fn d(&self) -> &BigNum[src]

pub fn primes(&self) -> &Vec<BigNum>[src]

pub fn into_components(self) -> (BigNum, BigNum, BigNum, Vec<BigNum>)[src]

pub fn generate() -> Result<Self>[src]

used to create the key (should only be run once per host owing to the long execution time) designed for use in the installer only

Trait Implementations

impl Clone for PrivKeyComp[src]

impl Debug for PrivKeyComp[src]

impl<'de> Deserialize<'de> for PrivKeyComp[src]

impl Eq for PrivKeyComp[src]

impl<'_> From<&'_ PrivKeyComp> for PubKeyComp[src]

impl<'_> From<&'_ PrivKeyComp> for RSAPrivateKey[src]

impl<'_> From<&'_ RSAPrivateKey> for PrivKeyComp[src]

impl Ord for PrivKeyComp[src]

impl PartialEq<PrivKeyComp> for PrivKeyComp[src]

impl PartialOrd<PrivKeyComp> for PrivKeyComp[src]

impl Serialize for PrivKeyComp[src]

impl StructuralEq for PrivKeyComp[src]

impl StructuralPartialEq for PrivKeyComp[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<V> HashValue for V where
    V: 'static + Debug + Serialize + DeserializeOwned + Send + Clone + Sync
[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,