[][src]Struct tink_proto::Ed25519PrivateKey

pub struct Ed25519PrivateKey {
    pub version: u32,
    pub key_value: Vec<u8>,
    pub public_key: Option<Ed25519PublicKey>,
}

key_type: type.googleapis.com/google.crypto.tink.Ed25519PrivateKey

Fields

version: u32

Required.

key_value: Vec<u8>

The private key is 32 bytes of cryptographically secure random data. See https://tools.ietf.org/html/rfc8032#section-5.1.5. Required.

public_key: Option<Ed25519PublicKey>

The corresponding public key.

Trait Implementations

impl Clone for Ed25519PrivateKey[src]

impl Debug for Ed25519PrivateKey[src]

impl Default for Ed25519PrivateKey[src]

impl Message for Ed25519PrivateKey[src]

impl PartialEq<Ed25519PrivateKey> for Ed25519PrivateKey[src]

impl StructuralPartialEq for Ed25519PrivateKey[src]

Auto Trait Implementations

impl RefUnwindSafe for Ed25519PrivateKey

impl Send for Ed25519PrivateKey

impl Sync for Ed25519PrivateKey

impl Unpin for Ed25519PrivateKey

impl UnwindSafe for Ed25519PrivateKey

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> From<T> for T[src]

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

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.