Finalize a DigestSign operation and write the signature.
Declared in <openssl/evp.h>
int
EVP_DigestSignFinal(
EVP_MD_CTX* ctx,
unsigned char* sigret,
size_t* siglen);
1 on success, or 0 / a negative value on error.
| Name | Description |
|---|---|
| ctx | Context initialized with EVP_DigestSignInit and updated with EVP_DigestSignUpdate. |
| sigret | Buffer receiving the signature, or NULL to only query the required length. |
| siglen | On entry, size of sigret; on exit, signature length (or required size). |