Searched refs:cert_ctx (Results 1 - 5 of 5) sorted by relevance
/external/openssl/apps/ |
H A D | verify.c | 88 X509_STORE *cert_ctx=NULL; local 95 cert_ctx=X509_STORE_new(); 96 if (cert_ctx == NULL) goto end; 97 X509_STORE_set_verify_cb(cert_ctx,cb); 175 X509_STORE_set1_param(cert_ctx, vpm); 177 lookup=X509_STORE_add_lookup(cert_ctx,X509_LOOKUP_file()); 188 lookup=X509_STORE_add_lookup(cert_ctx,X509_LOOKUP_hash_dir()); 225 if (argc < 1) check(cert_ctx, NULL, untrusted, trusted, crls, e); 228 check(cert_ctx,argv[i], untrusted, trusted, crls, e); 247 if (cert_ctx ! [all...] |
/external/openssl/crypto/pkcs7/ |
H A D | pk7_smime.c | 273 X509_STORE_CTX cert_ctx; local 323 if(!X509_STORE_CTX_init(&cert_ctx, store, signer, 330 X509_STORE_CTX_set_default(&cert_ctx, "smime_sign"); 331 } else if(!X509_STORE_CTX_init (&cert_ctx, store, signer, NULL)) { 337 X509_STORE_CTX_set0_crls(&cert_ctx, p7->d.sign->crl); 338 i = X509_verify_cert(&cert_ctx); 339 if (i <= 0) j = X509_STORE_CTX_get_error(&cert_ctx); 340 X509_STORE_CTX_cleanup(&cert_ctx);
|
H A D | dec.c | 81 X509_STORE_CTX cert_ctx; local 183 i=PKCS7_dataVerify(cert_store,&cert_ctx,p7bio,p7,si);
|
H A D | verify.c | 78 X509_STORE_CTX cert_ctx; local 185 rc=PKCS7_dataVerify(cert_store,&cert_ctx,p7bio,p7,si);
|
/external/ipsec-tools/src/racoon/ |
H A D | crypto_openssl.c | 461 X509_STORE *cert_ctx = NULL; local 467 cert_ctx = X509_STORE_new(); 468 if (cert_ctx == NULL) 472 X509_STORE_set_verify_cb_func(cert_ctx, cb_check_cert_local); 474 X509_STORE_set_verify_cb_func(cert_ctx, cb_check_cert_remote); 494 X509_STORE_add_cert(cert_ctx, info->x509); 497 X509_STORE_add_crl(cert_ctx, info->crl); 503 lookup = X509_STORE_add_lookup(cert_ctx, X509_LOOKUP_file()); 510 lookup = X509_STORE_add_lookup(cert_ctx, X509_LOOKUP_hash_dir()); 531 X509_STORE_CTX_init(csc, cert_ctx, x50 [all...] |
Completed in 179 milliseconds