Home
last modified time | relevance | path

Searched refs:X509 (Results 1 – 25 of 131) sorted by relevance

123456

/dragonfly/crypto/libressl/crypto/x509/
H A Dx509_cmp.c75 X509_issuer_and_serial_cmp(const X509 *a, const X509 *b) in X509_issuer_and_serial_cmp()
125 X509_issuer_name_cmp(const X509 *a, const X509 *b) in X509_issuer_name_cmp()
131 X509_subject_name_cmp(const X509 *a, const X509 *b) in X509_subject_name_cmp()
213 X509_cmp(const X509 *a, const X509 *b) in X509_cmp()
293 X509 *
299 X509 x, *x509 = NULL; in X509_find_by_issuer_and_serial()
316 X509 *
319 X509 *x509; in X509_find_by_subject()
331 X509_get_pubkey(X509 *x) in X509_get_pubkey()
389 STACK_OF(X509) * in STACK_OF() argument
[all …]
H A Dx509_set.c69 X509_get0_extensions(const X509 *x) in STACK_OF()
75 X509_get0_tbs_sigalg(const X509 *x) in X509_get0_tbs_sigalg()
81 X509_set_version(X509 *x, long version) in X509_set_version()
93 X509_get_version(const X509 *x) in X509_get_version()
133 X509_get0_notBefore(const X509 *x) in X509_get0_notBefore()
139 X509_getm_notBefore(const X509 *x) in X509_getm_notBefore()
171 X509_get0_notAfter(const X509 *x) in X509_get0_notAfter()
177 X509_getm_notAfter(const X509 *x) in X509_getm_notAfter()
209 X509_set_pubkey(X509 *x, EVP_PKEY *pkey) in X509_set_pubkey()
217 X509_get_signature_type(const X509 *x) in X509_get_signature_type()
[all …]
H A Dx509_lcl.h244 X509 *x509;
297 int (*get_issuer)(X509 **issuer, X509_STORE_CTX *ctx, X509 *x); /* get issuers cert from ctx */
298 int (*check_issued)(X509_STORE_CTX *ctx, X509 *x, X509 *issuer); /* check issued */
303 STACK_OF(X509) * (*lookup_certs)(X509_STORE_CTX *ctx, X509_NAME *nm);
330 X509 *cert; /* The cert to check */
340 int (*get_issuer)(X509 **issuer, X509_STORE_CTX *ctx, X509 *x); /* get issuers cert from ctx */
341 int (*check_issued)(X509_STORE_CTX *ctx, X509 *x, X509 *issuer); /* check issued */
347 STACK_OF(X509) * (*lookup_certs)(X509_STORE_CTX *ctx, X509_NAME *nm);
354 STACK_OF(X509) *chain; /* chain of X509s - built up and trusted */
362 X509 *current_cert;
[all …]
H A Dx509_purp.c79 void x509v3_cache_extensions(X509 *x);
81 static int check_ssl_ca(const X509 *x);
395 setup_dp(X509 *x, DIST_POINT *dp) in setup_dp()
425 setup_crldp(X509 *x) in setup_crldp()
440 x509v3_cache_extensions(X509 *x) in x509v3_cache_extensions()
640 check_ca(const X509 *x) in check_ca()
668 X509_check_ca(X509 *x) in X509_check_ca()
681 check_ssl_ca(const X509 *x) in check_ssl_ca()
879 X509_check_issued(X509 *issuer, X509 *subject) in X509_check_issued()
953 X509_get_extension_flags(X509 *x) in X509_get_extension_flags()
[all …]
H A Dx509_vfy.c120 static X509 *find_issuer(X509_STORE_CTX *ctx, STACK_OF(X509) *sk, X509 *x,
160 x509_subject_cmp(X509 **a, X509 **b)
738 X509 *x; in x509_vfy_check_chain_extensions()
921 X509 *
1024 X509 *x; in check_cert()
1805 X509 *x; in x509_vfy_check_policy()
1930 X509 *xs; in x509_vfy_internal_verify()
2172 X509 *
2200 X509 *x; in STACK_OF()
2212 X509 *
[all …]
H A Dx509_internal.h62 STACK_OF(X509) *certs; /* Kept in chain order, includes leaf */
70 STACK_OF(X509) *saved_error_chain;
74 STACK_OF(X509) *roots; /* Trusted roots for this validation */
75 STACK_OF(X509) *intermediates; /* Intermediates provided by peer */
96 void x509v3_cache_extensions(X509 *x);
97 X509 *x509_vfy_lookup_cert_match(X509_STORE_CTX *ctx, X509 *x);
126 X509 *cert, int include_cn, int *error);
127 int x509_constraints_extract_constraints(X509 *cert,
135 int x509_constraints_chain(STACK_OF(X509) *chain, int *error,
137 void x509_verify_cert_info_populate(X509 *cert);
H A Dx509_trs.c70 static int trust_1oidany(X509_TRUST *trust, X509 *x, int flags);
71 static int trust_1oid(X509_TRUST *trust, X509 *x, int flags);
72 static int trust_compat(X509_TRUST *trust, X509 *x, int flags);
74 static int obj_trust(int id, X509 *x, int flags);
104 (*X509_TRUST_set_default(int (*trust)(int , X509 *, int)))(int, X509 *, int) in X509_TRUST_set_default() argument
106 int (*oldtrust)(int , X509 *, int); in X509_TRUST_set_default()
114 X509_check_trust(X509 *x, int id, int flags) in X509_check_trust()
293 trust_1oidany(X509_TRUST *trust, X509 *x, int flags) in trust_1oidany()
304 trust_1oid(X509_TRUST *trust, X509 *x, int flags) in trust_1oid()
312 trust_compat(X509_TRUST *trust, X509 *x, int flags) in trust_compat()
[all …]
H A Dx509_verify.c86 x509_verify_cert_info_populate(X509 *cert) in x509_verify_cert_info_populate()
195 static X509 *
207 X509 *
256 x509_verify_cert_self_signed(X509 *cert) in x509_verify_cert_self_signed()
274 X509 *match = NULL; in x509_verify_ctx_cert_is_root()
530 X509 *child) in x509_verify_potential_parent()
542 x509_verify_parent_signature(X509 *parent, X509 *child, int *error) in x509_verify_parent_signature()
657 X509 *candidate; in x509_verify_build_chains()
931 X509 *issuer_candidate; in x509_verify_cert_valid()
1077 STACK_OF(X509) *intermediates) in x509_verify_ctx_set_intermediates()
[all …]
H A Dx509_ext.c126 X509_get_ext_count(const X509 *x) in X509_get_ext_count()
132 X509_get_ext_by_NID(const X509 *x, int nid, int lastpos) in X509_get_ext_by_NID()
138 X509_get_ext_by_OBJ(const X509 *x, const ASN1_OBJECT *obj, int lastpos) in X509_get_ext_by_OBJ()
144 X509_get_ext_by_critical(const X509 *x, int crit, int lastpos) in X509_get_ext_by_critical()
151 X509_get_ext(const X509 *x, int loc) in X509_get_ext()
157 X509_delete_ext(X509 *x, int loc) in X509_delete_ext()
163 X509_add_ext(X509 *x, X509_EXTENSION *ex, int loc) in X509_add_ext()
169 X509_get_ext_d2i(const X509 *x, int nid, int *crit, int *idx) in X509_get_ext_d2i()
175 X509_add1_ext_i2d(X509 *x, int nid, void *value, int crit, unsigned long flags) in X509_add1_ext_i2d()
H A Dx_all.c78 X509 *
79 d2i_X509_bio(BIO *bp, X509 **x509) in d2i_X509_bio()
85 i2d_X509_bio(BIO *bp, X509 *x509) in i2d_X509_bio()
90 X509 *
91 d2i_X509_fp(FILE *fp, X509 **x509) in d2i_X509_fp()
97 i2d_X509_fp(FILE *fp, X509 *x509) in i2d_X509_fp()
382 X509_verify(X509 *a, EVP_PKEY *r) in X509_verify()
405 X509_sign(X509 *x, EVP_PKEY *pkey, const EVP_MD *md) in X509_sign()
414 X509_sign_ctx(X509 *x, EVP_MD_CTX *ctx) in X509_sign_ctx()
471 X509_digest(const X509 *data, const EVP_MD *type, unsigned char *md, in X509_digest()
[all …]
/dragonfly/crypto/libressl/include/openssl/
H A Dx509.h327 X509 *x509;
475 X509 *d2i_X509_fp(FILE *fp, X509 **x509);
513 X509 *d2i_X509_bio(BIO *bp,X509 **x509);
551 X509 *X509_dup(X509 *x509);
687 X509 *d2i_X509(X509 **a, const unsigned char **in, long len);
862 int X509_issuer_and_serial_cmp(const X509 *a, const X509 *b);
865 int X509_issuer_name_cmp(const X509 *a, const X509 *b);
868 int X509_subject_name_cmp(const X509 *a, const X509 *b);
876 int X509_cmp(const X509 *a, const X509 *b);
1065 X509 *X509_find_by_subject(STACK_OF(X509) *sk,X509_NAME *name);
[all …]
H A Dx509_vfy.h282 X509 *X509_OBJECT_get0_X509(const X509_OBJECT *xo);
315 int X509_STORE_CTX_get1_issuer(X509 **issuer, X509_STORE_CTX *ctx, X509 *x);
319 X509 *x509, STACK_OF(X509) *chain);
320 X509 *X509_STORE_CTX_get0_cert(X509_STORE_CTX *ctx);
321 STACK_OF(X509) *X509_STORE_CTX_get0_chain(X509_STORE_CTX *xs);
335 int X509_STORE_add_cert(X509_STORE *ctx, X509 *x);
378 X509 * X509_STORE_CTX_get_current_cert(X509_STORE_CTX *ctx);
380 X509 *X509_STORE_CTX_get0_current_issuer(X509_STORE_CTX *ctx);
383 STACK_OF(X509) *X509_STORE_CTX_get_chain(X509_STORE_CTX *ctx);
385 void X509_STORE_CTX_set_cert(X509_STORE_CTX *c,X509 *x);
[all …]
H A Dcms.h159 CMS_ContentInfo *CMS_sign(X509 *signcert, EVP_PKEY *pkey, STACK_OF(X509) *certs,
163 EVP_PKEY *pkey, STACK_OF(X509) *certs, unsigned int flags);
182 int CMS_verify(CMS_ContentInfo *cms, STACK_OF(X509) *certs,
188 STACK_OF(X509) *CMS_get0_signers(CMS_ContentInfo *cms);
190 CMS_ContentInfo *CMS_encrypt(STACK_OF(X509) *certs, BIO *in,
211 X509 **recip, X509_ALGOR **palg);
247 int CMS_add0_cert(CMS_ContentInfo *cms, X509 *cert);
248 int CMS_add1_cert(CMS_ContentInfo *cms, X509 *cert);
249 STACK_OF(X509) *CMS_get1_certs(CMS_ContentInfo *cms);
266 int CMS_SignerInfo_cert_cmp(CMS_SignerInfo *si, X509 *cert);
[all …]
H A Dpkcs7.h116 X509 *cert; /* get the pub-key from this */
124 STACK_OF(X509) *cert; /* [ 0 ] */
149 STACK_OF(X509) *cert; /* [ 0 ] */
348 int PKCS7_add_certificate(PKCS7 *p7, X509 *x509);
354 X509 *x509);
361 PKCS7_SIGNER_INFO *PKCS7_add_signature(PKCS7 *p7, X509 *x509,
367 PKCS7_RECIP_INFO *PKCS7_add_recipient(PKCS7 *p7, X509 *x509);
372 int PKCS7_RECIP_INFO_set(PKCS7_RECIP_INFO *p7i, X509 *x509);
389 PKCS7 *PKCS7_sign(X509 *signcert, EVP_PKEY *pkey, STACK_OF(X509) *certs,
393 X509 *signcert, EVP_PKEY *pkey, const EVP_MD *md,
[all …]
/dragonfly/crypto/libressl/crypto/asn1/
H A Dx_x509.c177 X509 *ret = (X509 *)*pval; in x509_cb()
254 .size = sizeof(X509),
259 X509 *
272 X509 *
279 X509_free(X509 *a) in X509_free()
284 X509 *
285 X509_dup(X509 *x) in X509_dup()
305 X509_get_ex_data(X509 *r, int idx) in X509_get_ex_data()
318 X509 *
322 X509 *ret; in d2i_X509_AUX()
[all …]
H A Dx_x509a.c74 static X509_CERT_AUX *aux_get(X509 *x);
149 aux_get(X509 *x) in aux_get()
159 X509_alias_set1(X509 *x, const unsigned char *name, int len) in X509_alias_set1()
177 X509_keyid_set1(X509 *x, const unsigned char *id, int len) in X509_keyid_set1()
195 X509_alias_get0(X509 *x, int *len) in X509_alias_get0()
205 X509_keyid_get0(X509 *x, int *len) in X509_keyid_get0()
215 X509_add1_trust_object(X509 *x, const ASN1_OBJECT *obj) in X509_add1_trust_object()
237 X509_add1_reject_object(X509 *x, const ASN1_OBJECT *obj) in X509_add1_reject_object()
259 X509_trust_clear(X509 *x) in X509_trust_clear()
268 X509_reject_clear(X509 *x) in X509_reject_clear()
/dragonfly/crypto/libressl/crypto/ocsp/
H A Docsp_vfy.c68 static X509 *ocsp_find_signer_sk(STACK_OF(X509) *certs, OCSP_RESPID *id);
84 X509 *signer, *x; in OCSP_basic_verify()
85 STACK_OF(X509) *chain = NULL; in OCSP_basic_verify()
189 STACK_OF(X509) *extra_certs) in OCSP_resp_get0_signer()
195 ocsp_find_signer(X509 **psigner, OCSP_BASICRESP *bs, STACK_OF(X509) *certs, in ocsp_find_signer()
198 X509 *signer; in ocsp_find_signer()
216 static X509 *
221 X509 *x; in ocsp_find_signer_sk()
248 X509 *signer, *sca; in ocsp_check_issuer()
384 X509 *signer; in OCSP_request_verify()
[all …]
/dragonfly/contrib/ldns/ldns/
H A Ddane.h146 ldns_status ldns_dane_cert2rdf(ldns_rdf** rdf, X509* cert,
179 ldns_status ldns_dane_select_certificate(X509** selected_cert,
180 X509* cert, STACK_OF(X509)* extra_certs,
201 X509* cert);
243 X509* cert, STACK_OF(X509)* extra_certs,
280 X509* cert, STACK_OF(X509)* extra_certs,
/dragonfly/contrib/ldns/
H A Ddane.c134 ldns_dane_cert2rdf(ldns_rdf** rdf, X509* cert, in ldns_dane_cert2rdf()
223 ldns_dane_pkix_validate(X509* cert, STACK_OF(X509)* extra_certs, in ldns_dane_pkix_validate()
257 ldns_dane_pkix_validate_and_get_chain(STACK_OF(X509)** chain, X509* cert, in ldns_dane_pkix_validate_and_get_chain()
306 X509* cert, STACK_OF(X509)* extra_certs) in ldns_dane_pkix_get_chain()
345 X509** cert, STACK_OF(X509)* chain, int n, bool ca) in ldns_dane_get_nth_cert_from_validation_chain()
367 X509* cert, STACK_OF(X509)* extra_certs) in ldns_dane_pkix_get_last_self_signed()
406 X509* cert, STACK_OF(X509)* extra_certs, in ldns_dane_select_certificate()
515 X509* cert) in ldns_dane_create_tlsa_rr()
629 X509* cert; in ldns_dane_match_any_cert_with_data()
659 X509* cert, STACK_OF(X509)* extra_certs, in ldns_dane_verify_rr()
[all …]
/dragonfly/crypto/libressl/crypto/ts/
H A Dts_rsp_verify.c74 X509 *signer, STACK_OF(X509) **chain);
151 X509_STORE *store, X509 **signer_out) in TS_RESP_verify_signature()
155 STACK_OF(X509) *signers = NULL; in TS_RESP_verify_signature()
156 X509 *signer; in TS_RESP_verify_signature()
157 STACK_OF(X509) *chain = NULL; in TS_RESP_verify_signature()
239 TS_verify_cert(X509_STORE *store, STACK_OF(X509) *untrusted, X509 *signer, in TS_verify_cert()
240 STACK_OF(X509) **chain) in TS_verify_cert()
282 X509 *cert; in TS_check_signing_certs()
373 TS_find_cert(STACK_OF(ESS_CERT_ID) *cert_ids, X509 *cert) in TS_find_cert()
442 TS_issuer_serial_cmp(ESS_ISSUER_SERIAL *is, X509 *cert) in TS_issuer_serial_cmp()
[all …]
/dragonfly/crypto/libressl/crypto/pkcs12/
H A Dp12_kiss.c69 EVP_PKEY **pkey, STACK_OF(X509) *ocerts);
72 int passlen, EVP_PKEY **pkey, STACK_OF(X509) *ocerts);
75 EVP_PKEY **pkey, STACK_OF(X509) *ocerts);
84 PKCS12_parse(PKCS12 *p12, const char *pass, EVP_PKEY **pkey, X509 **cert, in PKCS12_parse()
85 STACK_OF(X509) **ca) in PKCS12_parse()
87 STACK_OF(X509) *ocerts = NULL; in PKCS12_parse()
88 X509 *x = NULL; in PKCS12_parse()
176 STACK_OF(X509) *ocerts) in parse_pk12()
211 EVP_PKEY **pkey, STACK_OF(X509) *ocerts) in parse_bags()
225 STACK_OF(X509) *ocerts) in parse_bag()
[all …]
/dragonfly/crypto/libressl/crypto/pem/
H A Dpem_x509.c68 X509 *
69 PEM_read_X509(FILE *fp, X509 **x, pem_password_cb *cb, void *u) in PEM_read_X509()
76 PEM_write_X509(FILE *fp, X509 *x) in PEM_write_X509()
82 X509 *
83 PEM_read_bio_X509(BIO *bp, X509 **x, pem_password_cb *cb, void *u) in PEM_read_bio_X509()
90 PEM_write_bio_X509(BIO *bp, X509 *x) in PEM_write_bio_X509()
H A Dpem_xaux.c68 X509 *
69 PEM_read_X509_AUX(FILE *fp, X509 **x, pem_password_cb *cb, void *u) in PEM_read_X509_AUX()
76 PEM_write_X509_AUX(FILE *fp, X509 *x) in PEM_write_X509_AUX()
82 X509 *
83 PEM_read_bio_X509_AUX(BIO *bp, X509 **x, pem_password_cb *cb, void *u) in PEM_read_bio_X509_AUX()
90 PEM_write_bio_X509_AUX(BIO *bp, X509 *x) in PEM_write_bio_X509_AUX()
/dragonfly/crypto/libressl/crypto/pkcs7/
H A Dpk7_smime.c72 PKCS7_sign(X509 *signcert, EVP_PKEY *pkey, STACK_OF(X509) *certs, BIO *data, in PKCS7_sign()
162 PKCS7_sign_add_signer(PKCS7 *p7, X509 *signcert, EVP_PKEY *pkey, in PKCS7_sign_add_signer()
263 STACK_OF(X509) *signers; in PKCS7_verify()
264 X509 *signer; in PKCS7_verify()
427 STACK_OF(X509) * in STACK_OF() argument
428 PKCS7_get0_signers(PKCS7 *p7, STACK_OF(X509) *certs, int flags) in STACK_OF()
430 STACK_OF(X509) *signers; in STACK_OF()
434 X509 *signer; in STACK_OF()
488 PKCS7_encrypt(STACK_OF(X509) *certs, BIO *in, const EVP_CIPHER *cipher, in PKCS7_encrypt()
494 X509 *x509; in PKCS7_encrypt()
[all …]
/dragonfly/crypto/libressl/crypto/ct/
H A Dct_sct_ctx.c103 ct_x509_get_ext(X509 *cert, int nid, int *is_duplicated) in ct_x509_get_ext()
120 ct_x509_cert_fixup(X509 *cert, X509 *presigner) in ct_x509_cert_fixup()
165 SCT_CTX_set1_cert(SCT_CTX *sctx, X509 *cert, X509 *presigner) in SCT_CTX_set1_cert()
168 X509 *pretmp = NULL; in SCT_CTX_set1_cert()
290 SCT_CTX_set1_issuer(SCT_CTX *sctx, const X509 *issuer) in SCT_CTX_set1_issuer()

123456