Searched refs:pkcs7 (Results 1 – 16 of 16) sorted by relevance
471 CBS pkcs7; in test_cert_reparse() local478 CBS_init(&pkcs7, der_bytes, der_len); in test_cert_reparse()479 if (!PKCS7_get_certificates(certs, &pkcs7)) { in test_cert_reparse()491 CBS_init(&pkcs7, result_data, result_len); in test_cert_reparse()492 if (!PKCS7_get_certificates(certs2, &pkcs7)) { in test_cert_reparse()535 CBS pkcs7; in test_crl_reparse() local542 CBS_init(&pkcs7, der_bytes, der_len); in test_crl_reparse()543 if (!PKCS7_get_CRLs(crls, &pkcs7)) { in test_crl_reparse()555 CBS_init(&pkcs7, result_data, result_len); in test_crl_reparse()556 if (!PKCS7_get_CRLs(crls2, &pkcs7)) { in test_crl_reparse()
16 pkcs7.c
27 static int pkcs7_to_cert(struct hs20_osu_client *ctx, const u8 *pkcs7, in pkcs7_to_cert() argument31 const unsigned char *p = pkcs7; in pkcs7_to_cert()99 unsigned char *pkcs7; in est_load_cacerts() local135 pkcs7 = base64_decode((unsigned char *) resp, resp_len, &pkcs7_len); in est_load_cacerts()136 if (pkcs7 && pkcs7_len < resp_len / 2) { in est_load_cacerts()139 os_free(pkcs7); in est_load_cacerts()140 pkcs7 = NULL; in est_load_cacerts()142 if (pkcs7 == NULL) { in est_load_cacerts()144 pkcs7 = os_malloc(resp_len); in est_load_cacerts()145 if (pkcs7) { in est_load_cacerts()[all …]
18 package org.apache.harmony.security.tests.pkcs7;26 import org.apache.harmony.security.pkcs7.ContentInfo;27 import org.apache.harmony.security.pkcs7.SignedData;28 import org.apache.harmony.security.pkcs7.SignerInfo;
20 package org.apache.harmony.security.tests.pkcs7;28 import org.apache.harmony.security.pkcs7.SignerInfo;
171 $pkcs7 = "$cadir/tmp/est-client.pkcs7"; variable172 if (file_exists($pkcs7))173 unlink($pkcs7);174 exec("openssl crl2pkcs7 -nocrl -certfile $cert_pem -out $pkcs7 -outform DER");175 if (!file_exists($pkcs7)) {188 $data = file_get_contents($pkcs7);
57 sigrec.pkcs7 = newData[:sigrec.cbSignature]66 sigrec.cbSignature = len(sigrec.pkcs7)67 packed = sstruct.pack(DSIG_SignatureBlockFormat, sigrec) + sigrec.pkcs7123 writer.write_noindent(b64encode(self.pkcs7))131 self.pkcs7 = base64.b64decode(tobytes(strjoin(filter(pem_spam, content))))
30 import org.apache.harmony.security.pkcs7.ContentInfo;31 import org.apache.harmony.security.pkcs7.SignedData;32 import org.apache.harmony.security.pkcs7.SignerInfo;
196 pkcs 7 : pkcs7197 pkcs7 1 : : pkcs7-data198 !Cname pkcs7-signed199 pkcs7 2 : : pkcs7-signedData200 !Cname pkcs7-enveloped201 pkcs7 3 : : pkcs7-envelopedData202 !Cname pkcs7-signedAndEnveloped203 pkcs7 4 : : pkcs7-signedAndEnvelopedData204 !Cname pkcs7-digest205 pkcs7 5 : : pkcs7-digestData[all …]
21 pkcs7 20
6480 Unique_PKCS7 pkcs7(PKCS7_new()); local6481 if (pkcs7.get() == NULL) {6487 if (PKCS7_set_type(pkcs7.get(), NID_pkcs7_signed) != 1) {6502 if (PKCS7_set_content(pkcs7.get(), pkcs7Data.get()) != 1) {6511 if (PKCS7_add_certificate(pkcs7.get(), item) != 1) {6518 return ASN1ToByteArray<PKCS7>(env, pkcs7.get(), i2d_PKCS7);6572 static STACK_OF(X509)* PKCS7_get_certs(PKCS7* pkcs7) {6573 if (PKCS7_type_is_signed(pkcs7)) {6574 return pkcs7->d.sign->cert;6575 } else if (PKCS7_type_is_signedAndEnveloped(pkcs7)) {[all …]
72 openssl pkcs7 -inform DER -in CERT.RSA -out CERT.pem -outform PEM -print_certs
39 o pkcs7 support
210 src/crypto/x509/pkcs7.c\
META-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF ...