scclib
Stable Cloud Computing C++ Library
|
RSA private key certificate. More...
#include <cert.h>
Static Public Member Functions | |
static void | parse (const BasePtr &, RsaPrivateKey &) |
Parse from a sequence. More... | |
static void | parse (const DerDocument &doc, RsaPrivateKey &key) |
static BasePtr | dump (const RsaPrivateKey &) |
Dump to a sequence. | |
RSA private key certificate.
From https://tools.ietf.org/html/rfc2437#section-11.1.2
RSAPrivateKey ::= SEQUENCE { version Version, – 0, meaning no otherPrimeInfos modulus INTEGER, – n publicExponent INTEGER, – e privateExponent INTEGER, – d prime1 INTEGER, – p prime2 INTEGER, – q exponent1 INTEGER, – d mod (p-1) – ep exponent2 INTEGER, – d mod (q-1) – eq coefficient INTEGER, – (inverse of q) mod p – qinv otherPrimeInfos OtherPrimeInfos OPTIONAL (not for version 0) }
PEM header is BEGIN RSA PRIVATE KEY.
|
static |