/* or cast to ECPublicKey if you need to be specific */
>
> From: owner-openssl-us...@openssl.org
> [mailto:owner-openssl-us...@openssl.org] On Behalf Of Marcio Campos de Lima
> Sent: Monday, March 10, 2014 10:24
> To: openssl-users@openssl.org
> Subject: *** Spam *** Re
[mailto:owner-openssl-us...@openssl.org] On Behalf Of Marcio Campos de Lima
Sent: Monday, March 10, 2014 10:24
To: openssl-users@openssl.org
Subject: *** Spam *** Re: Flushing encrypted data to file
Hi
Thanks for the code.
Is it the only way to get the public key ?
Is it possible to
Hi
Thanks for the code.
Is it the only way to get the public key ?
Is it possible to generate the key pair and store both of them into two PEM
files and then to store in the PKCS12?
my current java code to use the openssl generated P12 file is:
// Load Key Pair: load the PKCS12 keystore i
Hi!
Some example code to extract a cert from a P12 file:
BIO* certFile = BIO_new_file("cert path", "r");
PKCS12* p12 = nullptr;
X509* cert = nullptr;
if (!certFile) {
goto done;
}
p12 = d2i_PKCS12_bio(certFile, nullptr);
if (!
Hi
How can I get the Public Key from a PKCS12 keystone?
Do I need to parse the certificate ? Is there a way to store the public key
into the PKCS12 keystone?
Thanks
__
OpenSSL Project http://www.