5 PKCS7_type_is_other - determine content type of PKCS#7 envelopedData structure
9 #include <openssl/pkcs7.h>
11 int PKCS7_type_is_other(PKCS7 *p7);
15 PKCS7_type_is_other() returns the whether the content type of a PKCS#7 envelopedData
16 structure is one of the following content types:
21 NID_pkcs7_signedAndEnveloped
27 PKCS7_type_is_other() returns either 0 if the content type is matched or 1 otherwise.
31 L<PKCS7_type_is_data(3)>, L<PKCS7_get_octet_string(3)>
35 Copyright 2002-2020 The OpenSSL Project Authors. All Rights Reserved.
37 Licensed under the Apache License 2.0 (the "License"). You may not use
38 this file except in compliance with the License. You can obtain a copy
39 in the file LICENSE in the source distribution or at
40 L<https://www.openssl.org/source/license.html>.