Re: OpenSSL vs SPKI

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

 



On Mon, Apr 06, 2020 at 07:16:23PM -0700, Jason Proctor wrote:

> However, the d2i_NETSCAPE_SPKI() function errors out trying to deal
> with them.

That's not the droid you're looking for.

> Question -- is there a supported way of importing SPKI encoded public
> keys into the OpenSSL world?

Yes.  That'd be d2i_PUBKEY(3):

    https://www.openssl.org/docs/man1.1.1/man3/d2i_PUBKEY.html

For example:

    https://github.com/openssl/openssl/blob/master/ssl/ssl_lib.c#L398-L404

-- 
    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