[openssl-dev] [openssl-users] Is there openssl API to verify certificate content is DER or PEM format ?
Viktor Dukhovni
openssl-users at dukhovni.org
Thu Jun 11 12:29:07 UTC 2015
On Thu, Jun 11, 2015 at 06:01:26AM +0530, Nayna Jain wrote:
> I have similar concern for private key.
> If I have a pem file with private key in that, how do I check if that is
> RSA/DSA ?
In almost all cases don't check. Just load and use the key as a
generic EVP_PKEY.
--
Viktor.
More information about the openssl-dev
mailing list