On Wed, Jan 23, 2013, Viktor Dukhovni wrote:
The OpenSSL library includes two very similar functions:
int X509_digest(
X509 *cert,
const EVP_MD *digest,
unsigned char *md,
int *len);
int X509_pubkey_digest(
On Thu, Jan 24, 2013 at 02:49:25PM +0100, Dr. Stephen Henson wrote:
This is a rather non-obvious interface, and X509_get_X509_PUBKEY() is
not documented.
I make no claim this is obvious but...
It should be possible to do this in a single call using the ASN1_item_verify
interface
The OpenSSL library includes two very similar functions:
int X509_digest(
X509 *cert,
const EVP_MD *digest,
unsigned char *md,
int *len);
int X509_pubkey_digest(
const X509 *cert,