Verify a signature over the DER encoding produced by i2d (deprecated).
Synopsis
Declared in <openssl/x509.h>
[[deprecated]]
int
ASN1_verify(
i2d_of_void* i2d,
X509_ALGOR* algor1,
ASN1_BIT_STRING* signature,
char* data,
EVP_PKEY* pkey);
|
Warning
|
Deprecated. Use of this entity is allowed but discouraged. |
Description
Prefer ASN1_item_verify() for new code.
Return Value
1 if the signature verifies, 0 if it does not, or ‐1 on error.
Parameters
Name |
Description |
i2d |
Encoder that writes the signed bytes for |
algor1 |
Signature AlgorithmIdentifier describing the digest/signature pair. |
signature |
BIT STRING holding the signature value. |
data |
Structure passed to |
pkey |
Public key used to verify the signature. |
Created with MrDocs