if you have a certificate in a X509 object, the x509.h header mentions the
function:
EVP_PKEY *X509_get_pubkey(X509 *x);
From: binome_...@hotmail.com
To: openssl-users@openssl.org
Subject: get public Key from a certificate
Date: Tue, 24 Feb 2009 10:29:42 +
hello
how can i get the
hello
how can i get the public Key from a certificate ?
( please give me just the name of the function, for example i use to get a
public key from a private key :
PrivKey = RSA_generate_key(512, RSA_F4, NULL, NULL);
PubKey = RSAPublicKey_dup(PrivKey);
)
if i send a certificate , i
Angel Martinez Gonzalez wrote:
> Hello:
>
> I have a certificate in char * format, and I want to get his public key.
>
> Are there an OpenSSL function to do this?.
Define char * format.
If you have a char * pointing to a certificate in PEM format,
you can do a BIO_new_mem_buf() and create a BIO
Hello:
I have a certificate in char * format, and I want to get his public key.
Are there an OpenSSL function to do this?.
Thanks.
__
OpenSSL Project http://www.openssl.org
User Support Mailing Li