/external/wpa_supplicant_8/hs20/client/ |
D | est.c | 31 static int pkcs7_to_cert(struct hs20_osu_client *ctx, const u8 *pkcs7, in pkcs7_to_cert() argument 38 const unsigned char *p = pkcs7; in pkcs7_to_cert() 48 CBS_init(&pkcs7_cbs, pkcs7, len); in pkcs7_to_cert() 125 unsigned char *pkcs7; in est_load_cacerts() local 161 pkcs7 = base64_decode(resp, resp_len, &pkcs7_len); in est_load_cacerts() 162 if (pkcs7 && pkcs7_len < resp_len / 2) { in est_load_cacerts() 165 os_free(pkcs7); in est_load_cacerts() 166 pkcs7 = NULL; in est_load_cacerts() 168 if (pkcs7 == NULL) { in est_load_cacerts() 170 pkcs7 = os_malloc(resp_len); in est_load_cacerts() [all …]
|
/external/boringssl/src/crypto/pkcs7/ |
D | pkcs7_test.cc | 480 CBS pkcs7; in TestCertReparse() local 481 CBS_init(&pkcs7, der_bytes, der_len); in TestCertReparse() 482 ASSERT_TRUE(PKCS7_get_certificates(certs.get(), &pkcs7)); in TestCertReparse() 483 EXPECT_EQ(0u, CBS_len(&pkcs7)); in TestCertReparse() 491 CBS_init(&pkcs7, result_data, result_len); in TestCertReparse() 492 ASSERT_TRUE(PKCS7_get_certificates(certs2.get(), &pkcs7)); in TestCertReparse() 493 EXPECT_EQ(0u, CBS_len(&pkcs7)); in TestCertReparse() 562 CBS pkcs7; in TestCRLReparse() local 563 CBS_init(&pkcs7, der_bytes, der_len); in TestCRLReparse() 564 ASSERT_TRUE(PKCS7_get_CRLs(crls.get(), &pkcs7)); in TestCRLReparse() [all …]
|
/external/rust/crates/quiche/deps/boringssl/src/crypto/pkcs7/ |
D | pkcs7_test.cc | 480 CBS pkcs7; in TestCertReparse() local 481 CBS_init(&pkcs7, der_bytes, der_len); in TestCertReparse() 482 ASSERT_TRUE(PKCS7_get_certificates(certs.get(), &pkcs7)); in TestCertReparse() 483 EXPECT_EQ(0u, CBS_len(&pkcs7)); in TestCertReparse() 491 CBS_init(&pkcs7, result_data, result_len); in TestCertReparse() 492 ASSERT_TRUE(PKCS7_get_certificates(certs2.get(), &pkcs7)); in TestCertReparse() 493 EXPECT_EQ(0u, CBS_len(&pkcs7)); in TestCertReparse() 562 CBS pkcs7; in TestCRLReparse() local 563 CBS_init(&pkcs7, der_bytes, der_len); in TestCRLReparse() 564 ASSERT_TRUE(PKCS7_get_CRLs(crls.get(), &pkcs7)); in TestCRLReparse() [all …]
|
/external/kmod/libkmod/ |
D | libkmod-signature.c | 124 PKCS7 *pkcs7; member 134 PKCS7_free(pvt->pkcs7); in pkcs7_free() 199 PKCS7 *pkcs7; in fill_pkcs7() local 221 pkcs7 = d2i_PKCS7_bio(in, NULL); in fill_pkcs7() 222 if (pkcs7 == NULL) { in fill_pkcs7() 229 sis = PKCS7_get_signer_info(pkcs7); in fill_pkcs7() 280 pvt->pkcs7 = pkcs7; in fill_pkcs7() 293 PKCS7_free(pkcs7); in fill_pkcs7()
|
/external/wpa_supplicant_8/hs20/server/www/ |
D | est.php | 205 $pkcs7 = "$cadir/tmp/est-client.pkcs7"; variable 206 if (file_exists($pkcs7)) 207 unlink($pkcs7); 208 exec("openssl crl2pkcs7 -nocrl -certfile $cert_pem -out $pkcs7 -outform DER"); 209 if (!file_exists($pkcs7)) { 222 $data = file_get_contents($pkcs7);
|
/external/fonttools/Lib/fontTools/ttLib/tables/ |
D | D_S_I_G_.py | 56 sigrec.pkcs7 = newData[:sigrec.cbSignature] 65 sigrec.cbSignature = len(sigrec.pkcs7) 66 packed = sstruct.pack(DSIG_SignatureBlockFormat, sigrec) + sigrec.pkcs7 122 writer.write_noindent(b64encode(self.pkcs7)) 130 self.pkcs7 = base64.b64decode(tobytes(strjoin(filter(pem_spam, content))))
|
/external/python/asn1crypto/tests/fixtures/ |
D | readme.md | 4 `pkcs7-signed-digested.pem` and `pkcs7-signed-digested.der` all have invalid
|
/external/python/cryptography/vectors/cryptography_vectors/x509/PKITS_data/smime/ |
D | SignedInvalidUnknownCriticalCertificateExtensionTest2.eml | 5 Content-Type: multipart/signed; protocol="application/pkcs7-signature"; micalg="sha-256"; boundary=… 15 Content-Type: application/pkcs7-signature; name="smime.p7s"
|
D | SignedValidUnknownNotCriticalCertificateExtensionTest1.eml | 5 Content-Type: multipart/signed; protocol="application/pkcs7-signature"; micalg="sha-256"; boundary=… 15 Content-Type: application/pkcs7-signature; name="smime.p7s"
|
D | SignedUserNoticeQualifierTest19.eml | 5 Content-Type: multipart/signed; protocol="application/pkcs7-signature"; micalg="sha-256"; boundary=… 15 Content-Type: application/pkcs7-signature; name="smime.p7s"
|
D | SignedUserNoticeQualifierTest15.eml | 5 Content-Type: multipart/signed; protocol="application/pkcs7-signature"; micalg="sha-256"; boundary=… 15 Content-Type: application/pkcs7-signature; name="smime.p7s"
|
D | SignedInvalidcAFalseTest2.eml | 5 Content-Type: multipart/signed; protocol="application/pkcs7-signature"; micalg="sha-256"; boundary=… 15 Content-Type: application/pkcs7-signature; name="smime.p7s"
|
D | SignedValidDSAParameterInheritanceTest5.eml | 5 Content-Type: multipart/signed; protocol="application/pkcs7-signature"; micalg="sha1"; boundary="--… 15 Content-Type: application/pkcs7-signature; name="smime.p7s"
|
D | SignedValidRFC822nameConstraintsTest23.eml | 5 Content-Type: multipart/signed; protocol="application/pkcs7-signature"; micalg="sha-256"; boundary=… 15 Content-Type: application/pkcs7-signature; name="smime.p7s"
|
D | SignedMissingCRLTest1.eml | 5 Content-Type: multipart/signed; protocol="application/pkcs7-signature"; micalg="sha-256"; boundary=… 15 Content-Type: application/pkcs7-signature; name="smime.p7s"
|
D | SignedValidPolicyMappingTest9.eml | 5 Content-Type: multipart/signed; protocol="application/pkcs7-signature"; micalg="sha-256"; boundary=… 15 Content-Type: application/pkcs7-signature; name="smime.p7s"
|
D | SignedInvalidDSASignatureTest6.eml | 5 Content-Type: multipart/signed; protocol="application/pkcs7-signature"; micalg="sha1"; boundary="--… 15 Content-Type: application/pkcs7-signature; name="smime.p7s"
|
D | SignedValidpathLenConstraintTest7.eml | 5 Content-Type: multipart/signed; protocol="application/pkcs7-signature"; micalg="sha-256"; boundary=… 15 Content-Type: application/pkcs7-signature; name="smime.p7s"
|
D | SignedInvalidkeyUsageCriticalcRLSignFalseTest4.eml | 5 Content-Type: multipart/signed; protocol="application/pkcs7-signature"; micalg="sha-256"; boundary=… 15 Content-Type: application/pkcs7-signature; name="smime.p7s"
|
D | SignedValidDSASignaturesTest4.eml | 5 Content-Type: multipart/signed; protocol="application/pkcs7-signature"; micalg="sha1"; boundary="--… 15 Content-Type: application/pkcs7-signature; name="smime.p7s"
|
D | SignedValidLongSerialNumberTest17.eml | 5 Content-Type: multipart/signed; protocol="application/pkcs7-signature"; micalg="sha-256"; boundary=… 15 Content-Type: application/pkcs7-signature; name="smime.p7s"
|
D | SignedInvalidMappingFromanyPolicyTest7.eml | 5 Content-Type: multipart/signed; protocol="application/pkcs7-signature"; micalg="sha-256"; boundary=… 15 Content-Type: application/pkcs7-signature; name="smime.p7s"
|
D | SignedValidURInameConstraintsTest34.eml | 5 Content-Type: multipart/signed; protocol="application/pkcs7-signature"; micalg="sha-256"; boundary=… 15 Content-Type: application/pkcs7-signature; name="smime.p7s"
|
D | SignedValidUTF8StringCaseInsensitiveMatchTest11.eml | 5 Content-Type: multipart/signed; protocol="application/pkcs7-signature"; micalg="sha-256"; boundary=… 15 Content-Type: application/pkcs7-signature; name="smime.p7s"
|
D | SignedInvalidEESignatureTest3.eml | 5 Content-Type: multipart/signed; protocol="application/pkcs7-signature"; micalg="sha-256"; boundary=… 15 Content-Type: application/pkcs7-signature; name="smime.p7s"
|