Home
last modified time | relevance | path

Searched refs:PKCS7 (Results 1 – 25 of 37) sorted by relevance

12

/external/boringssl/src/include/openssl/
Dpkcs7.h122 } PKCS7; typedef
130 OPENSSL_EXPORT PKCS7 *d2i_PKCS7(PKCS7 **out, const uint8_t **inp,
138 OPENSSL_EXPORT PKCS7 *d2i_PKCS7_bio(BIO *bio, PKCS7 **out);
144 OPENSSL_EXPORT int i2d_PKCS7(const PKCS7 *p7, uint8_t **out);
148 OPENSSL_EXPORT int i2d_PKCS7_bio(BIO *bio, const PKCS7 *p7);
151 OPENSSL_EXPORT void PKCS7_free(PKCS7 *p7);
154 OPENSSL_EXPORT int PKCS7_type_is_data(const PKCS7 *p7);
157 OPENSSL_EXPORT int PKCS7_type_is_digest(const PKCS7 *p7);
160 OPENSSL_EXPORT int PKCS7_type_is_encrypted(const PKCS7 *p7);
163 OPENSSL_EXPORT int PKCS7_type_is_enveloped(const PKCS7 *p7);
[all …]
Dpem.h413 DECLARE_PEM_rw(PKCS7, PKCS7)
/external/rust/crates/quiche/deps/boringssl/src/include/openssl/
Dpkcs7.h122 } PKCS7; typedef
130 OPENSSL_EXPORT PKCS7 *d2i_PKCS7(PKCS7 **out, const uint8_t **inp,
138 OPENSSL_EXPORT PKCS7 *d2i_PKCS7_bio(BIO *bio, PKCS7 **out);
144 OPENSSL_EXPORT int i2d_PKCS7(const PKCS7 *p7, uint8_t **out);
148 OPENSSL_EXPORT int i2d_PKCS7_bio(BIO *bio, const PKCS7 *p7);
151 OPENSSL_EXPORT void PKCS7_free(PKCS7 *p7);
154 OPENSSL_EXPORT int PKCS7_type_is_data(const PKCS7 *p7);
157 OPENSSL_EXPORT int PKCS7_type_is_digest(const PKCS7 *p7);
160 OPENSSL_EXPORT int PKCS7_type_is_encrypted(const PKCS7 *p7);
163 OPENSSL_EXPORT int PKCS7_type_is_enveloped(const PKCS7 *p7);
[all …]
Dpem.h369 DECLARE_PEM_rw(PKCS7, PKCS7)
/external/boringssl/src/crypto/pkcs7/
Dpkcs7_x509.c232 static PKCS7 *pkcs7_new(CBS *cbs) { in pkcs7_new()
233 PKCS7 *ret = OPENSSL_malloc(sizeof(PKCS7)); in pkcs7_new()
237 OPENSSL_memset(ret, 0, sizeof(PKCS7)); in pkcs7_new()
275 PKCS7 *d2i_PKCS7(PKCS7 **out, const uint8_t **inp, in d2i_PKCS7()
279 PKCS7 *ret = pkcs7_new(&cbs); in d2i_PKCS7()
291 PKCS7 *d2i_PKCS7_bio(BIO *bio, PKCS7 **out) { in d2i_PKCS7_bio()
302 PKCS7 *ret = pkcs7_new(&cbs); in d2i_PKCS7_bio()
311 int i2d_PKCS7(const PKCS7 *p7, uint8_t **out) { in i2d_PKCS7()
335 int i2d_PKCS7_bio(BIO *bio, const PKCS7 *p7) { in i2d_PKCS7_bio()
339 void PKCS7_free(PKCS7 *p7) { in PKCS7_free()
[all …]
Dpkcs7.c58 OPENSSL_PUT_ERROR(PKCS7, PKCS7_R_NOT_PKCS7_SIGNED_DATA); in pkcs7_parse_header()
73 OPENSSL_PUT_ERROR(PKCS7, PKCS7_R_BAD_PKCS7_VERSION); in pkcs7_parse_header()
Dpkcs7_test.cc511 bssl::UniquePtr<PKCS7> pkcs7_obj(d2i_PKCS7(nullptr, &ptr, der_len)); in TestCertReparse()
593 bssl::UniquePtr<PKCS7> pkcs7_obj(d2i_PKCS7(nullptr, &ptr, der_len)); in TestCRLReparse()
/external/rust/crates/quiche/deps/boringssl/src/crypto/pkcs7/
Dpkcs7_x509.c232 static PKCS7 *pkcs7_new(CBS *cbs) { in pkcs7_new()
233 PKCS7 *ret = OPENSSL_malloc(sizeof(PKCS7)); in pkcs7_new()
237 OPENSSL_memset(ret, 0, sizeof(PKCS7)); in pkcs7_new()
275 PKCS7 *d2i_PKCS7(PKCS7 **out, const uint8_t **inp, in d2i_PKCS7()
279 PKCS7 *ret = pkcs7_new(&cbs); in d2i_PKCS7()
291 PKCS7 *d2i_PKCS7_bio(BIO *bio, PKCS7 **out) { in d2i_PKCS7_bio()
302 PKCS7 *ret = pkcs7_new(&cbs); in d2i_PKCS7_bio()
311 int i2d_PKCS7(const PKCS7 *p7, uint8_t **out) { in i2d_PKCS7()
335 int i2d_PKCS7_bio(BIO *bio, const PKCS7 *p7) { in i2d_PKCS7_bio()
339 void PKCS7_free(PKCS7 *p7) { in PKCS7_free()
[all …]
Dpkcs7.c58 OPENSSL_PUT_ERROR(PKCS7, PKCS7_R_NOT_PKCS7_SIGNED_DATA); in pkcs7_parse_header()
73 OPENSSL_PUT_ERROR(PKCS7, PKCS7_R_BAD_PKCS7_VERSION); in pkcs7_parse_header()
Dpkcs7_test.cc511 bssl::UniquePtr<PKCS7> pkcs7_obj(d2i_PKCS7(nullptr, &ptr, der_len)); in TestCertReparse()
593 bssl::UniquePtr<PKCS7> pkcs7_obj(d2i_PKCS7(nullptr, &ptr, der_len)); in TestCRLReparse()
/external/python/cryptography/tests/hazmat/primitives/
Dtest_padding.py19 padding.PKCS7(size)
30 unpadder = padding.PKCS7(size).unpadder()
36 padder = padding.PKCS7(128).padder()
39 unpadder = padding.PKCS7(128).unpadder()
66 padder = padding.PKCS7(size).padder()
84 unpadder = padding.PKCS7(size).unpadder()
90 padder = padding.PKCS7(128).padder()
97 unpadder = padding.PKCS7(128).unpadder()
106 padder = padding.PKCS7(2040).padder()
113 unpadder = padding.PKCS7(2040).unpadder()
/external/boringssl/src/crypto/err/
Dpkcs7.errordata1 PKCS7,100,BAD_PKCS7_VERSION
2 PKCS7,101,NOT_PKCS7_SIGNED_DATA
3 PKCS7,102,NO_CERTIFICATES_INCLUDED
4 PKCS7,103,NO_CRLS_INCLUDED
/external/python/asn1crypto/tests/fixtures/
Dpkcs7-signed-digested.pem1 -----BEGIN PKCS7-----
41 -----END PKCS7-----
Dpkcs7-signed.pem1 -----BEGIN PKCS7-----
45 -----END PKCS7-----
/external/conscrypt/repackaged/common/src/main/java/com/android/org/conscrypt/
DOpenSSLX509CertPath.java54 PKCS7("PKCS7"); enumConstant
77 Encoding.PKCS7.apiName,
118 case PKCS7: in getEncoded()
237 case PKCS7: in fromEncoding()
/external/conscrypt/common/src/main/java/org/conscrypt/
DOpenSSLX509CertPath.java53 PKCS7("PKCS7"); enumConstant
76 Encoding.PKCS7.apiName,
117 case PKCS7: in getEncoded()
236 case PKCS7: in fromEncoding()
/external/python/cryptography/docs/hazmat/primitives/
Dpadding.rst14 .. class:: PKCS7(block_size)
16 PKCS7 padding is a generalization of PKCS5 padding (also known as standard
17 padding). PKCS7 padding works by appending ``N`` bytes with the value of
25 >>> padder = padding.PKCS7(128).padder()
32 >>> unpadder = padding.PKCS7(128).unpadder()
/external/python/cryptography/tests/hypothesis/
Dtest_padding.py8 from cryptography.hazmat.primitives.padding import ANSIX923, PKCS7
16 p = PKCS7(block_size=block_size * 8)
/external/rust/crates/quiche/deps/boringssl/src/crypto/pem/
Dpem_all.c128 IMPLEMENT_PEM_rw(PKCS7, PKCS7, PEM_STRING_PKCS7, PKCS7) in IMPLEMENT_PEM_rw()
/external/boringssl/src/crypto/pem/
Dpem_all.c128 IMPLEMENT_PEM_rw(PKCS7, PKCS7, PEM_STRING_PKCS7, PKCS7) in IMPLEMENT_PEM_rw()
/external/python/pyopenssl/doc/api/
Dcrypto.rst169 PKCS7 objects
172 PKCS7 objects have the following methods:
174 .. autoclass:: PKCS7
/external/python/cryptography/src/cryptography/
Dfernet.py57 padder = padding.PKCS7(algorithms.AES.block_size).padder()
129 unpadder = padding.PKCS7(algorithms.AES.block_size).unpadder()
/external/python/cryptography/tests/wycheproof/
Dtest_aes.py30 padder = padding.PKCS7(128).padder()
38 unpadder = padding.PKCS7(128).unpadder()
/external/kmod/libkmod/
Dlibkmod-signature.c124 PKCS7 *pkcs7;
199 PKCS7 *pkcs7; in fill_pkcs7()
/external/python/cryptography/src/cryptography/hazmat/primitives/
Dpadding.py95 class PKCS7(object): class

12