---
name: "PKCS7_type_is_other"
section: "3ssl"
platform: "linux"
package: "openssl"
version: "3.6.5-1"
release: "Arch Linux 2026-11-01"
platforms: ["linux"]
url: "https://new.carta.tech/PKCS7_type_is_other"
---

# PKCS7\_type\_is\_other(3ssl)

determine content type of PKCS#7 envelopedData structure

## NAME

PKCS7\_type\_is\_other - determine content type of PKCS#7 envelopedData structure

## SYNOPSIS

```
 #include <openssl/pkcs7.h>
 int PKCS7_type_is_other(PKCS7 *p7);
```

## DESCRIPTION

**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)

## COPYRIGHT

Copyright 2002-2020 The OpenSSL Project Authors. All Rights Reserved.

Licensed under the Apache License 2.0 (the "License").  You may not use this file except in compliance with the License.  You can obtain a copy in the file LICENSE in the source distribution or at \<https://www.openssl.org/source/license.html\>.
