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

123

/external/chromium_org/third_party/boringssl/src/crypto/x509/
H A Dx_exten.c63 ASN1_SEQUENCE(X509_EXTENSION) = {
64 ASN1_SIMPLE(X509_EXTENSION, object, ASN1_OBJECT),
65 ASN1_OPT(X509_EXTENSION, critical, ASN1_BOOLEAN),
66 ASN1_SIMPLE(X509_EXTENSION, value, ASN1_OCTET_STRING)
67 } ASN1_SEQUENCE_END(X509_EXTENSION)
70 ASN1_EX_TEMPLATE_TYPE(ASN1_TFLG_SEQUENCE_OF, 0, Extension, X509_EXTENSION)
73 IMPLEMENT_ASN1_FUNCTIONS(X509_EXTENSION)
75 IMPLEMENT_ASN1_DUP_FUNCTION(X509_EXTENSION)
H A Dx509_v3.c66 int X509v3_get_ext_count(const STACK_OF(X509_EXTENSION) *x)
72 int X509v3_get_ext_by_NID(const STACK_OF(X509_EXTENSION) *x, int nid,
82 int X509v3_get_ext_by_OBJ(const STACK_OF(X509_EXTENSION) *sk, const ASN1_OBJECT *obj,
86 X509_EXTENSION *ex;
102 int X509v3_get_ext_by_critical(const STACK_OF(X509_EXTENSION) *sk, int crit,
106 X509_EXTENSION *ex;
123 X509_EXTENSION *X509v3_get_ext(const STACK_OF(X509_EXTENSION) *x, int loc)
131 X509_EXTENSION *X509v3_delete_ext(STACK_OF(X509_EXTENSION) *
[all...]
H A Dx509_ext.c86 X509_EXTENSION *X509_CRL_get_ext(X509_CRL *x, int loc)
91 X509_EXTENSION *X509_CRL_delete_ext(X509_CRL *x, int loc)
107 int X509_CRL_add_ext(X509_CRL *x, X509_EXTENSION *ex, int loc)
132 X509_EXTENSION *X509_get_ext(X509 *x, int loc)
137 X509_EXTENSION *X509_delete_ext(X509 *x, int loc)
142 int X509_add_ext(X509 *x, X509_EXTENSION *ex, int loc)
180 X509_EXTENSION *X509_REVOKED_get_ext(X509_REVOKED *x, int loc)
185 X509_EXTENSION *X509_REVOKED_delete_ext(X509_REVOKED *x, int loc)
190 int X509_REVOKED_add_ext(X509_REVOKED *x, X509_EXTENSION *ex, int loc)
206 IMPLEMENT_ASN1_SET_OF(X509_EXTENSION)
[all...]
H A Dx509_req.c182 STACK_OF(X509_EXTENSION) *X509_REQ_get_extensions(X509_REQ *req)
205 return (STACK_OF(X509_EXTENSION) *)
214 int X509_REQ_add_extensions_nid(X509_REQ *req, STACK_OF(X509_EXTENSION) *exts,
247 int X509_REQ_add_extensions(X509_REQ *req, STACK_OF(X509_EXTENSION) *exts)
/external/openssl/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)
/external/openssl/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)
/external/openssl/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.h123 STACK_OF(X509_EXTENSION) *singleRequestExtensions;
141 STACK_OF(X509_EXTENSION) *requestExtensions;
266 STACK_OF(X509_EXTENSION) *singleExtensions;
285 STACK_OF(X509_EXTENSION) *responseExtensions;
488 X509_EXTENSION *OCSP_crlID_new(char *url, long *n, char *tim);
490 X509_EXTENSION *OCSP_accept_responses_new(char **oids);
492 X509_EXTENSION *OCSP_archive_cutoff_new(char* tim);
494 X509_EXTENSION *OCSP_url_svcloc_new(X509_NAME* issuer, char **urls);
500 X509_EXTENSION *OCSP_REQUEST_get_ext(OCSP_REQUEST *x, int loc);
501 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)
/external/chromium_org/third_party/boringssl/src/crypto/x509v3/
H A Dv3_conf.c72 static X509_EXTENSION *do_ext_nconf(CONF *conf, X509V3_CTX *ctx, int ext_nid, int crit, char *value);
73 static X509_EXTENSION *v3_generic_extension(const char *ext, char *value, int crit, int type, X509V3_CTX *ctx);
74 static X509_EXTENSION *do_ext_i2d(const X509V3_EXT_METHOD *method, int ext_nid,
80 X509_EXTENSION *X509V3_EXT_nconf(CONF *conf, X509V3_CTX *ctx, char *name,
85 X509_EXTENSION *ret;
100 X509_EXTENSION *X509V3_EXT_nconf_nid(CONF *conf, X509V3_CTX *ctx, int ext_nid,
114 static X509_EXTENSION *do_ext_nconf(CONF *conf, X509V3_CTX *ctx, int ext_nid,
118 X509_EXTENSION *ext;
174 static X509_EXTENSION *do_ext_i2d(const X509V3_EXT_METHOD *method, int ext_nid,
180 X509_EXTENSION *ex
[all...]
H A Dv3_prn.c69 static int unknown_ext_print(BIO *out, X509_EXTENSION *ext, unsigned long flag, int indent, int supported);
95 int X509V3_EXT_print(BIO *out, X509_EXTENSION *ext, unsigned long flag, int indent)
137 int X509V3_extensions_print(BIO *bp, const char *title, STACK_OF(X509_EXTENSION) *exts, unsigned long flag, int indent)
153 X509_EXTENSION *ex;
171 static int unknown_ext_print(BIO *out, X509_EXTENSION *ext, unsigned long flag, int indent, int supported)
198 int X509V3_EXT_print_fp(FILE *fp, X509_EXTENSION *ext, int flag, int indent)
H A Dv3_lib.c116 const X509V3_EXT_METHOD *X509V3_EXT_get(X509_EXTENSION *ext)
193 void *X509V3_EXT_d2i(X509_EXTENSION *ext)
219 void *X509V3_get_d2i(STACK_OF(X509_EXTENSION) *x, int nid, int *crit, int *idx)
223 X509_EXTENSION *ex, *found_ex = NULL;
265 int X509V3_add1_i2d(STACK_OF(X509_EXTENSION) **x, int nid, void *value,
270 X509_EXTENSION *ext, *extmp;
/external/openssl/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;
/external/openssl/include/openssl/
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 Docsp.h123 STACK_OF(X509_EXTENSION) *singleRequestExtensions;
141 STACK_OF(X509_EXTENSION) *requestExtensions;
266 STACK_OF(X509_EXTENSION) *singleExtensions;
285 STACK_OF(X509_EXTENSION) *responseExtensions;
488 X509_EXTENSION *OCSP_crlID_new(char *url, long *n, char *tim);
490 X509_EXTENSION *OCSP_accept_responses_new(char **oids);
492 X509_EXTENSION *OCSP_archive_cutoff_new(char* tim);
494 X509_EXTENSION *OCSP_url_svcloc_new(X509_NAME* issuer, char **urls);
500 X509_EXTENSION *OCSP_REQUEST_get_ext(OCSP_REQUEST *x, int loc);
501 X509_EXTENSION *OCSP_REQUEST_delete_ex
[all...]
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...]
/external/chromium_org/third_party/boringssl/src/include/openssl/
H A Dx509.h169 } X509_EXTENSION; typedef in typeref:struct:X509_extension_st
171 typedef STACK_OF(X509_EXTENSION) X509_EXTENSIONS;
173 DECLARE_STACK_OF(X509_EXTENSION)
174 DECLARE_ASN1_SET_OF(X509_EXTENSION)
221 STACK_OF(X509_EXTENSION) *extensions; /* [ 3 ] optional in v3 */
394 STACK_OF(X509_EXTENSION) /* optional */ *extensions;
413 STACK_OF(X509_EXTENSION) /* [0] */ *extensions;
716 OPENSSL_EXPORT X509_EXTENSION *X509_EXTENSION_dup(X509_EXTENSION *ex);
776 DECLARE_ASN1_FUNCTIONS(X509_EXTENSION)
[all...]
H A Dx509v3.h603 OPENSSL_EXPORT X509_EXTENSION *X509V3_EXT_nconf_nid(CONF *conf, X509V3_CTX *ctx, int ext_nid, char *value);
604 OPENSSL_EXPORT X509_EXTENSION *X509V3_EXT_nconf(CONF *conf, X509V3_CTX *ctx, char *name, char *value);
605 OPENSSL_EXPORT int X509V3_EXT_add_nconf_sk(CONF *conf, X509V3_CTX *ctx, char *section, STACK_OF(X509_EXTENSION) **sk);
610 OPENSSL_EXPORT X509_EXTENSION *X509V3_EXT_conf_nid(LHASH_OF(CONF_VALUE) *conf, X509V3_CTX *ctx,
612 OPENSSL_EXPORT X509_EXTENSION *X509V3_EXT_conf(LHASH_OF(CONF_VALUE) *conf, X509V3_CTX *ctx,
652 OPENSSL_EXPORT const X509V3_EXT_METHOD *X509V3_EXT_get(X509_EXTENSION *ext);
656 OPENSSL_EXPORT void *X509V3_EXT_d2i(X509_EXTENSION *ext);
657 OPENSSL_EXPORT void *X509V3_get_d2i(STACK_OF(X509_EXTENSION) *x, int nid, int *crit, int *idx);
660 OPENSSL_EXPORT X509_EXTENSION *X509V3_EXT_i2d(int ext_nid, int crit, void *ext_struc);
661 OPENSSL_EXPORT int X509V3_add1_i2d(STACK_OF(X509_EXTENSION) **
[all...]

Completed in 324 milliseconds

123