Finish a legacy Sign operation and write the signature using pkey.
Synopsis
Declared in <openssl/evp.h>
int
EVP_SignFinal(
EVP_MD_CTX* ctx,
unsigned char* md,
unsigned int* s,
EVP_PKEY* pkey);
Return Value
1 on success, or 0 on failure.
Parameters
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. |
Created with MrDocs