Home
last modified time | relevance | path

Searched refs:X509 (Results 26 – 50 of 337) sorted by relevance

12345678910>>...14

/openssl/apps/include/
H A Dapps.h86 int set_cert_times(X509 *x, const char *startdate, const char *enddate,
106 void dump_cert_text(BIO *out, X509 *x);
117 int copy_extensions(X509 *x, X509_REQ *req, int copy_type);
124 X509 *load_cert_pass(const char *uri, int format, int maybe_stdin,
143 X509 **pcert, STACK_OF(X509) **pcerts,
146 STACK_OF(X509) *load_certs_multifile(char *files, const char *pass,
150 int load_certs(const char *uri, int maybe_stdin, STACK_OF(X509) **certs,
158 X509 **pcert, STACK_OF(X509) **pcerts,
258 int x509_ctrl_string(X509 *x, const char *value);
263 int cert_matches_key(const X509 *cert, const EVP_PKEY *pkey);
[all …]
/openssl/crypto/pkcs7/
H A Dpk7_smime.c24 PKCS7 *PKCS7_sign_ex(X509 *signcert, EVP_PKEY *pkey, STACK_OF(X509) *certs, in PKCS7_sign_ex()
68 PKCS7 *PKCS7_sign(X509 *signcert, EVP_PKEY *pkey, STACK_OF(X509) *certs, in PKCS7_sign()
218 STACK_OF(X509) *signers; in PKCS7_verify()
219 STACK_OF(X509) *included_certs; in PKCS7_verify()
220 STACK_OF(X509) *untrusted = NULL; in PKCS7_verify()
221 X509 *signer; in PKCS7_verify()
367 STACK_OF(X509) *PKCS7_get0_signers(PKCS7 *p7, STACK_OF(X509) *certs, in STACK_OF() argument
370 STACK_OF(X509) *signers, *included_certs; in STACK_OF()
374 X509 *signer; in STACK_OF()
428 PKCS7 *PKCS7_encrypt_ex(STACK_OF(X509) *certs, BIO *in, in PKCS7_encrypt_ex()
[all …]
/openssl/test/helpers/
H A Dcmp_testlib.h26 int STACK_OF_X509_cmp(const STACK_OF(X509) *sk1, const STACK_OF(X509) *sk2);
27 int STACK_OF_X509_push1(STACK_OF(X509) *sk, X509 *cert);
H A Dcmp_testlib.c35 int STACK_OF_X509_cmp(const STACK_OF(X509) *sk1, const STACK_OF(X509) *sk2) in STACK_OF_X509_cmp()
38 X509 *a, *b; in STACK_OF_X509_cmp()
63 int STACK_OF_X509_push1(STACK_OF(X509) *sk, X509 *cert) in STACK_OF_X509_push1()
/openssl/include/openssl/
H A Dcmp.h.in293 X509 **newWithNew,
294 X509 **newWithOld,
295 X509 **oldWithNew);
387 int OSSL_CMP_CTX_set1_srvCert(OSSL_CMP_CTX *ctx, X509 *cert);
396 int OSSL_CMP_CTX_set1_cert(OSSL_CMP_CTX *ctx, X509 *cert);
423 int OSSL_CMP_CTX_set1_oldCert(OSSL_CMP_CTX *ctx, X509 *cert);
441 X509 *OSSL_CMP_CTX_get0_newCert(const OSSL_CMP_CTX *ctx);
500 X509 **certOut, STACK_OF(X509) **chainOut, STACK_OF(X509) **caPubs);
547 X509 *OSSL_CMP_exec_certreq(OSSL_CMP_CTX *ctx, int req_type,
571 const X509 *oldWithOld, X509 **newWithNew,
[all …]
H A Dx509_vfy.h.in128 int X509_trusted(const X509 *x);
131 void X509_trust_clear(X509 *x);
132 void X509_reject_clear(X509 *x);
136 int (*X509_TRUST_set_default(int (*trust) (int, X509 *, int))) (int, X509 *,
138 int X509_check_trust(X509 *x, int id, int flags);
142 STACK_OF(X509) *X509_build_chain(X509 *target, STACK_OF(X509) *certs,
154 X509 *x, X509 *issuer);
162 typedef STACK_OF(X509) typedef
468 int X509_STORE_CTX_get1_issuer(X509 **issuer, X509_STORE_CTX *ctx, X509 *x);
472 X509 *target, STACK_OF(X509) *untrusted);
[all …]
H A Dess.h.in65 ESS_SIGNING_CERT *OSSL_ESS_signing_cert_new_init(const X509 *signcert,
66 const STACK_OF(X509) *certs,
69 const X509 *signcert,
71 STACK_OF(X509) *certs,
75 const STACK_OF(X509) *chain,
H A Docsp.h.in201 const X509 *issuer);
216 int OCSP_request_add1_cert(OCSP_REQUEST *req, X509 *cert);
219 X509 *signer,
230 int OCSP_resp_get0_signer(OCSP_BASICRESP *bs, X509 **signer,
231 STACK_OF(X509) *extra_certs);
280 int OCSP_basic_add1_cert(OCSP_BASICRESP *resp, X509 *cert);
285 X509 *signer, EVP_MD_CTX *ctx,
287 int OCSP_RESPID_set_by_name(OCSP_RESPID *respid, X509 *cert);
288 int OCSP_RESPID_set_by_key_ex(OCSP_RESPID *respid, X509 *cert,
290 int OCSP_RESPID_set_by_key(OCSP_RESPID *respid, X509 *cert);
[all …]
/openssl/test/
H A Dpkcs12_api_test.c64 static int changepass(PKCS12 *p12, EVP_PKEY *key, X509 *cert, STACK_OF(X509) *ca) in changepass()
69 X509 *cert2 = NULL; in changepass()
70 STACK_OF(X509) *ca2 = NULL; in changepass()
108 X509 *cert = NULL; in pkcs12_parse_test()
109 STACK_OF(X509) *ca = NULL; in pkcs12_parse_test()
143 static PKCS12 *pkcs12_create_ex2_setup(EVP_PKEY **key, X509 **cert, STACK_OF(X509) **ca) in pkcs12_create_ex2_setup()
164 X509 *cert = NULL; in pkcs12_create_ex2_test()
165 STACK_OF(X509) *ca = NULL; in pkcs12_create_ex2_test()
H A Dverify_extra_test.c65 X509 *x = NULL; in test_alt_chains_cert_forgery()
66 STACK_OF(X509) *untrusted = NULL; in test_alt_chains_cert_forgery()
109 X509 *x = NULL; in test_distinguishing_id()
183 X509 *cert = load_cert_from_file(filename); /* may result in NULL */ in test_self_signed()
184 STACK_OF(X509) *trusted = sk_X509_new_null(); in test_self_signed()
227 X509 *eecert = load_cert_from_file(ee_cert); /* may result in NULL */ in do_test_purpose()
228 X509 *untrcert = load_cert_from_file(ca_cert); in do_test_purpose()
229 X509 *trcert = load_cert_from_file(sroot_cert); in do_test_purpose()
230 STACK_OF(X509) *trusted = sk_X509_new_null(); in do_test_purpose()
231 STACK_OF(X509) *untrusted = sk_X509_new_null(); in do_test_purpose()
H A Docspapitest.c25 static int get_cert_and_key(X509 **cert_out, EVP_PKEY **key_out) in get_cert_and_key()
28 X509 *cert = NULL; in get_cert_and_key()
50 static int get_cert(X509 **cert_out) in get_cert()
53 X509 *cert = NULL; in get_cert()
115 X509 *signer = NULL, *tmp; in test_resp_signer()
117 STACK_OF(X509) *extra_certs = NULL; in test_resp_signer()
195 X509 *issuer = NULL; in test_ocsp_url_svcloc_new()
/openssl/doc/man3/
H A DOCSP_response_status.pod20 int OCSP_RESPID_set_by_name(OCSP_RESPID *respid, X509 *cert);
21 int OCSP_RESPID_set_by_key_ex(OCSP_RESPID *respid, X509 *cert,
23 int OCSP_RESPID_set_by_key(OCSP_RESPID *respid, X509 *cert);
24 int OCSP_RESPID_match_ex(OCSP_RESPID *respid, X509 *cert, OSSL_LIB_CTX *libctx,
26 int OCSP_RESPID_match(OCSP_RESPID *respid, X509 *cert);
28 int OCSP_basic_sign(OCSP_BASICRESP *brsp, X509 *signer, EVP_PKEY *key,
29 const EVP_MD *dgst, STACK_OF(X509) *certs,
31 int OCSP_basic_sign_ctx(OCSP_BASICRESP *brsp, X509 *signer, EVP_MD_CTX *ctx,
32 STACK_OF(X509) *certs, unsigned long flags);
52 subject name in the supplied X509 certificate I<cert> for the OCSP responder.
[all …]
/openssl/crypto/ts/
H A Dts_rsp_verify.c19 static int ts_verify_cert(X509_STORE *store, STACK_OF(X509) *untrusted,
20 X509 *signer, STACK_OF(X509) **chain);
22 const STACK_OF(X509) *chain);
88 int TS_RESP_verify_signature(PKCS7 *token, STACK_OF(X509) *certs, in TS_RESP_verify_signature()
93 STACK_OF(X509) *untrusted = NULL; in TS_RESP_verify_signature()
94 STACK_OF(X509) *signers = NULL; in TS_RESP_verify_signature()
95 X509 *signer; in TS_RESP_verify_signature()
96 STACK_OF(X509) *chain = NULL; in TS_RESP_verify_signature()
172 X509 *signer, STACK_OF(X509) **chain) in ts_verify_cert()
232 const STACK_OF(X509) *chain) in ts_check_signing_certs()
[all …]
/openssl/crypto/cmp/
H A Dcmp_vfy.c26 const OSSL_CMP_MSG *msg, X509 *cert) in verify_signature()
107 X509_STORE *trusted_store, X509 *cert) in OSSL_CMP_validate_cert_path()
142 static int verify_cb_cert(X509_STORE *ts, X509 *cert, int err) in verify_cb_cert()
225 static int already_checked(const X509 *cert, in already_checked()
226 const STACK_OF(X509) *already_checked) in already_checked()
246 const STACK_OF(X509) *already_checked1, in cert_acceptable()
247 const STACK_OF(X509) *already_checked2, in cert_acceptable()
309 X509 *scrt) in check_cert_path()
353 X509 *newcrt = ossl_cmp_certresponse_get1_cert(ctx, crep); in check_cert_path_3gpp()
398 X509 *cert = sk_X509_value(certs, i); in check_msg_with_certs()
[all …]
/openssl/crypto/ocsp/
H A Docsp_srv.c157 int OCSP_basic_add1_cert(OCSP_BASICRESP *resp, X509 *cert) in OCSP_basic_add1_cert()
168 X509 *signer, EVP_MD_CTX *ctx, in OCSP_basic_sign_ctx()
169 STACK_OF(X509) *certs, unsigned long flags) in OCSP_basic_sign_ctx()
216 X509 *signer, EVP_PKEY *key, const EVP_MD *dgst, in OCSP_basic_sign()
217 STACK_OF(X509) *certs, unsigned long flags) in OCSP_basic_sign()
236 int OCSP_RESPID_set_by_name(OCSP_RESPID *respid, X509 *cert) in OCSP_RESPID_set_by_name()
246 int OCSP_RESPID_set_by_key_ex(OCSP_RESPID *respid, X509 *cert, in OCSP_RESPID_set_by_key_ex()
279 int OCSP_RESPID_set_by_key(OCSP_RESPID *respid, X509 *cert) in OCSP_RESPID_set_by_key()
286 int OCSP_RESPID_match_ex(OCSP_RESPID *respid, X509 *cert, OSSL_LIB_CTX *libctx, in OCSP_RESPID_match_ex()
322 int OCSP_RESPID_match(OCSP_RESPID *respid, X509 *cert) in OCSP_RESPID_match()
/openssl/crypto/pem/
H A Dpem_x509.c18 IMPLEMENT_PEM_rw(X509, X509, PEM_STRING_X509, X509)
/openssl/crypto/cms/
H A Dcms_smime.c270 X509 *signer; in cms_signerinfo_verify_cert()
307 int CMS_verify(CMS_ContentInfo *cms, STACK_OF(X509) *certs, in CMS_verify()
312 STACK_OF(X509) *untrusted = NULL; in CMS_verify()
314 STACK_OF(X509) **si_chains = NULL; in CMS_verify()
315 X509 *signer; in CMS_verify()
501 STACK_OF(X509) *certs, in CMS_verify_receipt()
539 X509 *x = sk_X509_value(certs, i); in CMS_sign_ex()
561 CMS_ContentInfo *CMS_sign(X509 *signcert, EVP_PKEY *pkey, STACK_OF(X509) *certs, in CMS_sign()
646 X509 *recip; in CMS_encrypt_ex()
686 EVP_PKEY *pk, X509 *cert, X509 *peer) in cms_kari_set1_pkey_and_peer()
[all …]
H A Dcms_local.h97 X509 *signer;
161 X509 *recip;
310 X509 *certificate;
412 int ossl_cms_set1_SignerIdentifier(CMS_SignerIdentifier *sid, X509 *cert,
430 int ossl_cms_ias_cert_cmp(CMS_IssuerAndSerialNumber *ias, X509 *cert);
431 int ossl_cms_keyid_cert_cmp(ASN1_OCTET_STRING *keyid, X509 *cert);
432 int ossl_cms_set1_ias(CMS_IssuerAndSerialNumber **pias, X509 *cert);
433 int ossl_cms_set1_keyid(ASN1_OCTET_STRING **pkeyid, X509 *cert);
463 int ossl_cms_RecipientInfo_kari_init(CMS_RecipientInfo *ri, X509 *recip,
464 EVP_PKEY *recipPubKey, X509 *originator,
[all …]
/openssl/test/testutil/
H A Dload.c18 X509 *load_cert_pem(const char *file, OSSL_LIB_CTX *libctx) in load_cert_pem()
20 X509 *cert = NULL; in load_cert_pem()
33 STACK_OF(X509) *load_certs_pem(const char *file) in STACK_OF() argument
35 STACK_OF(X509) *certs; in STACK_OF()
37 X509 *x; in STACK_OF()
/openssl/apps/lib/
H A Dcmp_mock_srv.c25 X509 *newWithNew; /* to return in newWithNew of rootKeyUpdate */
71 X509 *cert) \
107 STACK_OF(X509) *chain) in ossl_cmp_mock_srv_set1_chainOut()
110 STACK_OF(X509) *chain_copy = NULL; in ossl_cmp_mock_srv_set1_chainOut()
124 STACK_OF(X509) *caPubs) in ossl_cmp_mock_srv_set1_caPubsOut()
127 STACK_OF(X509) *caPubs_copy = NULL; in ossl_cmp_mock_srv_set1_caPubsOut()
235 static int refcert_cmp(const X509 *refcert, in refcert_cmp()
271 X509 **certOut, in process_cert_request()
272 STACK_OF(X509) **chainOut, in process_cert_request()
273 STACK_OF(X509) **caPubs) in process_cert_request()
[all …]
/openssl/ssl/statem/
H A Dextensions_srvr.c43 X509 *x, size_t chainidx) in tls_parse_ctos_renegotiate()
220 X509 *x, size_t chainidx) in tls_parse_ctos_srp()
241 X509 *x, size_t chainidx) in tls_parse_ctos_ec_pt_formats()
280 ossl_unused X509 *x, in tls_parse_ctos_sig_algs_cert()
425 X509 *x, size_t chainidx) in tls_parse_ctos_npn()
443 X509 *x, size_t chainidx) in tls_parse_ctos_alpn()
548 X509 *x, size_t chainidx) in tls_parse_ctos_etm()
724 X509 *x, size_t chainidx) in tls_parse_ctos_cookie()
963 X509 *x, size_t chainidx) in tls_parse_ctos_ems()
981 X509 *x, size_t chainidx) in tls_parse_ctos_early_data()
[all …]
H A Dextensions_clnt.c115 X509 *x, size_t chainidx) in tls_construct_ctos_srp()
1259 X509 *x, size_t chainidx) in tls_parse_stoc_renegotiate()
1353 X509 *x, size_t chainidx) in tls_parse_stoc_server_name()
1492 X509 *x, size_t chainidx) in tls_parse_stoc_sct()
1575 X509 *x, size_t chainidx) in tls_parse_stoc_npn()
1628 X509 *x, size_t chainidx) in tls_parse_stoc_alpn()
1766 X509 *x, size_t chainidx) in tls_parse_stoc_etm()
1782 X509 *x, size_t chainidx) in tls_parse_stoc_ems()
1970 X509 *x, size_t chainidx) in tls_parse_stoc_cookie()
1986 X509 *x, size_t chainidx) in tls_parse_stoc_early_data()
[all …]
/openssl/crypto/ct/
H A Dct_local.h110 X509 *cert;
111 X509 *issuer;
138 __owur int SCT_CTX_set1_cert(SCT_CTX *sctx, X509 *cert, X509 *presigner);
147 __owur int SCT_CTX_set1_issuer(SCT_CTX *sctx, const X509 *issuer);
H A Dct_sct_ctx.c60 static int ct_x509_get_ext(X509 *cert, int nid, int *is_duplicated) in ct_x509_get_ext()
75 __owur static int ct_x509_cert_fixup(X509 *cert, X509 *presigner) in ct_x509_cert_fixup()
119 int SCT_CTX_set1_cert(SCT_CTX *sctx, X509 *cert, X509 *presigner) in SCT_CTX_set1_cert()
122 X509 *pretmp = NULL; in SCT_CTX_set1_cert()
245 int SCT_CTX_set1_issuer(SCT_CTX *sctx, const X509 *issuer) in SCT_CTX_set1_issuer()
H A Dct_policy.c68 int CT_POLICY_EVAL_CTX_set1_cert(CT_POLICY_EVAL_CTX *ctx, X509 *cert) in CT_POLICY_EVAL_CTX_set1_cert()
76 int CT_POLICY_EVAL_CTX_set1_issuer(CT_POLICY_EVAL_CTX *ctx, X509 *issuer) in CT_POLICY_EVAL_CTX_set1_issuer()
95 X509* CT_POLICY_EVAL_CTX_get0_cert(const CT_POLICY_EVAL_CTX *ctx) in CT_POLICY_EVAL_CTX_get0_cert()
100 X509* CT_POLICY_EVAL_CTX_get0_issuer(const CT_POLICY_EVAL_CTX *ctx) in CT_POLICY_EVAL_CTX_get0_issuer()

Completed in 68 milliseconds

12345678910>>...14