Go to the documentation of this file.
15 #ifndef OPENSSL_HEADER_PKCS7_H
16 #define OPENSSL_HEADER_PKCS7_H
22 #if defined(__cplusplus)
187 #define PKCS7_DETACHED 0x40
190 #define PKCS7_TEXT 0x1
191 #define PKCS7_NOCERTS 0x2
192 #define PKCS7_NOSIGS 0x4
193 #define PKCS7_NOCHAIN 0x8
194 #define PKCS7_NOINTERN 0x10
195 #define PKCS7_NOVERIFY 0x20
196 #define PKCS7_BINARY 0x80
197 #define PKCS7_NOATTR 0x100
198 #define PKCS7_NOSMIMECAP 0x200
199 #define PKCS7_STREAM 0x1000
200 #define PKCS7_PARTIAL 0x4000
222 #if defined(__cplusplus)
234 #define PKCS7_R_BAD_PKCS7_VERSION 100
235 #define PKCS7_R_NOT_PKCS7_SIGNED_DATA 101
236 #define PKCS7_R_NO_CERTIFICATES_INCLUDED 102
237 #define PKCS7_R_NO_CRLS_INCLUDED 103
239 #endif // OPENSSL_HEADER_PKCS7_H
OPENSSL_EXPORT void PKCS7_free(PKCS7 *p7)
OPENSSL_EXPORT int PKCS7_type_is_signedAndEnveloped(const PKCS7 *p7)
OPENSSL_EXPORT int PKCS7_type_is_enveloped(const PKCS7 *p7)
OPENSSL_EXPORT int PKCS7_bundle_raw_certificates(CBB *out, const STACK_OF(CRYPTO_BUFFER) *certs)
OPENSSL_EXPORT int i2d_PKCS7(const PKCS7 *p7, uint8_t **out)
OPENSSL_EXPORT int PKCS7_type_is_data(const PKCS7 *p7)
PKCS7_ENCRYPT * encrypted
PKCS7_ENVELOPE * enveloped
OPENSSL_EXPORT int PKCS7_get_certificates(STACK_OF(X509) *out_certs, CBS *cbs)
OPENSSL_EXPORT int PKCS7_get_CRLs(STACK_OF(X509_CRL) *out_crls, CBS *cbs)
#define BSSL_NAMESPACE_END
OPENSSL_EXPORT int PKCS7_get_PEM_CRLs(STACK_OF(X509_CRL) *out_crls, BIO *pem_bio)
OPENSSL_EXPORT int PKCS7_bundle_CRLs(CBB *out, const STACK_OF(X509_CRL) *crls)
OPENSSL_EXPORT int PKCS7_get_raw_certificates(STACK_OF(CRYPTO_BUFFER) *out_certs, CBS *cbs, CRYPTO_BUFFER_POOL *pool)
OPENSSL_EXPORT int PKCS7_type_is_digest(const PKCS7 *p7)
#define DECLARE_STACK_OF(type)
OPENSSL_EXPORT int PKCS7_get_PEM_certificates(STACK_OF(X509) *out_certs, BIO *pem_bio)
PKCS7_SIGN_ENVELOPE * signed_and_enveloped
OPENSSL_EXPORT int i2d_PKCS7_bio(BIO *bio, const PKCS7 *p7)
#define BORINGSSL_MAKE_DELETER(type, deleter)
OPENSSL_EXPORT PKCS7 * d2i_PKCS7(PKCS7 **out, const uint8_t **inp, size_t len)
InternalDescriptorPool * pool
OPENSSL_EXPORT PKCS7 * PKCS7_sign(X509 *sign_cert, EVP_PKEY *pkey, STACK_OF(X509) *certs, BIO *data, int flags)
OPENSSL_EXPORT int PKCS7_type_is_encrypted(const PKCS7 *p7)
OPENSSL_EXPORT int PKCS7_bundle_certificates(CBB *out, const STACK_OF(X509) *certs)
OPENSSL_EXPORT int PKCS7_type_is_signed(const PKCS7 *p7)
OPENSSL_EXPORT PKCS7 * d2i_PKCS7_bio(BIO *bio, PKCS7 **out)
grpc
Author(s):
autogenerated on Thu Mar 13 2025 03:00:52