[#ASN1_item_verify] = ASN1_item_verify :mrdocs: Verify `signature` over the ASN.1 encoding of `data` described by `it.` == Synopsis Declared in `<openssl/x509.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- int ASN1_item_verify( xref:ASN1_ITEM.adoc[ASN1_ITEM] const* it, xref:X509_ALGOR.adoc[X509_ALGOR] const* alg, xref:ASN1_BIT_STRING.adoc[ASN1_BIT_STRING] const* signature, void const* data, xref:EVP_PKEY.adoc[EVP_PKEY]* pkey); ---- == Return Value 1 if the signature is valid, or 0 / a negative value on failure. == Parameters [cols="1,4"] |=== | Name| Description | *it* | ASN.1 item describing the signed structure type of `data.` | *alg* | Signature AlgorithmIdentifier. | *signature* | BIT STRING signature value. | *data* | Pointer to the structure instance to re‐encode and verify. | *pkey* | Public key used for verification. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#