PKCS7_type_is_other.3ossl - Man Page

determine content type of PKCS#7 envelopedData structure


 #include <openssl/pkcs7.h>

 int PKCS7_type_is_other(PKCS7 *p7);


PKCS7_type_is_other() returns the whether the content type of a PKCS#7 envelopedData structure is one of the following content types:

NID_pkcs7_data NID_pkcs7_signed NID_pkcs7_enveloped NID_pkcs7_signedAndEnveloped NID_pkcs7_digest NID_pkcs7_encrypted

Return Values

PKCS7_type_is_other() returns either 0 if the content type is matched or 1 otherwise.

See Also

PKCS7_type_is_data(3), PKCS7_get_octet_string(3)

Referenced By


2022-09-12 3.0.5 OpenSSL