Sign tbs in one call using a prepared DigestSign context.
Synopsis
Declared in <openssl/evp.h>
int
EVP_DigestSign(
EVP_MD_CTX* ctx,
unsigned char* sigret,
size_t* siglen,
unsigned char const* tbs,
size_t tbslen);
Return Value
1 on success, or 0 on failure.
Parameters
Name |
Description |
ctx |
Context initialized with EVP_DigestSignInit(). |
sigret |
Output buffer for the signature, or NULL to query the required length. |
siglen |
On input, size of |
tbs |
Message bytes to sign ("to be signed"). |
tbslen |
Length of |
Created with MrDocs