Finish a legacy Sign operation and write the signature using pkey.
Declared in <openssl/evp.h>
int
EVP_SignFinal(
EVP_MD_CTX* ctx,
unsigned char* md,
unsigned int* s,
EVP_PKEY* pkey);
1 on success, or 0 on failure.
| Name | Description |
|---|---|
| ctx | Digest/sign context that has absorbed the message via EVP_DigestUpdate(). |
| md | Output buffer for the signature. |
| s | Receives the signature length in bytes. |
| pkey | Private key used to produce the signature. |