Kubyshev Andrey wrote:
Hello openssl-users,
How to check if RSA * points to private or public key ?
Dont advice RSA_check_key crashes - see previous letter.
thank you for attention.
Its usually obvious from the context in which you obtained the key.
Is there some case where you
The RSA key components are as follows:
n - modulus, mandatory for public and private
e - public exponent, mandatory for public
d - private exponent, mandatory for private
p, q, dmp1, qmp1, iqmp - optional for private
If the key contains (n, e,