[#ASN1_item_digest] = ASN1_item_digest :mrdocs: Digest the ASN.1 encoding of `data` as described by `it.` == Synopsis Declared in `<openssl/x509.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- int ASN1_item_digest( xref:ASN1_ITEM.adoc[ASN1_ITEM] const* it, xref:EVP_MD.adoc[EVP_MD] const* type, void* data, unsigned char* md, unsigned int* len); ---- == Return Value * 1 on success, or 0 on failure. * 1 on success, or 0 on failure. == Parameters [cols="1,4"] |=== | 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. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#