Finalize a PEM signing operation and write the signature.
Synopsis
Declared in <openssl/pem.h>
int
PEM_SignFinal(
EVP_MD_CTX* ctx,
unsigned char* sigret,
unsigned int* siglen,
EVP_PKEY* pkey);
Return Value
1 on success, or 0 on error.
Parameters
Name |
Description |
ctx |
Digest context previously updated with data to sign. |
sigret |
Buffer receiving the signature. |
siglen |
Receives the signature length in bytes. |
pkey |
Private key used to generate the signature. |
Created with MrDocs