libressl-X509_SIG_new3
Pkcs#7 digest information
Usage
Crypto Library (libcrypto, -lcrypto)
#include <openssl/x509.h>
X509_SIG *
X509_SIG_new(void);
void
X509_SIG_free(X509_SIG *sig);
Overview
X509_SIG_new() allocates and initializes an empty X509_SIG object, representing an ASN.1 DigestInfo structure defined in RFC 2315 section 9.4 and equivalently in RFC 8017 section 9.2. It can hold a message digest together with information about the algorithm used.
X509_SIG_free() frees sig.
Return values
X509_SIG_new() returns the new X509_SIG object or NULL if an error occurs.