[][src]Struct tink_proto::RsaSsaPkcs1PrivateKey

pub struct RsaSsaPkcs1PrivateKey {
    pub version: u32,
    pub public_key: Option<RsaSsaPkcs1PublicKey>,
    pub d: Vec<u8>,
    pub p: Vec<u8>,
    pub q: Vec<u8>,
    pub dp: Vec<u8>,
    pub dq: Vec<u8>,
    pub crt: Vec<u8>,
}

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

Fields

version: u32

Required.

public_key: Option<RsaSsaPkcs1PublicKey>

Required.

d: Vec<u8>

Private exponent. Unsigned big integer in bigendian representation. Required.

p: Vec<u8>

The following parameters are used to optimize RSA signature computation. The prime factor p of n. Unsigned big integer in bigendian representation. Required.

q: Vec<u8>

The prime factor q of n. Unsigned big integer in bigendian representation. Required.

dp: Vec<u8>

d mod (p - 1). Unsigned big integer in bigendian representation. Required.

dq: Vec<u8>

d mod (q - 1). Unsigned big integer in bigendian representation. Required.

crt: Vec<u8>

Chinese Remainder Theorem coefficient q^(-1) mod p. Unsigned big integer in bigendian representation. Required.

Trait Implementations

impl Clone for RsaSsaPkcs1PrivateKey[src]

impl Debug for RsaSsaPkcs1PrivateKey[src]

impl Default for RsaSsaPkcs1PrivateKey[src]

impl Message for RsaSsaPkcs1PrivateKey[src]

impl PartialEq<RsaSsaPkcs1PrivateKey> for RsaSsaPkcs1PrivateKey[src]

impl StructuralPartialEq for RsaSsaPkcs1PrivateKey[src]

Auto Trait Implementations

impl RefUnwindSafe for RsaSsaPkcs1PrivateKey

impl Send for RsaSsaPkcs1PrivateKey

impl Sync for RsaSsaPkcs1PrivateKey

impl Unpin for RsaSsaPkcs1PrivateKey

impl UnwindSafe for RsaSsaPkcs1PrivateKey

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.