1=pod 2 3=head1 NAME 4 5PKCS7_type_is_other - determine content type of PKCS#7 envelopedData structure 6 7=head1 SYNOPSIS 8 9 #include <openssl/pkcs7.h> 10 11 int PKCS7_type_is_other(PKCS7 *p7); 12 13=head1 DESCRIPTION 14 15PKCS7_type_is_other() returns the whether the content type of a PKCS#7 envelopedData 16structure is one of the following content types: 17 18NID_pkcs7_data 19NID_pkcs7_signed 20NID_pkcs7_enveloped 21NID_pkcs7_signedAndEnveloped 22NID_pkcs7_digest 23NID_pkcs7_encrypted 24 25=head1 RETURN VALUES 26 27PKCS7_type_is_other() returns either 0 if the content type is matched or 1 otherwise. 28 29=head1 SEE ALSO 30 31L<PKCS7_type_is_data(3)>, L<PKCS7_get_octet_string(3)> 32 33=head1 COPYRIGHT 34 35Copyright 2002-2020 The OpenSSL Project Authors. All Rights Reserved. 36 37Licensed under the Apache License 2.0 (the "License"). You may not use 38this file except in compliance with the License. You can obtain a copy 39in the file LICENSE in the source distribution or at 40L<https://www.openssl.org/source/license.html>. 41 42=cut 43