Digest the ASN.1 encoding of data as described by it.
Declared in <openssl/x509.h>
int
ASN1_item_digest(
ASN1_ITEM const* it,
EVP_MD const* type,
void* data,
unsigned char* md,
unsigned int* len);
| Name | Description |
|---|---|
| it | ASN.1 item describing the type of data. |
| type | Digest algorithm used to hash the DER encoding. |
| data | Structure to encode and digest. |
| md | Buffer that receives the digest bytes (at least EVP_MD_size(type)). |
| len | Receives the digest length in bytes. |