Is there openssl API to verify certificate content is DER or PEM format ?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux