[#RSA_verify_ASN1_OCTET_STRING] = RSA_verify_ASN1_OCTET_STRING :mrdocs: Verify an RSA signature that wraps a DigestInfo‐style ASN.1 OCTET STRING (deprecated). == Synopsis Declared in `<openssl/rsa.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- [[deprecated]] int RSA_verify_ASN1_OCTET_STRING( int type, unsigned char const* m, unsigned int m_length, unsigned char* sigbuf, unsigned int siglen, xref:RSA.adoc[RSA]* rsa); ---- [WARNING] ==== https://en.cppreference.com/cpp/language/attributes/deprecated[Deprecated^]. Use of this entity is allowed but discouraged. ==== == Return Value 1 if the signature is valid, or 0 on failure. == Parameters [cols="1,4"] |=== | Name| Description | *type* | NID of the digest algorithm expected inside the recovered DigestInfo. | *m* | Expected digest bytes. | *m_length* | Length of `m` in bytes. | *sigbuf* | Signature bytes to verify. | *siglen* | Length of `sigbuf` in bytes. | *rsa* | RSA public key used for verification. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#