HomeSort by: relevance | last modified time | path
    Searched refs:cert_ctx (Results 1 - 10 of 10) sorted by relevancy

  /src/crypto/external/bsd/openssl.old/dist/crypto/pkcs7/
pk7_smime.c 211 X509_STORE_CTX *cert_ctx = NULL; local
260 cert_ctx = X509_STORE_CTX_new();
261 if (cert_ctx == NULL)
267 if (!X509_STORE_CTX_init(cert_ctx, store, signer,
272 X509_STORE_CTX_set_default(cert_ctx, "smime_sign");
273 } else if (!X509_STORE_CTX_init(cert_ctx, store, signer, NULL)) {
278 X509_STORE_CTX_set0_crls(cert_ctx, p7->d.sign->crl);
279 i = X509_verify_cert(cert_ctx);
281 j = X509_STORE_CTX_get_error(cert_ctx);
282 X509_STORE_CTX_cleanup(cert_ctx);
    [all...]
  /src/crypto/external/apache2/openssl/dist/crypto/pkcs7/
pk7_smime.c 220 X509_STORE_CTX *cert_ctx = NULL; local
270 cert_ctx = X509_STORE_CTX_new_ex(ossl_pkcs7_ctx_get0_libctx(p7_ctx),
272 if (cert_ctx == NULL)
285 if (!X509_STORE_CTX_init(cert_ctx, store, signer, untrusted)) {
290 && !X509_STORE_CTX_set_default(cert_ctx, "smime_sign"))
293 X509_STORE_CTX_set0_crls(cert_ctx, p7->d.sign->crl);
294 i = X509_verify_cert(cert_ctx);
296 j = X509_STORE_CTX_get_error(cert_ctx);
353 X509_STORE_CTX_free(cert_ctx);
  /src/crypto/external/apache2/openssl/dist/crypto/ts/
ts_rsp_verify.c 174 X509_STORE_CTX *cert_ctx = NULL; local
179 cert_ctx = X509_STORE_CTX_new();
180 if (cert_ctx == NULL) {
184 if (!X509_STORE_CTX_init(cert_ctx, store, signer, untrusted))
186 X509_STORE_CTX_set_purpose(cert_ctx, X509_PURPOSE_TIMESTAMP_SIGN);
187 i = X509_verify_cert(cert_ctx);
189 int j = X509_STORE_CTX_get_error(cert_ctx);
194 *chain = X509_STORE_CTX_get1_chain(cert_ctx);
202 X509_STORE_CTX_free(cert_ctx);
  /src/crypto/external/bsd/openssl/dist/crypto/ts/
ts_rsp_verify.c 174 X509_STORE_CTX *cert_ctx = NULL; local
179 cert_ctx = X509_STORE_CTX_new();
180 if (cert_ctx == NULL) {
184 if (!X509_STORE_CTX_init(cert_ctx, store, signer, untrusted))
186 X509_STORE_CTX_set_purpose(cert_ctx, X509_PURPOSE_TIMESTAMP_SIGN);
187 i = X509_verify_cert(cert_ctx);
189 int j = X509_STORE_CTX_get_error(cert_ctx);
194 *chain = X509_STORE_CTX_get1_chain(cert_ctx);
202 X509_STORE_CTX_free(cert_ctx);
  /src/crypto/external/bsd/openssl/dist/crypto/pkcs7/
pk7_smime.c 220 X509_STORE_CTX *cert_ctx = NULL; local
270 cert_ctx = X509_STORE_CTX_new_ex(ossl_pkcs7_ctx_get0_libctx(p7_ctx),
272 if (cert_ctx == NULL)
278 if (!X509_STORE_CTX_init(cert_ctx, store, signer,
283 if (!X509_STORE_CTX_set_default(cert_ctx, "smime_sign"))
285 } else if (!X509_STORE_CTX_init(cert_ctx, store, signer, NULL)) {
290 X509_STORE_CTX_set0_crls(cert_ctx, p7->d.sign->crl);
291 i = X509_verify_cert(cert_ctx);
293 j = X509_STORE_CTX_get_error(cert_ctx);
371 X509_STORE_CTX_free(cert_ctx);
    [all...]
  /src/crypto/external/bsd/openssl.old/dist/crypto/ts/
ts_rsp_verify.c 168 X509_STORE_CTX *cert_ctx = NULL; local
173 cert_ctx = X509_STORE_CTX_new();
174 if (cert_ctx == NULL) {
178 if (!X509_STORE_CTX_init(cert_ctx, store, signer, untrusted))
180 X509_STORE_CTX_set_purpose(cert_ctx, X509_PURPOSE_TIMESTAMP_SIGN);
181 i = X509_verify_cert(cert_ctx);
183 int j = X509_STORE_CTX_get_error(cert_ctx);
189 *chain = X509_STORE_CTX_get1_chain(cert_ctx);
197 X509_STORE_CTX_free(cert_ctx);
  /src/crypto/external/apache2/openssl/dist/apps/
ts.c 999 X509_STORE *cert_ctx = NULL; local
1004 cert_ctx = X509_STORE_new();
1005 if (cert_ctx == NULL) {
1009 X509_STORE_set_verify_cb(cert_ctx, verify_cb);
1011 lookup = X509_STORE_add_lookup(cert_ctx, X509_LOOKUP_hash_dir());
1023 lookup = X509_STORE_add_lookup(cert_ctx, X509_LOOKUP_file());
1037 lookup = X509_STORE_add_lookup(cert_ctx, X509_LOOKUP_store());
1049 X509_STORE_set1_param(cert_ctx, vpm);
1051 return cert_ctx;
1054 X509_STORE_free(cert_ctx);
    [all...]
  /src/crypto/external/bsd/openssl/dist/apps/
ts.c 976 X509_STORE *cert_ctx = NULL; local
981 cert_ctx = X509_STORE_new();
982 if (cert_ctx == NULL) {
986 X509_STORE_set_verify_cb(cert_ctx, verify_cb);
988 lookup = X509_STORE_add_lookup(cert_ctx, X509_LOOKUP_hash_dir());
1000 lookup = X509_STORE_add_lookup(cert_ctx, X509_LOOKUP_file());
1013 lookup = X509_STORE_add_lookup(cert_ctx, X509_LOOKUP_store());
1025 X509_STORE_set1_param(cert_ctx, vpm);
1027 return cert_ctx;
1030 X509_STORE_free(cert_ctx);
    [all...]
  /src/crypto/external/bsd/openssl.old/dist/apps/
ts.c 938 X509_STORE *cert_ctx = NULL; local
942 cert_ctx = X509_STORE_new();
943 X509_STORE_set_verify_cb(cert_ctx, verify_cb);
945 lookup = X509_STORE_add_lookup(cert_ctx, X509_LOOKUP_hash_dir());
958 lookup = X509_STORE_add_lookup(cert_ctx, X509_LOOKUP_file());
971 X509_STORE_set1_param(cert_ctx, vpm);
973 return cert_ctx;
976 X509_STORE_free(cert_ctx);
  /src/crypto/dist/ipsec-tools/src/racoon/
crypto_openssl.c 355 X509_STORE *cert_ctx = NULL; local
361 cert_ctx = X509_STORE_new();
362 if (cert_ctx == NULL)
366 X509_STORE_set_verify_cb_func(cert_ctx, cb_check_cert_local);
368 X509_STORE_set_verify_cb_func(cert_ctx, cb_check_cert_remote);
370 lookup = X509_STORE_add_lookup(cert_ctx, X509_LOOKUP_file());
377 lookup = X509_STORE_add_lookup(cert_ctx, X509_LOOKUP_hash_dir());
395 X509_STORE_CTX_init(csc, cert_ctx, x509, NULL);
410 if (cert_ctx != NULL)
411 X509_STORE_free(cert_ctx);
    [all...]

Completed in 37 milliseconds