Searched refs:cert_ctx (Results 1 – 5 of 5) sorted by relevance
/external/openssl/apps/ |
D | verify.c | 88 X509_STORE *cert_ctx=NULL; in MAIN() local 95 cert_ctx=X509_STORE_new(); in MAIN() 96 if (cert_ctx == NULL) goto end; in MAIN() 97 X509_STORE_set_verify_cb(cert_ctx,cb); in MAIN() 175 X509_STORE_set1_param(cert_ctx, vpm); in MAIN() 177 lookup=X509_STORE_add_lookup(cert_ctx,X509_LOOKUP_file()); in MAIN() 188 lookup=X509_STORE_add_lookup(cert_ctx,X509_LOOKUP_hash_dir()); in MAIN() 225 if (argc < 1) check(cert_ctx, NULL, untrusted, trusted, crls, e); in MAIN() 228 check(cert_ctx,argv[i], untrusted, trusted, crls, e); in MAIN() 247 if (cert_ctx != NULL) X509_STORE_free(cert_ctx); in MAIN()
|
/external/openssl/crypto/pkcs7/ |
D | pk7_smime.c | 273 X509_STORE_CTX cert_ctx; in PKCS7_verify() local 323 if(!X509_STORE_CTX_init(&cert_ctx, store, signer, in PKCS7_verify() 330 X509_STORE_CTX_set_default(&cert_ctx, "smime_sign"); in PKCS7_verify() 331 } else if(!X509_STORE_CTX_init (&cert_ctx, store, signer, NULL)) { in PKCS7_verify() 337 X509_STORE_CTX_set0_crls(&cert_ctx, p7->d.sign->crl); in PKCS7_verify() 338 i = X509_verify_cert(&cert_ctx); in PKCS7_verify() 339 if (i <= 0) j = X509_STORE_CTX_get_error(&cert_ctx); in PKCS7_verify() 340 X509_STORE_CTX_cleanup(&cert_ctx); in PKCS7_verify()
|
D | dec.c | 81 X509_STORE_CTX cert_ctx; local 183 i=PKCS7_dataVerify(cert_store,&cert_ctx,p7bio,p7,si);
|
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/ |
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, x509, NULL); [all …]
|