PKCS7_TYPE_IS_OTHER(3ossl)
π NAME π
Okay bestie, this is PKCS7_type_is_other β the OpenSSL helper that determines the content type of a PKCS#7 envelopedData structure. The manual page is PKCS7_TYPE_IS_OTHER(3ossl), and she is lowkey iconic for doing exactly one job very precisely. π
β¨ SYNOPSIS β¨
#include <openssl/pkcs7.h>
int PKCS7_type_is_other(PKCS7 *p7);
π¦ DESCRIPTION π¦
PKCS7_type_is_other() returns whether the content type of a PKCS#7 envelopedData structure is one of these content types, fr fr:
NID_pkcs7_dataNID_pkcs7_signedNID_pkcs7_envelopedNID_pkcs7_signedAndEnvelopedNID_pkcs7_digestNID_pkcs7_encrypted
Thatβs the whole vibe check: you hand her the PKCS7 structure, she checks the content type against that list. πΈ
π RETURN VALUES π
PKCS7_type_is_other() returns either 0 if the content type is matched or 1 otherwise.
No cap:0= matched,1= not matched. Keep that straight and youβre slaying. π
π 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>.
Okay thatβs the whole page, bestie π«Ά β this little icon is from OpenSSL 3.5.0, dated 2026-09-25, and itβs the PKCS7_TYPE_IS_OTHER(3ossl) manual page. Periodt. πβ¨
π¦ where this page comes from
- opensuse-leap 16.0: openssl-3-doc 3.5.0-160000.11.1 Β· Apache-2.0
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms