Searched refs:X509_EXTENSION (Results 1 - 25 of 40) sorted by relevance

12

/netbsd-6-1-5-RELEASE/crypto/external/bsd/openssl/dist/crypto/asn1/
H A Dx_exten.c64 ASN1_SEQUENCE(X509_EXTENSION) = {
65 ASN1_SIMPLE(X509_EXTENSION, object, ASN1_OBJECT),
66 ASN1_OPT(X509_EXTENSION, critical, ASN1_BOOLEAN),
67 ASN1_SIMPLE(X509_EXTENSION, value, ASN1_OCTET_STRING)
68 } ASN1_SEQUENCE_END(X509_EXTENSION)
71 ASN1_EX_TEMPLATE_TYPE(ASN1_TFLG_SEQUENCE_OF, 0, Extension, X509_EXTENSION)
74 IMPLEMENT_ASN1_FUNCTIONS(X509_EXTENSION)
76 IMPLEMENT_ASN1_DUP_FUNCTION(X509_EXTENSION)
H A Dx_crl.c73 ASN1_SEQUENCE_OF_OPT(X509_REVOKED,extensions, X509_EXTENSION)
119 ASN1_EXP_SEQUENCE_OF_OPT(X509_CRL_INFO, extensions, X509_EXTENSION, 0)
139 STACK_OF(X509_EXTENSION) *exts;
141 X509_EXTENSION *ext;
212 STACK_OF(X509_EXTENSION) *exts;
213 X509_EXTENSION *ext;
H A Dt_req.c99 STACK_OF(X509_EXTENSION) *exts;
232 X509_EXTENSION *ex;
H A Dx_x509.c76 ASN1_EXP_SEQUENCE_OF_OPT(X509_CINF, extensions, X509_EXTENSION, 3)
/netbsd-6-1-5-RELEASE/crypto/external/bsd/openssl/dist/test/
H A Dasn1test.c6 STACK_OF(X509_EXTENSION) *ext;
16 M_ASN1_I2D_len_SEQUENCE_opt_type(X509_EXTENSION, x->ext,
19 M_ASN1_I2D_put_SEQUENCE_opt_type(X509_EXTENSION, x->ext,
/netbsd-6-1-5-RELEASE/crypto/external/bsd/openssl/dist/crypto/x509/
H A Dx509_v3.c68 int X509v3_get_ext_count(const STACK_OF(X509_EXTENSION) *x)
74 int X509v3_get_ext_by_NID(const STACK_OF(X509_EXTENSION) *x, int nid,
84 int X509v3_get_ext_by_OBJ(const STACK_OF(X509_EXTENSION) *sk, ASN1_OBJECT *obj,
88 X509_EXTENSION *ex;
104 int X509v3_get_ext_by_critical(const STACK_OF(X509_EXTENSION) *sk, int crit,
108 X509_EXTENSION *ex;
125 X509_EXTENSION *X509v3_get_ext(const STACK_OF(X509_EXTENSION) *x, int loc)
133 X509_EXTENSION *X509v3_delete_ext(STACK_OF(X509_EXTENSION) *
[all...]
H A Dx509_ext.c89 X509_EXTENSION *X509_CRL_get_ext(X509_CRL *x, int loc)
94 X509_EXTENSION *X509_CRL_delete_ext(X509_CRL *x, int loc)
110 int X509_CRL_add_ext(X509_CRL *x, X509_EXTENSION *ex, int loc)
135 X509_EXTENSION *X509_get_ext(X509 *x, int loc)
140 X509_EXTENSION *X509_delete_ext(X509 *x, int loc)
145 int X509_add_ext(X509 *x, X509_EXTENSION *ex, int loc)
183 X509_EXTENSION *X509_REVOKED_get_ext(X509_REVOKED *x, int loc)
188 X509_EXTENSION *X509_REVOKED_delete_ext(X509_REVOKED *x, int loc)
193 int X509_REVOKED_add_ext(X509_REVOKED *x, X509_EXTENSION *ex, int loc)
209 IMPLEMENT_STACK_OF(X509_EXTENSION)
[all...]
H A Dx509.h208 } X509_EXTENSION; typedef in typeref:struct:X509_extension_st
210 typedef STACK_OF(X509_EXTENSION) X509_EXTENSIONS;
212 DECLARE_STACK_OF(X509_EXTENSION)
213 DECLARE_ASN1_SET_OF(X509_EXTENSION)
260 STACK_OF(X509_EXTENSION) *extensions; /* [ 3 ] optional in v3 */
438 STACK_OF(X509_EXTENSION) /* optional */ *extensions;
457 STACK_OF(X509_EXTENSION) /* [0] */ *extensions;
763 X509_EXTENSION *X509_EXTENSION_dup(X509_EXTENSION *ex);
828 DECLARE_ASN1_FUNCTIONS(X509_EXTENSION)
[all...]
H A Dx509_req.c186 STACK_OF(X509_EXTENSION) *X509_REQ_get_extensions(X509_REQ *req)
209 return (STACK_OF(X509_EXTENSION) *)
218 int X509_REQ_add_extensions_nid(X509_REQ *req, STACK_OF(X509_EXTENSION) *exts,
251 int X509_REQ_add_extensions(X509_REQ *req, STACK_OF(X509_EXTENSION) *exts)
/netbsd-6-1-5-RELEASE/crypto/external/bsd/openssl/dist/demos/asn1/
H A Docsp.c180 STACK_OF(X509_EXTENSION) *requestExtensions;
203 STACK_OF(X509_EXTENSION) *singleRequestExtensions;
231 STACK_OF(X509_EXTENSION) *responseExtensions;
260 STACK_OF(X509_EXTENSION) *singleExtensions;
274 //IMPLEMENT_COMPAT_ASN1(X509_EXTENSION);
278 ASN1_SEQUENCE(X509_EXTENSION) = { variable
279 ASN1_SIMPLE(X509_EXTENSION, object, ASN1_OBJECT),
280 ASN1_OPT(X509_EXTENSION, critical, ASN1_BOOLEAN),
281 ASN1_SIMPLE(X509_EXTENSION, value, ASN1_OCTET_STRING)
282 } ASN1_SEQUENCE_END(X509_EXTENSION);
[all...]
/netbsd-6-1-5-RELEASE/crypto/external/bsd/openssl/dist/crypto/ocsp/
H A Docsp_ext.c96 X509_EXTENSION *OCSP_REQUEST_get_ext(OCSP_REQUEST *x, int loc)
101 X509_EXTENSION *OCSP_REQUEST_delete_ext(OCSP_REQUEST *x, int loc)
117 int OCSP_REQUEST_add_ext(OCSP_REQUEST *x, X509_EXTENSION *ex, int loc)
144 X509_EXTENSION *OCSP_ONEREQ_get_ext(OCSP_ONEREQ *x, int loc)
149 X509_EXTENSION *OCSP_ONEREQ_delete_ext(OCSP_ONEREQ *x, int loc)
165 int OCSP_ONEREQ_add_ext(OCSP_ONEREQ *x, X509_EXTENSION *ex, int loc)
192 X509_EXTENSION *OCSP_BASICRESP_get_ext(OCSP_BASICRESP *x, int loc)
197 X509_EXTENSION *OCSP_BASICRESP_delete_ext(OCSP_BASICRESP *x, int loc)
213 int OCSP_BASICRESP_add_ext(OCSP_BASICRESP *x, X509_EXTENSION *ex, int loc)
240 X509_EXTENSION *OCSP_SINGLERESP_get_ex
[all...]
H A Docsp.h116 STACK_OF(X509_EXTENSION) *singleRequestExtensions;
134 STACK_OF(X509_EXTENSION) *requestExtensions;
259 STACK_OF(X509_EXTENSION) *singleExtensions;
278 STACK_OF(X509_EXTENSION) *responseExtensions;
481 X509_EXTENSION *OCSP_crlID_new(char *url, long *n, char *tim);
483 X509_EXTENSION *OCSP_accept_responses_new(char **oids);
485 X509_EXTENSION *OCSP_archive_cutoff_new(char* tim);
487 X509_EXTENSION *OCSP_url_svcloc_new(X509_NAME* issuer, char **urls);
493 X509_EXTENSION *OCSP_REQUEST_get_ext(OCSP_REQUEST *x, int loc);
494 X509_EXTENSION *OCSP_REQUEST_delete_ex
[all...]
H A Docsp_asn.c81 ASN1_EXP_SEQUENCE_OF_OPT(OCSP_ONEREQ, singleRequestExtensions, X509_EXTENSION, 0)
90 ASN1_EXP_SEQUENCE_OF_OPT(OCSP_REQINFO, requestExtensions, X509_EXTENSION, 2)
145 ASN1_EXP_SEQUENCE_OF_OPT(OCSP_SINGLERESP, singleExtensions, X509_EXTENSION, 1)
155 ASN1_EXP_SEQUENCE_OF_OPT(OCSP_RESPDATA, responseExtensions, X509_EXTENSION, 1)
/netbsd-6-1-5-RELEASE/crypto/external/bsd/openssl/dist/crypto/x509v3/
H A Dv3_conf.c71 static X509_EXTENSION *do_ext_nconf(CONF *conf, X509V3_CTX *ctx, int ext_nid, int crit, char *value);
72 static X509_EXTENSION *v3_generic_extension(const char *ext, char *value, int crit, int type, X509V3_CTX *ctx);
75 static X509_EXTENSION *do_ext_i2d(const X509V3_EXT_METHOD *method, int ext_nid,
81 X509_EXTENSION *X509V3_EXT_nconf(CONF *conf, X509V3_CTX *ctx, char *name,
86 X509_EXTENSION *ret;
101 X509_EXTENSION *X509V3_EXT_nconf_nid(CONF *conf, X509V3_CTX *ctx, int ext_nid,
115 static X509_EXTENSION *do_ext_nconf(CONF *conf, X509V3_CTX *ctx, int ext_nid,
119 X509_EXTENSION *ext;
175 static X509_EXTENSION *do_ext_i2d(const X509V3_EXT_METHOD *method, int ext_nid,
181 X509_EXTENSION *ex
[all...]
H A Dv3_lib.c112 const X509V3_EXT_METHOD *X509V3_EXT_get(X509_EXTENSION *ext)
168 void *X509V3_EXT_d2i(X509_EXTENSION *ext)
194 void *X509V3_get_d2i(STACK_OF(X509_EXTENSION) *x, int nid, int *crit, int *idx)
197 X509_EXTENSION *ex, *found_ex = NULL;
239 int X509V3_add1_i2d(STACK_OF(X509_EXTENSION) **x, int nid, void *value,
244 X509_EXTENSION *ext, *extmp;
H A Dv3prin.c72 X509_EXTENSION *ext;
H A Dv3_prn.c67 static int unknown_ext_print(BIO *out, X509_EXTENSION *ext, unsigned long flag, int indent, int supported);
108 int X509V3_EXT_print(BIO *out, X509_EXTENSION *ext, unsigned long flag, int indent)
165 int X509V3_extensions_print(BIO *bp, char *title, STACK_OF(X509_EXTENSION) *exts, unsigned long flag, int indent)
180 X509_EXTENSION *ex;
198 static int unknown_ext_print(BIO *out, X509_EXTENSION *ext, unsigned long flag, int indent, int supported)
225 int X509V3_EXT_print_fp(FILE *fp, X509_EXTENSION *ext, int flag, int indent)
H A Dv3conf.c77 X509_EXTENSION *ext;
H A Dx509v3.h605 X509_EXTENSION *X509V3_EXT_nconf_nid(CONF *conf, X509V3_CTX *ctx, int ext_nid, char *value);
606 X509_EXTENSION *X509V3_EXT_nconf(CONF *conf, X509V3_CTX *ctx, char *name, char *value);
607 int X509V3_EXT_add_nconf_sk(CONF *conf, X509V3_CTX *ctx, char *section, STACK_OF(X509_EXTENSION) **sk);
612 X509_EXTENSION *X509V3_EXT_conf_nid(LHASH_OF(CONF_VALUE) *conf, X509V3_CTX *ctx,
614 X509_EXTENSION *X509V3_EXT_conf(LHASH_OF(CONF_VALUE) *conf, X509V3_CTX *ctx,
655 const X509V3_EXT_METHOD *X509V3_EXT_get(X509_EXTENSION *ext);
659 void *X509V3_EXT_d2i(X509_EXTENSION *ext);
660 void *X509V3_get_d2i(STACK_OF(X509_EXTENSION) *x, int nid, int *crit, int *idx);
663 X509_EXTENSION *X509V3_EXT_i2d(int ext_nid, int crit, void *ext_struc);
664 int X509V3_add1_i2d(STACK_OF(X509_EXTENSION) **
[all...]
/netbsd-6-1-5-RELEASE/crypto/external/bsd/openssl/dist/demos/x509/
H A Dmkreq.c17 int add_ext(STACK_OF(X509_EXTENSION) *sk, int nid, char *value);
66 STACK_OF(X509_EXTENSION) *exts = NULL;
152 int add_ext(STACK_OF(X509_EXTENSION) *sk, int nid, char *value)
154 X509_EXTENSION *ex;
/netbsd-6-1-5-RELEASE/crypto/external/bsd/openssl/dist/crypto/ts/
H A Dts_req_utils.c184 STACK_OF(X509_EXTENSION) *TS_REQ_get_exts(TS_REQ *a)
216 X509_EXTENSION *TS_REQ_get_ext(TS_REQ *a, int loc)
221 X509_EXTENSION *TS_REQ_delete_ext(TS_REQ *a, int loc)
226 int TS_REQ_add_ext(TS_REQ *a, X509_EXTENSION *ex, int loc)
H A Dts_lib.c100 int TS_ext_print_bio(BIO *bio, const STACK_OF(X509_EXTENSION) *extensions)
103 X509_EXTENSION *ex;
H A Dts.h132 STACK_OF(X509_EXTENSION) *extensions; /* [0] OPTIONAL */
180 STACK_OF(X509_EXTENSION) *extensions;
393 STACK_OF(X509_EXTENSION) *TS_REQ_get_exts(TS_REQ *a);
399 X509_EXTENSION *TS_REQ_get_ext(TS_REQ *a, int loc);
400 X509_EXTENSION *TS_REQ_delete_ext(TS_REQ *a, int loc);
401 int TS_REQ_add_ext(TS_REQ *a, X509_EXTENSION *ex, int loc);
454 STACK_OF(X509_EXTENSION) *TS_TST_INFO_get_exts(TS_TST_INFO *a);
460 X509_EXTENSION *TS_TST_INFO_get_ext(TS_TST_INFO *a, int loc);
461 X509_EXTENSION *TS_TST_INFO_delete_ext(TS_TST_INFO *a, int loc);
462 int TS_TST_INFO_add_ext(TS_TST_INFO *a, X509_EXTENSION *e
[all...]
H A Dts_rsp_utils.c359 STACK_OF(X509_EXTENSION) *TS_TST_INFO_get_exts(TS_TST_INFO *a)
391 X509_EXTENSION *TS_TST_INFO_get_ext(TS_TST_INFO *a, int loc)
396 X509_EXTENSION *TS_TST_INFO_delete_ext(TS_TST_INFO *a, int loc)
401 int TS_TST_INFO_add_ext(TS_TST_INFO *a, X509_EXTENSION *ex, int loc)
H A Dts_asn1.c98 ASN1_IMP_SEQUENCE_OF_OPT(TS_REQ, extensions, X509_EXTENSION, 0)
145 ASN1_IMP_SEQUENCE_OF_OPT(TS_TST_INFO, extensions, X509_EXTENSION, 1)

Completed in 217 milliseconds

12