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

12

/external/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.c184 STACK_OF(X509_EXTENSION) *X509_REQ_get_extensions(X509_REQ *req)
208 return (STACK_OF(X509_EXTENSION) *)
217 int X509_REQ_add_extensions_nid(X509_REQ *req, STACK_OF(X509_EXTENSION) *exts,
250 int X509_REQ_add_extensions(X509_REQ *req, STACK_OF(X509_EXTENSION) *exts)
H A Dx_crl.c97 ASN1_SEQUENCE_OF_OPT(X509_REVOKED,extensions, X509_EXTENSION)
143 ASN1_EXP_SEQUENCE_OF_OPT(X509_CRL_INFO, extensions, X509_EXTENSION, 0)
164 STACK_OF(X509_EXTENSION) *exts;
166 X509_EXTENSION *ext;
237 STACK_OF(X509_EXTENSION) *exts;
238 X509_EXTENSION *ext;
H A Dt_req.c204 STACK_OF(X509_EXTENSION) *exts = X509_REQ_get_extensions(x);
210 X509_EXTENSION *ex = sk_X509_EXTENSION_value(exts, i);
H A Dx_x509.c83 ASN1_EXP_SEQUENCE_OF_OPT(X509_CINF, extensions, X509_EXTENSION, 3)
/external/boringssl/src/crypto/x509v3/
H A Dv3_conf.c75 static X509_EXTENSION *do_ext_nconf(CONF *conf, X509V3_CTX *ctx, int ext_nid, int crit, char *value);
76 static X509_EXTENSION *v3_generic_extension(const char *ext, char *value, int crit, int type, X509V3_CTX *ctx);
77 static X509_EXTENSION *do_ext_i2d(const X509V3_EXT_METHOD *method, int ext_nid,
83 X509_EXTENSION *X509V3_EXT_nconf(CONF *conf, X509V3_CTX *ctx, char *name,
88 X509_EXTENSION *ret;
103 X509_EXTENSION *X509V3_EXT_nconf_nid(CONF *conf, X509V3_CTX *ctx, int ext_nid,
117 static X509_EXTENSION *do_ext_nconf(CONF *conf, X509V3_CTX *ctx, int ext_nid,
121 X509_EXTENSION *ext;
177 static X509_EXTENSION *do_ext_i2d(const X509V3_EXT_METHOD *method, int ext_nid,
183 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.c118 const X509V3_EXT_METHOD *X509V3_EXT_get(X509_EXTENSION *ext)
195 void *X509V3_EXT_d2i(X509_EXTENSION *ext)
221 void *X509V3_get_d2i(STACK_OF(X509_EXTENSION) *x, int nid, int *crit, int *idx)
225 X509_EXTENSION *ex, *found_ex = NULL;
267 int X509V3_add1_i2d(STACK_OF(X509_EXTENSION) **x, int nid, void *value,
272 X509_EXTENSION *ext, *extmp;
H A Dv3_akey.c126 X509_EXTENSION *ext;
H A Dv3_purp.c304 int X509_supported_extension(X509_EXTENSION *ex)
394 X509_EXTENSION *ex;
714 X509_EXTENSION *ext = X509_get_ext((X509 *) x, i_ext);
H A Dv3_alt.c280 X509_EXTENSION *ext;
/external/boringssl/include/openssl/
H A Dx509.h169 } /* X509_EXTENSION */;
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;
709 OPENSSL_EXPORT X509_EXTENSION *X509_EXTENSION_dup(X509_EXTENSION *ex);
768 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);
643 OPENSSL_EXPORT const X509V3_EXT_METHOD *X509V3_EXT_get(X509_EXTENSION *ext);
647 OPENSSL_EXPORT void *X509V3_EXT_d2i(X509_EXTENSION *ext);
648 OPENSSL_EXPORT void *X509V3_get_d2i(STACK_OF(X509_EXTENSION) *x, int nid, int *crit, int *idx);
651 OPENSSL_EXPORT X509_EXTENSION *X509V3_EXT_i2d(int ext_nid, int crit, void *ext_struc);
652 OPENSSL_EXPORT int X509V3_add1_i2d(STACK_OF(X509_EXTENSION) **x, int nid, void *value, int crit, unsigned long flags);
660 OPENSSL_EXPORT int X509V3_EXT_print(BIO *out, X509_EXTENSION *ext, unsigned long flag, int indent);
661 OPENSSL_EXPORT int X509V3_EXT_print_fp(FILE *out, X509_EXTENSION *ex
[all...]
H A Dstack_macros.h2517 /* X509_EXTENSION */
2519 ((STACK_OF(X509_EXTENSION) *)sk_new(CHECKED_CAST( \
2521 int (*)(const X509_EXTENSION **a, const X509_EXTENSION **b), comp)))
2523 #define sk_X509_EXTENSION_new_null() ((STACK_OF(X509_EXTENSION) *)sk_new_null())
2526 sk_num(CHECKED_CAST(_STACK *, STACK_OF(X509_EXTENSION) *, sk))
2529 sk_zero(CHECKED_CAST(_STACK *, STACK_OF(X509_EXTENSION) *, sk));
2532 ((X509_EXTENSION *)sk_value( \
2533 CHECKED_CAST(_STACK *, const STACK_OF(X509_EXTENSION) *, sk), (i)))
2536 ((X509_EXTENSION *)sk_se
[all...]
H A Dbase.h183 typedef struct X509_extension_st X509_EXTENSION; typedef in typeref:struct:X509_extension_st
/external/boringssl/src/include/openssl/
H A Dx509.h169 } /* X509_EXTENSION */;
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;
709 OPENSSL_EXPORT X509_EXTENSION *X509_EXTENSION_dup(X509_EXTENSION *ex);
768 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);
643 OPENSSL_EXPORT const X509V3_EXT_METHOD *X509V3_EXT_get(X509_EXTENSION *ext);
647 OPENSSL_EXPORT void *X509V3_EXT_d2i(X509_EXTENSION *ext);
648 OPENSSL_EXPORT void *X509V3_get_d2i(STACK_OF(X509_EXTENSION) *x, int nid, int *crit, int *idx);
651 OPENSSL_EXPORT X509_EXTENSION *X509V3_EXT_i2d(int ext_nid, int crit, void *ext_struc);
652 OPENSSL_EXPORT int X509V3_add1_i2d(STACK_OF(X509_EXTENSION) **x, int nid, void *value, int crit, unsigned long flags);
660 OPENSSL_EXPORT int X509V3_EXT_print(BIO *out, X509_EXTENSION *ext, unsigned long flag, int indent);
661 OPENSSL_EXPORT int X509V3_EXT_print_fp(FILE *out, X509_EXTENSION *ex
[all...]
H A Dstack_macros.h2517 /* X509_EXTENSION */
2519 ((STACK_OF(X509_EXTENSION) *)sk_new(CHECKED_CAST( \
2521 int (*)(const X509_EXTENSION **a, const X509_EXTENSION **b), comp)))
2523 #define sk_X509_EXTENSION_new_null() ((STACK_OF(X509_EXTENSION) *)sk_new_null())
2526 sk_num(CHECKED_CAST(_STACK *, STACK_OF(X509_EXTENSION) *, sk))
2529 sk_zero(CHECKED_CAST(_STACK *, STACK_OF(X509_EXTENSION) *, sk));
2532 ((X509_EXTENSION *)sk_value( \
2533 CHECKED_CAST(_STACK *, const STACK_OF(X509_EXTENSION) *, sk), (i)))
2536 ((X509_EXTENSION *)sk_se
[all...]
H A Dbase.h183 typedef struct X509_extension_st X509_EXTENSION; typedef in typeref:struct:X509_extension_st
/external/wpa_supplicant_8/hs20/client/
H A Dest.c245 STACK_OF(X509_EXTENSION) *exts)
269 STACK_OF(X509_EXTENSION) *exts)
299 STACK_OF(X509_EXTENSION) *exts)
331 STACK_OF(X509_EXTENSION) *exts)
383 STACK_OF(X509_EXTENSION) *exts = NULL;
384 X509_EXTENSION *ex;
/external/wpa_supplicant_8/hostapd/src/crypto/
H A Dtls_openssl_ocsp.c136 STACK_OF(X509_EXTENSION) *singleExtensions;
152 STACK_OF(X509_EXTENSION) *responseExtensions;
198 X509_EXTENSION, 1)
207 X509_EXTENSION, 1)
332 static char * extensions_str(const char *title, STACK_OF(X509_EXTENSION) *ext)
/external/wpa_supplicant_8/src/crypto/
H A Dtls_openssl_ocsp.c136 STACK_OF(X509_EXTENSION) *singleExtensions;
152 STACK_OF(X509_EXTENSION) *responseExtensions;
198 X509_EXTENSION, 1)
207 X509_EXTENSION, 1)
332 static char * extensions_str(const char *title, STACK_OF(X509_EXTENSION) *ext)
/external/wpa_supplicant_8/wpa_supplicant/src/crypto/
H A Dtls_openssl_ocsp.c136 STACK_OF(X509_EXTENSION) *singleExtensions;
152 STACK_OF(X509_EXTENSION) *responseExtensions;
198 X509_EXTENSION, 1)
207 X509_EXTENSION, 1)
332 static char * extensions_str(const char *title, STACK_OF(X509_EXTENSION) *ext)

Completed in 523 milliseconds

12