Sortix nightly manual
This manual documents Sortix nightly, a development build that has not been officially released. You can instead view this document in the latest official manual.
NAME
PKCS7_set_type, PKCS7_set0_type_other — initialize type of PKCS#7 ContentInfoSYNOPSIS
#include <openssl/pkcs7.h>PKCS7_set_type(PKCS7 *p7, int type);
PKCS7_set0_type_other(PKCS7 *p7, int type, ASN1_TYPE *content);
DESCRIPTION
These functions set the type of an unused ContentInfo structure p7.
type argument |
data type of child | version |
NID_pkcs7_data | ASN1_OCTET_STRING | n.a. |
NID_pkcs7_digest | PKCS7_DIGEST | 0 |
NID_pkcs7_encrypted | PKCS7_ENCRYPT | 0 |
NID_pkcs7_enveloped | PKCS7_ENVELOPE | 0 |
NID_pkcs7_signed | PKCS7_SIGNED | 1 |
NID_pkcs7_signedAndEnveloped | PKCS7_SIGN_ENVELOPE | 1 |