[#PKCS7_ISSUER_AND_SERIAL_digest]
= PKCS7&lowbar;ISSUER&lowbar;AND&lowbar;SERIAL&lowbar;digest
:mrdocs:

Digest the DER encoding of a PKCS7&lowbar;ISSUER&lowbar;AND&lowbar;SERIAL structure&period;

== Synopsis

Declared in `&lt;openssl&sol;pkcs7&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
int
PKCS7&lowbar;ISSUER&lowbar;AND&lowbar;SERIAL&lowbar;digest(
    xref:PKCS7_ISSUER_AND_SERIAL.adoc[PKCS7&lowbar;ISSUER&lowbar;AND&lowbar;SERIAL]* data,
    xref:EVP_MD.adoc[EVP&lowbar;MD] const* type,
    unsigned char* md,
    unsigned int* len);
----

== Return Value

1 on success, or 0 on failure&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *data*
| Issuer&hyphen;and&hyphen;serial value whose ASN&period;1 encoding is hashed&period;
| *type*
| Digest algorithm used to hash the DER encoding&period;
| *md*
| Buffer that receives the digest bytes (at least EVP&lowbar;MD&lowbar;size(`type))&period;`
| *len*
| Receives the digest length in bytes&period;
|===


[.small]#Created with https://www.mrdocs.com[MrDocs]#
