Set a PKCS#7 content type to an ASN.1 OTHER content value, transferring ownership of other.
Declared in <openssl/pkcs7.h>
int
PKCS7_set0_type_other(
PKCS7* p7,
int type,
ASN1_TYPE* other);
1 on success, or 0 on failure.
| Name | Description |
|---|---|
| p7 | PKCS#7 structure to update. |
| type | NID of the content type. |
| other | ASN.1 value describing the content; ownership transfers to p7 on success. |