Verify a DSA signature over a message digest (deprecated).
Synopsis
Declared in <openssl/dsa.h>
[[deprecated]]
int
DSA_verify(
int type,
unsigned char const* dgst,
int dgst_len,
unsigned char const* sigbuf,
int siglen,
DSA* dsa);
|
Warning
|
Deprecated. Use of this entity is allowed but discouraged. |
Return Value
1 if the signature is valid, 0 if invalid, or ‐1 on error.
Parameters
Name |
Description |
type |
Historical digest NID; ignored by modern implementations. |
dgst |
Digest octets that were signed. |
dgst_len |
Length of |
sigbuf |
DER‐encoded DSA signature to verify. |
siglen |
Length of |
dsa |
DSA key containing the public key used for verification. |
Created with MrDocs