std :: crypto::rsa
Struct std::RsaPublicKey
struct RsaPublicKey {
struct BnMont n;
unsigned char e[8];
unsigned long e_len;
unsigned long bits;
}Fields
the modulus
public exponent, big-endian
modulus length in bits
Methods
From a DER RSAPublicKey (SEQUENCE { modulus, publicExponent }: the BIT STRING content of an rsaEncryption SubjectPublicKeyInfo). 0 if malformed, under RSA_MIN_BITS or over RSA_MAX_BYTES, or e is even, 1 or wider than 64 bits.