[][src]Struct tink_proto::EcdsaPublicKey

pub struct EcdsaPublicKey {
    pub version: u32,
    pub params: Option<EcdsaParams>,
    pub x: Vec<u8>,
    pub y: Vec<u8>,
}

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

Fields

version: u32

Required.

params: Option<EcdsaParams>

Required.

x: Vec<u8>

Affine coordinates of the public key in bigendian representation. The public key is a point (x, y) on the curve defined by params.curve. For ECDH, it is crucial to verify whether the public key point (x, y) is on the private's key curve. For ECDSA, such verification is a defense in depth. Required.

y: Vec<u8>

Required.

Trait Implementations

impl Clone for EcdsaPublicKey[src]

impl Debug for EcdsaPublicKey[src]

impl Default for EcdsaPublicKey[src]

impl Message for EcdsaPublicKey[src]

impl PartialEq<EcdsaPublicKey> for EcdsaPublicKey[src]

impl StructuralPartialEq for EcdsaPublicKey[src]

Auto Trait Implementations

impl RefUnwindSafe for EcdsaPublicKey

impl Send for EcdsaPublicKey

impl Sync for EcdsaPublicKey

impl Unpin for EcdsaPublicKey

impl UnwindSafe for EcdsaPublicKey

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.