Home
last modified time | relevance | path

Searched refs:X509_EXTENSION (Results 1 – 25 of 42) sorted by relevance

12

/netbsd/src/crypto/external/bsd/openssl/dist/crypto/x509/
Dx509_v3.c20 int X509v3_get_ext_count(const STACK_OF(X509_EXTENSION) *x) in X509v3_get_ext_count()
30 int X509v3_get_ext_by_NID(const STACK_OF(X509_EXTENSION) *x, int nid, in X509v3_get_ext_by_NID()
41 int X509v3_get_ext_by_OBJ(const STACK_OF(X509_EXTENSION) *sk, in X509v3_get_ext_by_OBJ()
45 X509_EXTENSION *ex; in X509v3_get_ext_by_OBJ()
61 int X509v3_get_ext_by_critical(const STACK_OF(X509_EXTENSION) *sk, int crit, in X509v3_get_ext_by_critical()
65 X509_EXTENSION *ex; in X509v3_get_ext_by_critical()
81 X509_EXTENSION *X509v3_get_ext(const STACK_OF(X509_EXTENSION) *x, int loc) in X509v3_get_ext()
89 X509_EXTENSION *X509v3_delete_ext(STACK_OF(X509_EXTENSION) *x, int loc) in X509v3_delete_ext()
91 X509_EXTENSION *ret; in X509v3_delete_ext()
99 STACK_OF(X509_EXTENSION) *X509v3_add_ext(STACK_OF(X509_EXTENSION) **x, in STACK_OF() argument
[all …]
Dx_exten.c16 ASN1_SEQUENCE(X509_EXTENSION) = {
17 ASN1_SIMPLE(X509_EXTENSION, object, ASN1_OBJECT),
18 ASN1_OPT(X509_EXTENSION, critical, ASN1_BOOLEAN),
19 ASN1_EMBED(X509_EXTENSION, value, ASN1_OCTET_STRING)
20 } ASN1_SEQUENCE_END(X509_EXTENSION)
23 ASN1_EX_TEMPLATE_TYPE(ASN1_TFLG_SEQUENCE_OF, 0, Extension, X509_EXTENSION)
26 IMPLEMENT_ASN1_FUNCTIONS(X509_EXTENSION)
28 IMPLEMENT_ASN1_DUP_FUNCTION(X509_EXTENSION)
Dv3_conf.c22 static X509_EXTENSION *do_ext_nconf(CONF *conf, X509V3_CTX *ctx, int ext_nid,
24 static X509_EXTENSION *v3_generic_extension(const char *ext, const char *value,
29 static X509_EXTENSION *do_ext_i2d(const X509V3_EXT_METHOD *method,
34 static X509_EXTENSION *X509V3_EXT_nconf_int(CONF *conf, X509V3_CTX *ctx, in X509V3_EXT_nconf_int()
40 X509_EXTENSION *ret; in X509V3_EXT_nconf_int()
58 X509_EXTENSION *X509V3_EXT_nconf(CONF *conf, X509V3_CTX *ctx, const char *name, in X509V3_EXT_nconf()
64 X509_EXTENSION *X509V3_EXT_nconf_nid(CONF *conf, X509V3_CTX *ctx, int ext_nid, in X509V3_EXT_nconf_nid()
79 static X509_EXTENSION *do_ext_nconf(CONF *conf, X509V3_CTX *ctx, int ext_nid, in do_ext_nconf()
83 X509_EXTENSION *ext; in do_ext_nconf()
138 static X509_EXTENSION *do_ext_i2d(const X509V3_EXT_METHOD *method, in do_ext_i2d()
[all …]
Dx509_ext.c40 X509_EXTENSION *X509_CRL_get_ext(const X509_CRL *x, int loc) in X509_CRL_get_ext()
45 X509_EXTENSION *X509_CRL_delete_ext(X509_CRL *x, int loc) in X509_CRL_delete_ext()
61 int X509_CRL_add_ext(X509_CRL *x, X509_EXTENSION *ex, int loc) in X509_CRL_add_ext()
87 X509_EXTENSION *X509_get_ext(const X509 *x, int loc) in X509_get_ext()
92 X509_EXTENSION *X509_delete_ext(X509 *x, int loc) in X509_delete_ext()
97 int X509_add_ext(X509 *x, X509_EXTENSION *ex, int loc) in X509_add_ext()
135 X509_EXTENSION *X509_REVOKED_get_ext(const X509_REVOKED *x, int loc) in X509_REVOKED_get_ext()
140 X509_EXTENSION *X509_REVOKED_delete_ext(X509_REVOKED *x, int loc) in X509_REVOKED_delete_ext()
145 int X509_REVOKED_add_ext(X509_REVOKED *x, X509_EXTENSION *ex, int loc) in X509_REVOKED_add_ext()
Dv3_lib.c70 const X509V3_EXT_METHOD *X509V3_EXT_get(X509_EXTENSION *ext) in X509V3_EXT_get()
129 void *X509V3_EXT_d2i(X509_EXTENSION *ext) in X509V3_EXT_d2i()
162 void *X509V3_get_d2i(const STACK_OF(X509_EXTENSION) *x, int nid, int *crit, in X509V3_get_d2i()
166 X509_EXTENSION *ex, *found_ex = NULL; in X509V3_get_d2i()
218 int X509V3_add1_i2d(STACK_OF(X509_EXTENSION) **x, int nid, void *value, in X509V3_add1_i2d()
222 X509_EXTENSION *ext = NULL, *extmp; in X509V3_add1_i2d()
223 STACK_OF(X509_EXTENSION) *ret = NULL; in X509V3_add1_i2d()
Dv3_prn.c70 int X509V3_EXT_print(BIO *out, X509_EXTENSION *ext, unsigned long flag, in X509V3_EXT_print()
140 const STACK_OF(X509_EXTENSION) *exts, in X509V3_extensions_print()
155 X509_EXTENSION *ex; in X509V3_extensions_print()
205 int X509V3_EXT_print_fp(FILE *fp, X509_EXTENSION *ext, int flag, int indent) in X509V3_EXT_print_fp()
Dx_crl.c25 ASN1_SEQUENCE_OF_OPT(X509_REVOKED,extensions, X509_EXTENSION)
74 ASN1_EXP_SEQUENCE_OF_OPT(X509_CRL_INFO, extensions, X509_EXTENSION, 0)
94 STACK_OF(X509_EXTENSION) *exts;
96 X509_EXTENSION *ext;
160 STACK_OF(X509_EXTENSION) *exts; in crl_cb()
161 X509_EXTENSION *ext; in crl_cb()
Dx509_req.c139 STACK_OF(X509_EXTENSION) *X509_REQ_get_extensions(X509_REQ *req) in STACK_OF() argument
161 return (STACK_OF(X509_EXTENSION) *) in STACK_OF()
171 const STACK_OF(X509_EXTENSION) *exts, int nid) in X509_REQ_add_extensions_nid()
188 int X509_REQ_add_extensions(X509_REQ *req, const STACK_OF(X509_EXTENSION) *exts) in X509_REQ_add_extensions()
Dx509cset.c111 const STACK_OF(X509_EXTENSION) *X509_CRL_get0_extensions(const X509_CRL *crl) in STACK_OF() argument
174 const STACK_OF(X509_EXTENSION) *X509_REVOKED_get0_extensions(const X509_REVOKED *r) in STACK_OF() argument
Dt_req.c43 STACK_OF(X509_EXTENSION) *exts; in X509_REQ_print_ex()
173 X509_EXTENSION *ex; in X509_REQ_print_ex()
Dv3_purp.c267 int X509_supported_extension(X509_EXTENSION *ex) in X509_supported_extension()
588 X509_EXTENSION *ex = X509_get_ext(x, i); in ossl_x509v3_cache_extensions()
878 X509_EXTENSION *ext = X509_get_ext((X509 *)x, i_ext); in check_purpose_timestamp_sign()
/netbsd/src/crypto/external/bsd/openssl/dist/crypto/ocsp/
Docsp_ext.c47 X509_EXTENSION *OCSP_REQUEST_get_ext(OCSP_REQUEST *x, int loc) in OCSP_REQUEST_get_ext()
52 X509_EXTENSION *OCSP_REQUEST_delete_ext(OCSP_REQUEST *x, int loc) in OCSP_REQUEST_delete_ext()
69 int OCSP_REQUEST_add_ext(OCSP_REQUEST *x, X509_EXTENSION *ex, int loc) in OCSP_REQUEST_add_ext()
99 X509_EXTENSION *OCSP_ONEREQ_get_ext(OCSP_ONEREQ *x, int loc) in OCSP_ONEREQ_get_ext()
104 X509_EXTENSION *OCSP_ONEREQ_delete_ext(OCSP_ONEREQ *x, int loc) in OCSP_ONEREQ_delete_ext()
121 int OCSP_ONEREQ_add_ext(OCSP_ONEREQ *x, X509_EXTENSION *ex, int loc) in OCSP_ONEREQ_add_ext()
153 X509_EXTENSION *OCSP_BASICRESP_get_ext(OCSP_BASICRESP *x, int loc) in OCSP_BASICRESP_get_ext()
158 X509_EXTENSION *OCSP_BASICRESP_delete_ext(OCSP_BASICRESP *x, int loc) in OCSP_BASICRESP_delete_ext()
177 int OCSP_BASICRESP_add_ext(OCSP_BASICRESP *x, X509_EXTENSION *ex, int loc) in OCSP_BASICRESP_add_ext()
207 X509_EXTENSION *OCSP_SINGLERESP_get_ext(OCSP_SINGLERESP *x, int loc) in OCSP_SINGLERESP_get_ext()
[all …]
Docsp_local.h31 STACK_OF(X509_EXTENSION) *singleRequestExtensions;
44 STACK_OF(X509_EXTENSION) *requestExtensions;
147 STACK_OF(X509_EXTENSION) *singleExtensions;
162 STACK_OF(X509_EXTENSION) *responseExtensions;
Docsp_asn.c34 ASN1_EXP_SEQUENCE_OF_OPT(OCSP_ONEREQ, singleRequestExtensions, X509_EXTENSION, 0)
43 ASN1_EXP_SEQUENCE_OF_OPT(OCSP_REQINFO, requestExtensions, X509_EXTENSION, 2)
98 ASN1_EXP_SEQUENCE_OF_OPT(OCSP_SINGLERESP, singleExtensions, X509_EXTENSION, 1)
108 ASN1_EXP_SEQUENCE_OF_OPT(OCSP_RESPDATA, responseExtensions, X509_EXTENSION, 1)
/netbsd/src/crypto/external/bsd/openssl/dist/crypto/ts/
Dts_req_utils.c132 STACK_OF(X509_EXTENSION) *TS_REQ_get_exts(TS_REQ *a) in STACK_OF() argument
165 X509_EXTENSION *TS_REQ_get_ext(TS_REQ *a, int loc) in TS_REQ_get_ext()
170 X509_EXTENSION *TS_REQ_delete_ext(TS_REQ *a, int loc) in TS_REQ_delete_ext()
175 int TS_REQ_add_ext(TS_REQ *a, X509_EXTENSION *ex, int loc) in TS_REQ_add_ext()
Dts_rsp_utils.c293 STACK_OF(X509_EXTENSION) *TS_TST_INFO_get_exts(TS_TST_INFO *a) in STACK_OF() argument
326 X509_EXTENSION *TS_TST_INFO_get_ext(TS_TST_INFO *a, int loc) in TS_TST_INFO_get_ext()
331 X509_EXTENSION *TS_TST_INFO_delete_ext(TS_TST_INFO *a, int loc) in TS_TST_INFO_delete_ext()
336 int TS_TST_INFO_add_ext(TS_TST_INFO *a, X509_EXTENSION *ex, int loc) in TS_TST_INFO_add_ext()
Dts_lib.c48 int TS_ext_print_bio(BIO *bio, const STACK_OF(X509_EXTENSION) *extensions) in TS_ext_print_bio()
51 X509_EXTENSION *ex; in TS_ext_print_bio()
Dts_local.h48 STACK_OF(X509_EXTENSION) *extensions;
92 STACK_OF(X509_EXTENSION) *extensions;
Dts_asn1.c51 ASN1_IMP_SEQUENCE_OF_OPT(TS_REQ, extensions, X509_EXTENSION, 0)
96 ASN1_IMP_SEQUENCE_OF_OPT(TS_TST_INFO, extensions, X509_EXTENSION, 1)
Dts_rsp_sign.c25 static int def_extension_cb(struct TS_resp_ctx *, X509_EXTENSION *, void *);
101 static int def_extension_cb(struct TS_resp_ctx *ctx, X509_EXTENSION *ext, in def_extension_cb()
610 STACK_OF(X509_EXTENSION) *exts = ctx->request->extensions; in ts_RESP_process_extensions()
615 X509_EXTENSION *ext = sk_X509_EXTENSION_value(exts, i); in ts_RESP_process_extensions()
/netbsd/src/external/bsd/wpa/dist/src/crypto/
Dtls_openssl_ocsp.c136 STACK_OF(X509_EXTENSION) *singleExtensions;
152 STACK_OF(X509_EXTENSION) *responseExtensions;
198 X509_EXTENSION, 1)
207 X509_EXTENSION, 1)
326 static char * extensions_str(const char *title, STACK_OF(X509_EXTENSION) *ext) in extensions_str()
/netbsd/src/crypto/external/bsd/openssl/dist/apps/
Dx509.c195 const STACK_OF(X509_EXTENSION) *cert_exts = X509_get0_extensions(cert); in x509_to_req()
199 STACK_OF(X509_EXTENSION) *exts; in x509_to_req()
214 X509_EXTENSION *ex = sk_X509_EXTENSION_value(cert_exts, i); in x509_to_req()
801 X509_EXTENSION *ex = X509_get_ext(x, i); in x509_main()
1208 const STACK_OF(X509_EXTENSION) *exts = NULL; in print_x509v3_exts()
1209 STACK_OF(X509_EXTENSION) *exts2 = NULL; in print_x509v3_exts()
1210 X509_EXTENSION *ext = NULL; in print_x509v3_exts()
/netbsd/src/crypto/external/bsd/openssl/dist/test/
Dct_test.c152 static int compare_extension_printout(X509_EXTENSION *extension, in compare_extension_printout()
254 X509_EXTENSION *sct_extension = NULL; in execute_cert_test()
Docspapitest.c196 X509_EXTENSION * ext = NULL; in test_ocsp_url_svcloc_new()
/netbsd/src/crypto/external/bsd/openssl/dist/crypto/asn1/
Dasn1_item_list.h160 ASN1_ITEM_ref(X509_EXTENSION),

12