Home
last modified time | relevance | path

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

12

/external/boringssl/src/crypto/x509/
Dx509_v3.c66 int X509v3_get_ext_count(const STACK_OF(X509_EXTENSION) *x) in X509v3_get_ext_count()
72 int X509v3_get_ext_by_NID(const STACK_OF(X509_EXTENSION) *x, int nid, in X509v3_get_ext_by_NID()
82 int X509v3_get_ext_by_OBJ(const STACK_OF(X509_EXTENSION) *sk, const ASN1_OBJECT *obj, in X509v3_get_ext_by_OBJ()
86 X509_EXTENSION *ex; in X509v3_get_ext_by_OBJ()
102 int X509v3_get_ext_by_critical(const STACK_OF(X509_EXTENSION) *sk, int crit, in X509v3_get_ext_by_critical()
106 X509_EXTENSION *ex; in X509v3_get_ext_by_critical()
123 X509_EXTENSION *X509v3_get_ext(const STACK_OF(X509_EXTENSION) *x, int loc) in X509v3_get_ext()
131 X509_EXTENSION *X509v3_delete_ext(STACK_OF(X509_EXTENSION) *x, int loc) in X509v3_delete_ext()
133 X509_EXTENSION *ret; in X509v3_delete_ext()
141 STACK_OF(X509_EXTENSION) *X509v3_add_ext(STACK_OF(X509_EXTENSION) **x, in STACK_OF() argument
[all …]
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)
Dx509_ext.c86 X509_EXTENSION *X509_CRL_get_ext(X509_CRL *x, int loc) in X509_CRL_get_ext()
91 X509_EXTENSION *X509_CRL_delete_ext(X509_CRL *x, int loc) in X509_CRL_delete_ext()
107 int X509_CRL_add_ext(X509_CRL *x, X509_EXTENSION *ex, int loc) in X509_CRL_add_ext()
132 X509_EXTENSION *X509_get_ext(X509 *x, int loc) in X509_get_ext()
137 X509_EXTENSION *X509_delete_ext(X509 *x, int loc) in X509_delete_ext()
142 int X509_add_ext(X509 *x, X509_EXTENSION *ex, int loc) in X509_add_ext()
180 X509_EXTENSION *X509_REVOKED_get_ext(X509_REVOKED *x, int loc) in X509_REVOKED_get_ext()
185 X509_EXTENSION *X509_REVOKED_delete_ext(X509_REVOKED *x, int loc) in X509_REVOKED_delete_ext()
190 int X509_REVOKED_add_ext(X509_REVOKED *x, X509_EXTENSION *ex, int loc) in X509_REVOKED_add_ext()
206 IMPLEMENT_ASN1_SET_OF(X509_EXTENSION)
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; in crl_cb()
238 X509_EXTENSION *ext; in crl_cb()
Dx509_req.c184 STACK_OF(X509_EXTENSION) *X509_REQ_get_extensions(X509_REQ *req) in STACK_OF() argument
208 return (STACK_OF(X509_EXTENSION) *) in STACK_OF()
217 int X509_REQ_add_extensions_nid(X509_REQ *req, STACK_OF(X509_EXTENSION) *exts, in X509_REQ_add_extensions_nid()
250 int X509_REQ_add_extensions(X509_REQ *req, STACK_OF(X509_EXTENSION) *exts) in X509_REQ_add_extensions()
Dt_req.c204 STACK_OF(X509_EXTENSION) *exts = X509_REQ_get_extensions(x); in X509_REQ_print_ex()
210 X509_EXTENSION *ex = sk_X509_EXTENSION_value(exts, i); in X509_REQ_print_ex()
Dx_x509.c83 ASN1_EXP_SEQUENCE_OF_OPT(X509_CINF, extensions, X509_EXTENSION, 3)
/external/boringssl/src/crypto/x509v3/
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, X509V…
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, in X509V3_EXT_nconf()
88 X509_EXTENSION *ret; in X509V3_EXT_nconf()
103 X509_EXTENSION *X509V3_EXT_nconf_nid(CONF *conf, X509V3_CTX *ctx, int ext_nid, in X509V3_EXT_nconf_nid()
117 static X509_EXTENSION *do_ext_nconf(CONF *conf, X509V3_CTX *ctx, int ext_nid, in do_ext_nconf()
121 X509_EXTENSION *ext; in do_ext_nconf()
177 static X509_EXTENSION *do_ext_i2d(const X509V3_EXT_METHOD *method, int ext_nid, in do_ext_i2d()
183 X509_EXTENSION *ext; in do_ext_i2d()
[all …]
Dv3_prn.c69 static int unknown_ext_print(BIO *out, X509_EXTENSION *ext, unsigned long flag, int indent, int sup…
95 int X509V3_EXT_print(BIO *out, X509_EXTENSION *ext, unsigned long flag, int indent) in X509V3_EXT_print()
137 int X509V3_extensions_print(BIO *bp, const char *title, STACK_OF(X509_EXTENSION) *exts, unsigned lo… in X509V3_extensions_print()
153 X509_EXTENSION *ex; in X509V3_extensions_print()
171 static int unknown_ext_print(BIO *out, X509_EXTENSION *ext, unsigned long flag, int indent, int sup… in unknown_ext_print()
198 int X509V3_EXT_print_fp(FILE *fp, X509_EXTENSION *ext, int flag, int indent) in X509V3_EXT_print_fp()
Dv3_lib.c118 const X509V3_EXT_METHOD *X509V3_EXT_get(X509_EXTENSION *ext) in X509V3_EXT_get()
195 void *X509V3_EXT_d2i(X509_EXTENSION *ext) in X509V3_EXT_d2i()
221 void *X509V3_get_d2i(STACK_OF(X509_EXTENSION) *x, int nid, int *crit, int *idx) in X509V3_get_d2i()
225 X509_EXTENSION *ex, *found_ex = NULL; in X509V3_get_d2i()
267 int X509V3_add1_i2d(STACK_OF(X509_EXTENSION) **x, int nid, void *value, in X509V3_add1_i2d()
272 X509_EXTENSION *ext, *extmp; in X509V3_add1_i2d()
Dv3_purp.c304 int X509_supported_extension(X509_EXTENSION *ex) in X509_supported_extension()
394 X509_EXTENSION *ex; in x509v3_cache_extensions()
714 X509_EXTENSION *ext = X509_get_ext((X509 *) x, i_ext); in check_purpose_timestamp_sign()
Dv3_akey.c126 X509_EXTENSION *ext; in v2i_AUTHORITY_KEYID()
Dv3_alt.c280 X509_EXTENSION *ext; in copy_issuer()
Dv3_utl.c509 STACK_OF(X509_EXTENSION) *exts; in STACK_OF()
/external/boringssl/src/include/openssl/
Dx509.h171 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)
869 OPENSSL_EXPORT STACK_OF(X509_EXTENSION) *X509_REQ_get_extensions(X509_REQ *req);
870 OPENSSL_EXPORT int X509_REQ_add_extensions_nid(X509_REQ *req, STACK_OF(X509_EXTENSION) *exts,
[all …]
Dx509v3.h603 OPENSSL_EXPORT X509_EXTENSION *X509V3_EXT_nconf_nid(CONF *conf, X509V3_CTX *ctx, int ext_nid, char …
604 OPENSSL_EXPORT X509_EXTENSION *X509V3_EXT_nconf(CONF *conf, X509V3_CTX *ctx, char *name, char *valu…
605 …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, un…
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 *ext, int flag, int indent);
[all …]
Dstack_macros.h2519 ((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_set( \
2537 CHECKED_CAST(_STACK *, STACK_OF(X509_EXTENSION) *, sk), (i), \
2538 CHECKED_CAST(void *, X509_EXTENSION *, p)))
[all …]
Dbase.h183 typedef struct X509_extension_st X509_EXTENSION; typedef
/external/wpa_supplicant_8/hs20/client/
Dest.c245 STACK_OF(X509_EXTENSION) *exts) in add_csrattrs_oid()
269 STACK_OF(X509_EXTENSION) *exts) in add_csrattrs_ext_req()
299 STACK_OF(X509_EXTENSION) *exts) in add_csrattrs_attr()
331 STACK_OF(X509_EXTENSION) *exts) in add_csrattrs()
383 STACK_OF(X509_EXTENSION) *exts = NULL; in generate_csr()
384 X509_EXTENSION *ex; in generate_csr()
/external/wpa_supplicant_8/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)
332 static char * extensions_str(const char *title, STACK_OF(X509_EXTENSION) *ext) in extensions_str()
/external/webrtc/webrtc/base/
Dopenssladapter.cc747 X509_EXTENSION* extension = X509_get_ext(certificate, i); in VerifyServerName()
/external/conscrypt/src/main/native/
Dorg_conscrypt_NativeCrypto.cpp6054 X509_EXTENSION* (*get_ext_func)(T*, int)>
6055 static X509_EXTENSION *X509Type_get_ext(JNIEnv* env, T* x509Type, jstring oidString) {
6081 X509_EXTENSION* ext = get_ext_func(x509Type, extIndex);
6087 X509_EXTENSION* (*get_ext_func)(T*, int)>
6089 X509_EXTENSION* ext = X509Type_get_ext<T, get_ext_by_OBJ_func, get_ext_func>(env, x509Type,
6103 X509_EXTENSION* ext = X509Type_get_ext<X509_CRL, X509_CRL_get_ext_by_OBJ, X509_CRL_get_ext>(
6113 X509_EXTENSION* ext = X509Type_get_ext<X509_REVOKED, X509_REVOKED_get_ext_by_OBJ,
6244X509_EXTENSION* ext = reinterpret_cast<X509_EXTENSION*>(static_cast<uintptr_t>(x509ExtensionRef));
6892 X509_EXTENSION* ext = X509_delete_ext(x509, extIndex);
7151 template<typename T, int (*get_ext_by_critical_func)(T*, int, int), X509_EXTENSION* (*get_ext_func)…
[all …]
/external/tlsdate/src/
Dtlsdate-helper-plan9.c528 X509_EXTENSION *ext; in check_san()
Dtlsdate-helper.c664 X509_EXTENSION *ext; in check_san()
/external/curl/lib/vtls/
Dopenssl.c2299 STACK_OF(X509_EXTENSION) *exts) in X509V3_ext()
2310 X509_EXTENSION *ext = sk_X509_EXTENSION_value(exts, i); in X509V3_ext()

12