Home
last modified time | relevance | path

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

12

/external/boringssl/src/crypto/x509/
Dx509_v3.c65 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()
83 int X509v3_get_ext_by_OBJ(const STACK_OF(X509_EXTENSION) *sk, in X509v3_get_ext_by_OBJ()
87 X509_EXTENSION *ex; in X509v3_get_ext_by_OBJ()
103 int X509v3_get_ext_by_critical(const STACK_OF(X509_EXTENSION) *sk, int crit, in X509v3_get_ext_by_critical()
107 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.c85 X509_EXTENSION *X509_CRL_get_ext(X509_CRL *x, int loc) in X509_CRL_get_ext()
90 X509_EXTENSION *X509_CRL_delete_ext(X509_CRL *x, int loc) in X509_CRL_delete_ext()
106 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.c94 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;
226 STACK_OF(X509_EXTENSION) *exts; in crl_cb()
227 X509_EXTENSION *ext; in crl_cb()
Dx509_req.c183 STACK_OF(X509_EXTENSION) *X509_REQ_get_extensions(X509_REQ *req) in STACK_OF() argument
207 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()
254 int X509_REQ_add_extensions(X509_REQ *req, STACK_OF(X509_EXTENSION) *exts) in X509_REQ_add_extensions()
Dt_req.c202 STACK_OF(X509_EXTENSION) *exts = X509_REQ_get_extensions(x); in X509_REQ_print_ex()
208 X509_EXTENSION *ex = sk_X509_EXTENSION_value(exts, i); in X509_REQ_print_ex()
Dx509_set.c161 STACK_OF(X509_EXTENSION) *X509_get0_extensions(const X509 *x) in STACK_OF() argument
Dx_x509.c85 ASN1_EXP_SEQUENCE_OF_OPT(X509_CINF, extensions, X509_EXTENSION, 3)
/external/boringssl/src/crypto/x509v3/
Dv3_conf.c76 static X509_EXTENSION *do_ext_nconf(CONF *conf, X509V3_CTX *ctx, int ext_nid,
78 static X509_EXTENSION *v3_generic_extension(const char *ext, char *value,
81 static X509_EXTENSION *do_ext_i2d(const X509V3_EXT_METHOD *method,
88 X509_EXTENSION *X509V3_EXT_nconf(CONF *conf, X509V3_CTX *ctx, char *name, in X509V3_EXT_nconf()
93 X509_EXTENSION *ret; in X509V3_EXT_nconf()
107 X509_EXTENSION *X509V3_EXT_nconf_nid(CONF *conf, X509V3_CTX *ctx, int ext_nid, in X509V3_EXT_nconf_nid()
121 static X509_EXTENSION *do_ext_nconf(CONF *conf, X509V3_CTX *ctx, int ext_nid, in do_ext_nconf()
125 X509_EXTENSION *ext; in do_ext_nconf()
180 static X509_EXTENSION *do_ext_i2d(const X509V3_EXT_METHOD *method, in do_ext_i2d()
186 X509_EXTENSION *ext; in do_ext_i2d()
[all …]
Dv3_lib.c125 const X509V3_EXT_METHOD *X509V3_EXT_get(X509_EXTENSION *ext) in X509V3_EXT_get()
206 void *X509V3_EXT_d2i(X509_EXTENSION *ext) in X509V3_EXT_d2i()
233 void *X509V3_get_d2i(STACK_OF(X509_EXTENSION) *x, int nid, int *crit, in X509V3_get_d2i()
238 X509_EXTENSION *ex, *found_ex = NULL; in X509V3_get_d2i()
289 int X509V3_add1_i2d(STACK_OF(X509_EXTENSION) **x, int nid, void *value, in X509V3_add1_i2d()
293 X509_EXTENSION *ext = NULL, *extmp; in X509V3_add1_i2d()
294 STACK_OF(X509_EXTENSION) *ret = NULL; in X509V3_add1_i2d()
Dv3_prn.c69 static int unknown_ext_print(BIO *out, X509_EXTENSION *ext,
105 int X509V3_EXT_print(BIO *out, X509_EXTENSION *ext, unsigned long flag, in X509V3_EXT_print()
159 STACK_OF(X509_EXTENSION) *exts, in X509V3_extensions_print()
175 X509_EXTENSION *ex; in X509V3_extensions_print()
194 static int unknown_ext_print(BIO *out, X509_EXTENSION *ext, in unknown_ext_print()
219 int X509V3_EXT_print_fp(FILE *fp, X509_EXTENSION *ext, int flag, int indent) in X509V3_EXT_print_fp()
Dv3_purp.c336 int X509_supported_extension(X509_EXTENSION *ex) in X509_supported_extension()
415 X509_EXTENSION *ex; in x509v3_cache_extensions()
737 X509_EXTENSION *ext = X509_get_ext((X509 *)x, i_ext); in check_purpose_timestamp_sign()
Dv3_akey.c133 X509_EXTENSION *ext; in v2i_AUTHORITY_KEYID()
Dv3_alt.c290 X509_EXTENSION *ext; in copy_issuer()
Dv3_utl.c588 STACK_OF(X509_EXTENSION) *exts; in STACK_OF()
/external/boringssl/src/include/openssl/
Dx509.h170 typedef STACK_OF(X509_EXTENSION) X509_EXTENSIONS;
172 DEFINE_STACK_OF(X509_EXTENSION)
173 DECLARE_ASN1_SET_OF(X509_EXTENSION)
220 STACK_OF(X509_EXTENSION) *extensions; /* [ 3 ] optional in v3 */
392 STACK_OF(X509_EXTENSION) /* optional */ *extensions;
411 STACK_OF(X509_EXTENSION) /* [0] */ *extensions;
681 OPENSSL_EXPORT X509_EXTENSION *X509_EXTENSION_dup(X509_EXTENSION *ex);
745 DECLARE_ASN1_FUNCTIONS(X509_EXTENSION)
837 OPENSSL_EXPORT STACK_OF(X509_EXTENSION) *X509_get0_extensions(const X509 *x);
852 OPENSSL_EXPORT STACK_OF(X509_EXTENSION) *X509_REQ_get_extensions(X509_REQ *req);
[all …]
Dx509v3.h618 OPENSSL_EXPORT X509_EXTENSION *X509V3_EXT_conf_nid(LHASH_OF(CONF_VALUE) *conf, X509V3_CTX *ctx, int…
620 OPENSSL_EXPORT X509_EXTENSION *X509V3_EXT_nconf_nid(CONF *conf, X509V3_CTX *ctx, int ext_nid, char …
621 OPENSSL_EXPORT X509_EXTENSION *X509V3_EXT_nconf(CONF *conf, X509V3_CTX *ctx, char *name, char *valu…
622 …X509V3_EXT_add_nconf_sk(CONF *conf, X509V3_CTX *ctx, char *section, STACK_OF(X509_EXTENSION) **sk);
657 OPENSSL_EXPORT const X509V3_EXT_METHOD *X509V3_EXT_get(X509_EXTENSION *ext);
661 OPENSSL_EXPORT void *X509V3_EXT_d2i(X509_EXTENSION *ext);
662 OPENSSL_EXPORT void *X509V3_get_d2i(STACK_OF(X509_EXTENSION) *x, int nid, int *crit, int *idx);
666 OPENSSL_EXPORT X509_EXTENSION *X509V3_EXT_i2d(int ext_nid, int crit, void *ext_struc);
667 OPENSSL_EXPORT int X509V3_add1_i2d(STACK_OF(X509_EXTENSION) **x, int nid, void *value, int crit, un…
671 OPENSSL_EXPORT int X509V3_EXT_print(BIO *out, X509_EXTENSION *ext, unsigned long flag, int indent);
[all …]
Dbase.h336 typedef struct X509_extension_st X509_EXTENSION; typedef
/external/wpa_supplicant_8/hs20/client/
Dest.c250 STACK_OF(X509_EXTENSION) *exts) in add_csrattrs_oid()
274 STACK_OF(X509_EXTENSION) *exts) in add_csrattrs_ext_req()
304 STACK_OF(X509_EXTENSION) *exts) in add_csrattrs_attr()
336 STACK_OF(X509_EXTENSION) *exts) in add_csrattrs()
396 STACK_OF(X509_EXTENSION) *exts = NULL; in generate_csr()
397 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/boringssl/src/decrepit/x509/
Dx509_decrepit.c22 X509_EXTENSION *X509V3_EXT_conf_nid(LHASH_OF(CONF_VALUE) *conf, X509V3_CTX *ctx, in X509V3_EXT_conf_nid()
/external/conscrypt/common/src/jni/main/cpp/conscrypt/
Dnative_crypto.cc4437 X509_EXTENSION* (*get_ext_func)(T*, int)>
4438 static X509_EXTENSION* X509Type_get_ext(JNIEnv* env, T* x509Type, jstring oidString) { in X509Type_get_ext()
4464 X509_EXTENSION* ext = get_ext_func(x509Type, extIndex); in X509Type_get_ext()
4470 X509_EXTENSION* (*get_ext_func)(T*, int)>
4472 X509_EXTENSION* ext = in X509Type_get_ext_oid()
4487 X509_EXTENSION* ext = in NativeCrypto_X509_CRL_get_ext()
4498 X509_EXTENSION* ext = in NativeCrypto_X509_REVOKED_get_ext()
4646 X509_EXTENSION* ext = in NativeCrypto_X509_supported_extension()
4647 reinterpret_cast<X509_EXTENSION*>(static_cast<uintptr_t>(x509ExtensionRef)); in NativeCrypto_X509_supported_extension()
5477 X509_EXTENSION* ext = X509_delete_ext(x509, extIndex); in NativeCrypto_X509_delete_ext()
[all …]
/external/webrtc/webrtc/base/
Dopenssladapter.cc747 X509_EXTENSION* extension = X509_get_ext(certificate, i); in VerifyServerName()
/external/curl/lib/vtls/
Dopenssl.c2986 CONST_EXTS STACK_OF(X509_EXTENSION) *exts) in X509V3_ext()
2997 X509_EXTENSION *ext = sk_X509_EXTENSION_value(exts, i); in X509V3_ext()
/external/wpa_supplicant_8/src/utils/
Dhttp_curl.c804 X509_EXTENSION *ext; in add_logotype_ext()

12