Home
last modified time | relevance | path

Searched refs:pkcs7 (Results 1 – 25 of 265) sorted by relevance

1234567891011

/external/wpa_supplicant_8/hs20/client/
Dest.c31 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/
Dpkcs7_test.cc480 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/
Dpkcs7_test.cc480 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/
Dlibkmod-signature.c124 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/
Dest.php205 $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/
DD_S_I_G_.py56 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/
Dreadme.md4 `pkcs7-signed-digested.pem` and `pkcs7-signed-digested.der` all have invalid
/external/python/cryptography/vectors/cryptography_vectors/x509/PKITS_data/smime/
DSignedInvalidUnknownCriticalCertificateExtensionTest2.eml5 Content-Type: multipart/signed; protocol="application/pkcs7-signature"; micalg="sha-256"; boundary=…
15 Content-Type: application/pkcs7-signature; name="smime.p7s"
DSignedValidUnknownNotCriticalCertificateExtensionTest1.eml5 Content-Type: multipart/signed; protocol="application/pkcs7-signature"; micalg="sha-256"; boundary=…
15 Content-Type: application/pkcs7-signature; name="smime.p7s"
DSignedUserNoticeQualifierTest19.eml5 Content-Type: multipart/signed; protocol="application/pkcs7-signature"; micalg="sha-256"; boundary=…
15 Content-Type: application/pkcs7-signature; name="smime.p7s"
DSignedUserNoticeQualifierTest15.eml5 Content-Type: multipart/signed; protocol="application/pkcs7-signature"; micalg="sha-256"; boundary=…
15 Content-Type: application/pkcs7-signature; name="smime.p7s"
DSignedInvalidcAFalseTest2.eml5 Content-Type: multipart/signed; protocol="application/pkcs7-signature"; micalg="sha-256"; boundary=…
15 Content-Type: application/pkcs7-signature; name="smime.p7s"
DSignedValidDSAParameterInheritanceTest5.eml5 Content-Type: multipart/signed; protocol="application/pkcs7-signature"; micalg="sha1"; boundary="--…
15 Content-Type: application/pkcs7-signature; name="smime.p7s"
DSignedValidRFC822nameConstraintsTest23.eml5 Content-Type: multipart/signed; protocol="application/pkcs7-signature"; micalg="sha-256"; boundary=…
15 Content-Type: application/pkcs7-signature; name="smime.p7s"
DSignedMissingCRLTest1.eml5 Content-Type: multipart/signed; protocol="application/pkcs7-signature"; micalg="sha-256"; boundary=…
15 Content-Type: application/pkcs7-signature; name="smime.p7s"
DSignedValidPolicyMappingTest9.eml5 Content-Type: multipart/signed; protocol="application/pkcs7-signature"; micalg="sha-256"; boundary=…
15 Content-Type: application/pkcs7-signature; name="smime.p7s"
DSignedInvalidDSASignatureTest6.eml5 Content-Type: multipart/signed; protocol="application/pkcs7-signature"; micalg="sha1"; boundary="--…
15 Content-Type: application/pkcs7-signature; name="smime.p7s"
DSignedValidpathLenConstraintTest7.eml5 Content-Type: multipart/signed; protocol="application/pkcs7-signature"; micalg="sha-256"; boundary=…
15 Content-Type: application/pkcs7-signature; name="smime.p7s"
DSignedInvalidkeyUsageCriticalcRLSignFalseTest4.eml5 Content-Type: multipart/signed; protocol="application/pkcs7-signature"; micalg="sha-256"; boundary=…
15 Content-Type: application/pkcs7-signature; name="smime.p7s"
DSignedValidDSASignaturesTest4.eml5 Content-Type: multipart/signed; protocol="application/pkcs7-signature"; micalg="sha1"; boundary="--…
15 Content-Type: application/pkcs7-signature; name="smime.p7s"
DSignedValidLongSerialNumberTest17.eml5 Content-Type: multipart/signed; protocol="application/pkcs7-signature"; micalg="sha-256"; boundary=…
15 Content-Type: application/pkcs7-signature; name="smime.p7s"
DSignedInvalidMappingFromanyPolicyTest7.eml5 Content-Type: multipart/signed; protocol="application/pkcs7-signature"; micalg="sha-256"; boundary=…
15 Content-Type: application/pkcs7-signature; name="smime.p7s"
DSignedValidURInameConstraintsTest34.eml5 Content-Type: multipart/signed; protocol="application/pkcs7-signature"; micalg="sha-256"; boundary=…
15 Content-Type: application/pkcs7-signature; name="smime.p7s"
DSignedValidUTF8StringCaseInsensitiveMatchTest11.eml5 Content-Type: multipart/signed; protocol="application/pkcs7-signature"; micalg="sha-256"; boundary=…
15 Content-Type: application/pkcs7-signature; name="smime.p7s"
DSignedInvalidEESignatureTest3.eml5 Content-Type: multipart/signed; protocol="application/pkcs7-signature"; micalg="sha-256"; boundary=…
15 Content-Type: application/pkcs7-signature; name="smime.p7s"

1234567891011