Struct bearssl::br_rsa_private_key [] [src]

#[repr(C)]
pub struct br_rsa_private_key { pub n_bitlen: u32, pub p: *mut c_uchar, pub plen: usize, pub q: *mut c_uchar, pub qlen: usize, pub dp: *mut c_uchar, pub dplen: usize, pub dq: *mut c_uchar, pub dqlen: usize, pub iq: *mut c_uchar, pub iqlen: usize, }

\brief RSA private key.

The structure references the primvate factors, reduced private exponents, and CRT coefficient. It also contains the bit length of the modulus. The big integers use unsigned big-endian representation; extra leading bytes of value 0 are allowed. However, the modulus bit length (n_bitlen) MUST be exact.

Fields

\brief Modulus bit length (in bits, exact value).

\brief First prime factor.

\brief First prime factor length (in bytes).

\brief Second prime factor.

\brief Second prime factor length (in bytes).

\brief First reduced private exponent.

\brief First reduced private exponent length (in bytes).

\brief Second reduced private exponent.

\brief Second reduced private exponent length (in bytes).

\brief CRT coefficient.

\brief CRT coefficient length (in bytes).

Trait Implementations

impl Debug for br_rsa_private_key
[src]

[src]

Formats the value using the given formatter.

impl Copy for br_rsa_private_key
[src]

impl Clone for br_rsa_private_key
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more