Home
last modified time | relevance | path

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

123

/openssl/crypto/x509/
H A Dx509_v3.c45 X509_EXTENSION *ex; in X509v3_get_ext_by_OBJ()
65 X509_EXTENSION *ex; in X509v3_get_ext_by_critical()
83 X509_EXTENSION *X509v3_get_ext(const STACK_OF(X509_EXTENSION) *x, int loc) in X509v3_get_ext()
91 X509_EXTENSION *X509v3_delete_ext(STACK_OF(X509_EXTENSION) *x, int loc) in X509v3_delete_ext()
93 X509_EXTENSION *ret; in X509v3_delete_ext()
101 STACK_OF(X509_EXTENSION) *X509v3_add_ext(STACK_OF(X509_EXTENSION) **x, in STACK_OF() argument
145 STACK_OF(X509_EXTENSION) in STACK_OF() argument
175 X509_EXTENSION *X509_EXTENSION_create_by_NID(X509_EXTENSION **ex, int nid, in X509_EXTENSION_create_by_NID()
180 X509_EXTENSION *ret; in X509_EXTENSION_create_by_NID()
193 X509_EXTENSION *X509_EXTENSION_create_by_OBJ(X509_EXTENSION **ex, in X509_EXTENSION_create_by_OBJ()
[all …]
H A Dx_exten.c16 ASN1_SEQUENCE(X509_EXTENSION) = {
17 ASN1_SIMPLE(X509_EXTENSION, object, ASN1_OBJECT),
18 ASN1_OPT(X509_EXTENSION, critical, ASN1_FBOOLEAN),
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)
H A Dv3_conf.c40 X509_EXTENSION *ret; in X509V3_EXT_nconf_int()
83 X509_EXTENSION *ext; in do_ext_nconf()
144 X509_EXTENSION *ext; in do_ext_i2d()
246 X509_EXTENSION *extension = NULL; in v3_generic_extension()
298 static void delete_ext(STACK_OF(X509_EXTENSION) *sk, X509_EXTENSION *dext) in delete_ext()
316 X509_EXTENSION *ext; in X509V3_EXT_add_nconf_sk()
362 STACK_OF(X509_EXTENSION) **sk = NULL; in X509V3_EXT_add_nconf()
375 STACK_OF(X509_EXTENSION) **sk = NULL; in X509V3_EXT_CRL_add_nconf()
388 STACK_OF(X509_EXTENSION) *exts = NULL; in X509V3_EXT_REQ_add_nconf()
502 X509_EXTENSION *ret; in X509V3_EXT_conf()
[all …]
H A 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()
H A Dv3_lib.c73 const X509V3_EXT_METHOD *X509V3_EXT_get(X509_EXTENSION *ext) in X509V3_EXT_get()
130 void *X509V3_EXT_d2i(X509_EXTENSION *ext) in X509V3_EXT_d2i()
163 void *X509V3_get_d2i(const STACK_OF(X509_EXTENSION) *x, int nid, int *crit, in X509V3_get_d2i()
167 X509_EXTENSION *ex, *found_ex = NULL; in X509V3_get_d2i()
219 int X509V3_add1_i2d(STACK_OF(X509_EXTENSION) **x, int nid, void *value, in X509V3_add1_i2d()
223 X509_EXTENSION *ext = NULL, *extmp; in X509V3_add1_i2d()
224 STACK_OF(X509_EXTENSION) *ret = NULL; in X509V3_add1_i2d()
H A Dx509_req.c120 static STACK_OF(X509_EXTENSION) *get_extensions_by_nid(const X509_REQ *req, in STACK_OF() argument
137 return (STACK_OF(X509_EXTENSION) *) in STACK_OF()
142 STACK_OF(X509_EXTENSION) *X509_REQ_get_extensions(OSSL_FUTURE_CONST X509_REQ *req) in STACK_OF() argument
144 STACK_OF(X509_EXTENSION) *exts = NULL; in STACK_OF()
166 const STACK_OF(X509_EXTENSION) *exts, int nid) in X509_REQ_add_extensions_nid()
171 STACK_OF(X509_EXTENSION) *mod_exts = NULL; in X509_REQ_add_extensions_nid()
208 int X509_REQ_add_extensions(X509_REQ *req, const STACK_OF(X509_EXTENSION) *exts) in X509_REQ_add_extensions()
H A 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()
H A 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;
162 STACK_OF(X509_EXTENSION) *exts; in crl_cb()
163 X509_EXTENSION *ext; in crl_cb()
H A Dx509cset.c118 const STACK_OF(X509_EXTENSION) *X509_CRL_get0_extensions(const X509_CRL *crl) in STACK_OF() argument
171 const STACK_OF(X509_EXTENSION) *X509_REVOKED_get0_extensions(const in STACK_OF() argument
/openssl/crypto/ocsp/
H A Docsp_ext.c47 X509_EXTENSION *OCSP_REQUEST_get_ext(OCSP_REQUEST *x, int loc) in OCSP_REQUEST_get_ext()
99 X509_EXTENSION *OCSP_ONEREQ_get_ext(OCSP_ONEREQ *x, int loc) in OCSP_ONEREQ_get_ext()
244 static int ocsp_add1_nonce(STACK_OF(X509_EXTENSION) **exts, in ocsp_add1_nonce()
320 X509_EXTENSION *req_ext, *resp_ext; in OCSP_check_nonce()
349 X509_EXTENSION *req_ext; in OCSP_copy_nonce()
362 X509_EXTENSION *x = NULL; in OCSP_crlID_new()
392 X509_EXTENSION *OCSP_accept_responses_new(char **oids) in OCSP_accept_responses_new()
397 X509_EXTENSION *x = NULL; in OCSP_accept_responses_new()
413 X509_EXTENSION *OCSP_archive_cutoff_new(char *tim) in OCSP_archive_cutoff_new()
415 X509_EXTENSION *x = NULL; in OCSP_archive_cutoff_new()
[all …]
H A 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;
H A 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)
/openssl/doc/man3/
H A DX509v3_get_ext_by_NID.pod20 int X509v3_get_ext_count(const STACK_OF(X509_EXTENSION) *x);
21 X509_EXTENSION *X509v3_get_ext(const STACK_OF(X509_EXTENSION) *x, int loc);
23 int X509v3_get_ext_by_NID(const STACK_OF(X509_EXTENSION) *x,
25 int X509v3_get_ext_by_OBJ(const STACK_OF(X509_EXTENSION) *x,
29 X509_EXTENSION *X509v3_delete_ext(STACK_OF(X509_EXTENSION) *x, int loc);
30 STACK_OF(X509_EXTENSION) *X509v3_add_ext(STACK_OF(X509_EXTENSION) **x,
32 STACK_OF(X509_EXTENSION)
37 X509_EXTENSION *X509_get_ext(const X509 *x, int loc);
41 X509_EXTENSION *X509_delete_ext(X509 *x, int loc);
42 int X509_add_ext(X509 *x, X509_EXTENSION *ex, int loc);
[all …]
H A DX509_EXTENSION_set_object.pod13 int X509_EXTENSION_set_object(X509_EXTENSION *ex, const ASN1_OBJECT *obj);
14 int X509_EXTENSION_set_critical(X509_EXTENSION *ex, int crit);
15 int X509_EXTENSION_set_data(X509_EXTENSION *ex, ASN1_OCTET_STRING *data);
17 X509_EXTENSION *X509_EXTENSION_create_by_NID(X509_EXTENSION **ex,
20 X509_EXTENSION *X509_EXTENSION_create_by_OBJ(X509_EXTENSION **ex,
24 ASN1_OBJECT *X509_EXTENSION_get_object(X509_EXTENSION *ex);
25 int X509_EXTENSION_get_critical(const X509_EXTENSION *ex);
26 ASN1_OCTET_STRING *X509_EXTENSION_get_data(X509_EXTENSION *ne);
42 should either be B<NULL> or a valid B<X509_EXTENSION> structure it must
74 an B<X509_EXTENSION> pointer or B<NULL> if an error occurs.
H A DX509_REQ_get_extensions.pod13 STACK_OF(X509_EXTENSION) *X509_REQ_get_extensions(const X509_REQ *req);
14 int X509_REQ_add_extensions(X509_REQ *req, const STACK_OF(X509_EXTENSION) *exts);
16 const STACK_OF(X509_EXTENSION) *exts, int nid);
37 X509_REQ_get_extensions() returns a pointer to B<STACK_OF(X509_EXTENSION)>
H A DX509V3_get_d2i.pod17 void *X509V3_get_d2i(const STACK_OF(X509_EXTENSION) *x, int nid, int *crit,
19 int X509V3_add1_i2d(STACK_OF(X509_EXTENSION) **x, int nid, void *value,
22 void *X509V3_EXT_d2i(X509_EXTENSION *ext);
23 X509_EXTENSION *X509V3_EXT_i2d(int ext_nid, int crit, void *ext_struc);
41 const STACK_OF(X509_EXTENSION) *X509_get0_extensions(const X509 *x);
42 const STACK_OF(X509_EXTENSION) *X509_ACERT_get0_extensions(const X509 *x);
43 const STACK_OF(X509_EXTENSION) *X509_CRL_get0_extensions(const X509_CRL *crl);
44 const STACK_OF(X509_EXTENSION) *X509_REVOKED_get0_extensions(const X509_REVOKED *r);
124 The function X509V3_add1_i2d() and its variants allocate B<X509_EXTENSION>
125 objects on STACK I<*x> depending on I<flags>. The B<X509_EXTENSION> objects
[all …]
/openssl/include/openssl/
H A Docsp.h.in295 X509_EXTENSION *OCSP_crlID_new(const char *url, long *n, char *tim);
297 X509_EXTENSION *OCSP_accept_responses_new(char **oids);
299 X509_EXTENSION *OCSP_archive_cutoff_new(char *tim);
308 X509_EXTENSION *OCSP_REQUEST_get_ext(OCSP_REQUEST *x, int loc);
309 X509_EXTENSION *OCSP_REQUEST_delete_ext(OCSP_REQUEST *x, int loc);
320 X509_EXTENSION *OCSP_ONEREQ_get_ext(OCSP_ONEREQ *x, int loc);
321 X509_EXTENSION *OCSP_ONEREQ_delete_ext(OCSP_ONEREQ *x, int loc);
325 int OCSP_ONEREQ_add_ext(OCSP_ONEREQ *x, X509_EXTENSION *ex, int loc);
333 X509_EXTENSION *OCSP_BASICRESP_get_ext(OCSP_BASICRESP *x, int loc);
334 X509_EXTENSION *OCSP_BASICRESP_delete_ext(OCSP_BASICRESP *x, int loc);
[all …]
H A Dx509.h.in111 typedef struct X509_extension_st X509_EXTENSION; typedef
113 generate_stack_macros("X509_EXTENSION");
486 DECLARE_ASN1_DUP_FUNCTION(X509_EXTENSION)
562 DECLARE_ASN1_FUNCTIONS(X509_EXTENSION)
773 const STACK_OF(X509_EXTENSION) *
903 X509_EXTENSION *X509v3_get_ext(const STACK_OF(X509_EXTENSION) *x, int loc);
904 X509_EXTENSION *X509v3_delete_ext(STACK_OF(X509_EXTENSION) *x, int loc);
905 STACK_OF(X509_EXTENSION) *X509v3_add_ext(STACK_OF(X509_EXTENSION) **x,
907 STACK_OF(X509_EXTENSION)
948 X509_EXTENSION *X509_EXTENSION_create_by_NID(X509_EXTENSION **ex,
[all …]
H A Dts.h153 STACK_OF(X509_EXTENSION) *TS_REQ_get_exts(TS_REQ *a);
159 X509_EXTENSION *TS_REQ_get_ext(TS_REQ *a, int loc);
160 X509_EXTENSION *TS_REQ_delete_ext(TS_REQ *a, int loc);
161 int TS_REQ_add_ext(TS_REQ *a, X509_EXTENSION *ex, int loc);
214 STACK_OF(X509_EXTENSION) *TS_TST_INFO_get_exts(TS_TST_INFO *a);
221 X509_EXTENSION *TS_TST_INFO_get_ext(TS_TST_INFO *a, int loc);
222 X509_EXTENSION *TS_TST_INFO_delete_ext(TS_TST_INFO *a, int loc);
223 int TS_TST_INFO_add_ext(TS_TST_INFO *a, X509_EXTENSION *ex, int loc);
264 typedef int (*TS_extension_cb) (struct TS_resp_ctx *, X509_EXTENSION *,
475 int TS_ext_print_bio(BIO *bio, const STACK_OF(X509_EXTENSION) *extensions);
H A Dx509v3.h.in642 STACK_OF(X509_EXTENSION) **sk);
650 X509_EXTENSION *X509V3_EXT_conf_nid(LHASH_OF(CONF_VALUE) *conf,
653 X509_EXTENSION *X509V3_EXT_conf(LHASH_OF(CONF_VALUE) *conf, X509V3_CTX *ctx,
697 const X509V3_EXT_METHOD *X509V3_EXT_get(X509_EXTENSION *ext);
701 void *X509V3_EXT_d2i(X509_EXTENSION *ext);
702 void *X509V3_get_d2i(const STACK_OF(X509_EXTENSION) *x, int nid, int *crit,
705 X509_EXTENSION *X509V3_EXT_i2d(int ext_nid, int crit, void *ext_struc);
706 int X509V3_add1_i2d(STACK_OF(X509_EXTENSION) **x, int nid, void *value,
717 int X509V3_EXT_print(BIO *out, X509_EXTENSION *ext, unsigned long flag,
723 const STACK_OF(X509_EXTENSION) *exts,
[all …]
/openssl/crypto/ts/
H A 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()
H A 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()
H A Dts_local.h48 STACK_OF(X509_EXTENSION) *extensions;
92 STACK_OF(X509_EXTENSION) *extensions;
H A 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()
/openssl/include/crypto/
H A Dx509.h96 STACK_OF(X509_EXTENSION) *extensions; /* extensions: optional */
133 STACK_OF(X509_EXTENSION) *extensions; /* CRL entry extensions: optional */
170 STACK_OF(X509_EXTENSION) *extensions; /* [ 3 ] optional in v3 */

Completed in 63 milliseconds

123