Expose PKCS7_get_octet_string and PKCS7_type_is_other
[openssl.git] / doc / man3 / PKCS7_type_is_other.pod
1 =pod
2
3 =head1 NAME
4
5 PKCS7_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
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:
17
18 NID_pkcs7_data
19 NID_pkcs7_signed
20 NID_pkcs7_enveloped
21 NID_pkcs7_signedAndEnveloped
22 NID_pkcs7_digest
23 NID_pkcs7_encrypted
24
25 =head1 RETURN VALUES
26
27 PKCS7_type_is_other() returns either 0 if the content type is matched or 1 otherwise.
28
29 =head1 SEE ALSO
30
31 L<PKCS7_type_is_data(3)>, L<PKCS7_get_octet_string(3)>
32
33 =head1 COPYRIGHT
34
35 Copyright 2002-2020 The OpenSSL Project Authors. All Rights Reserved.
36
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>.
41
42 =cut