Home
last modified time | relevance | path

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

123

/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.c86 X509_EXTENSION *X509_CRL_get_ext(const 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()
108 int X509_CRL_add_ext(X509_CRL *x, X509_EXTENSION *ex, int loc) in X509_CRL_add_ext()
134 X509_EXTENSION *X509_get_ext(const X509 *x, int loc) in X509_get_ext()
139 X509_EXTENSION *X509_delete_ext(X509 *x, int loc) in X509_delete_ext()
144 int X509_add_ext(X509 *x, X509_EXTENSION *ex, int loc) in X509_add_ext()
185 X509_EXTENSION *X509_REVOKED_get_ext(const X509_REVOKED *x, int loc) in X509_REVOKED_get_ext()
190 X509_EXTENSION *X509_REVOKED_delete_ext(X509_REVOKED *x, int loc) in X509_REVOKED_delete_ext()
195 int X509_REVOKED_add_ext(X509_REVOKED *x, X509_EXTENSION *ex, int loc) in X509_REVOKED_add_ext()
212 IMPLEMENT_ASN1_SET_OF(X509_EXTENSION)
Dx509_req.c192 STACK_OF(X509_EXTENSION) *X509_REQ_get_extensions(X509_REQ *req) in STACK_OF() argument
216 return (STACK_OF(X509_EXTENSION) *) in STACK_OF()
226 int X509_REQ_add_extensions_nid(X509_REQ *req, STACK_OF(X509_EXTENSION) *exts, in X509_REQ_add_extensions_nid()
263 int X509_REQ_add_extensions(X509_REQ *req, STACK_OF(X509_EXTENSION) *exts) in X509_REQ_add_extensions()
Dx_crl.c94 ASN1_SEQUENCE_OF_OPT(X509_REVOKED,extensions, X509_EXTENSION)
146 ASN1_EXP_SEQUENCE_OF_OPT(X509_CRL_INFO, extensions, X509_EXTENSION, 0)
167 STACK_OF(X509_EXTENSION) *exts;
169 X509_EXTENSION *ext;
229 STACK_OF(X509_EXTENSION) *exts; in crl_cb()
230 X509_EXTENSION *ext; in crl_cb()
/external/rust/crates/quiche/deps/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)
Dx509_req.c192 STACK_OF(X509_EXTENSION) *X509_REQ_get_extensions(X509_REQ *req) in STACK_OF() argument
216 return (STACK_OF(X509_EXTENSION) *) in STACK_OF()
226 int X509_REQ_add_extensions_nid(X509_REQ *req, STACK_OF(X509_EXTENSION) *exts, in X509_REQ_add_extensions_nid()
263 int X509_REQ_add_extensions(X509_REQ *req, STACK_OF(X509_EXTENSION) *exts) in X509_REQ_add_extensions()
Dx_crl.c94 ASN1_SEQUENCE_OF_OPT(X509_REVOKED,extensions, X509_EXTENSION)
146 ASN1_EXP_SEQUENCE_OF_OPT(X509_CRL_INFO, extensions, X509_EXTENSION, 0)
167 STACK_OF(X509_EXTENSION) *exts;
169 X509_EXTENSION *ext;
229 STACK_OF(X509_EXTENSION) *exts; in crl_cb()
230 X509_EXTENSION *ext; in crl_cb()
/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, const 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, const 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(const X509_EXTENSION *ext) in X509V3_EXT_get()
206 void *X509V3_EXT_d2i(const X509_EXTENSION *ext) in X509V3_EXT_d2i()
220 void *X509V3_get_d2i(const STACK_OF(X509_EXTENSION) *extensions, int nid, in X509V3_get_d2i()
225 X509_EXTENSION *ex, *found_ex = NULL; in X509V3_get_d2i()
278 int X509V3_add1_i2d(STACK_OF(X509_EXTENSION) **x, int nid, void *value, in X509V3_add1_i2d()
282 X509_EXTENSION *ext = NULL, *extmp; in X509V3_add1_i2d()
283 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 const 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()
/external/rust/crates/quiche/deps/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()
/external/boringssl/src/include/openssl/
Dx509.h162 typedef STACK_OF(X509_EXTENSION) X509_EXTENSIONS;
164 DEFINE_STACK_OF(X509_EXTENSION)
165 DECLARE_ASN1_SET_OF(X509_EXTENSION)
208 STACK_OF(X509_EXTENSION) *extensions; // [ 3 ] optional in v3
367 STACK_OF(X509_EXTENSION) /* optional */ *extensions;
385 STACK_OF(X509_EXTENSION) /* [0] */ *extensions;
613 OPENSSL_EXPORT const STACK_OF(X509_EXTENSION) *X509_CRL_get0_extensions(
890 OPENSSL_EXPORT X509_EXTENSION *X509_EXTENSION_dup(X509_EXTENSION *ex);
944 DECLARE_ASN1_FUNCTIONS(X509_EXTENSION)
1084 OPENSSL_EXPORT const STACK_OF(X509_EXTENSION) *X509_get0_extensions(
[all …]
Dx509v3.h574 OPENSSL_EXPORT X509_EXTENSION *X509V3_EXT_conf_nid(LHASH_OF(CONF_VALUE) *conf,
578 OPENSSL_EXPORT X509_EXTENSION *X509V3_EXT_nconf_nid(CONF *conf, X509V3_CTX *ctx,
581 OPENSSL_EXPORT X509_EXTENSION *X509V3_EXT_nconf(CONF *conf, X509V3_CTX *ctx,
586 STACK_OF(X509_EXTENSION) **sk);
635 const X509_EXTENSION *ext);
649 OPENSSL_EXPORT void *X509V3_EXT_d2i(const X509_EXTENSION *ext);
678 OPENSSL_EXPORT void *X509V3_get_d2i(const STACK_OF(X509_EXTENSION) *extensions,
698 OPENSSL_EXPORT X509_EXTENSION *X509V3_EXT_i2d(int ext_nid, int crit,
751 OPENSSL_EXPORT int X509V3_add1_i2d(STACK_OF(X509_EXTENSION) **x, int nid,
771 OPENSSL_EXPORT int X509V3_EXT_print(BIO *out, X509_EXTENSION *ext,
[all …]
/external/arm-trusted-firmware/tools/cert_create/src/
Dext.c117 X509_EXTENSION *ext_new(int nid, int crit, unsigned char *data, int len) in ext_new()
119 X509_EXTENSION *ex; in ext_new()
157 X509_EXTENSION *ext_new_hash(int nid, int crit, const EVP_MD *md, in ext_new_hash()
160 X509_EXTENSION *ex; in ext_new_hash()
216 X509_EXTENSION *ext_new_nvcounter(int nid, int crit, int value) in ext_new_nvcounter()
218 X509_EXTENSION *ex; in ext_new_nvcounter()
253 X509_EXTENSION *ext_new_key(int nid, int crit, EVP_PKEY *k) in ext_new_key()
255 X509_EXTENSION *ex; in ext_new_key()
Dcert.c69 X509_EXTENSION *ex; in cert_add_ext()
94 STACK_OF(X509_EXTENSION) * sk) in cert_new()
101 X509_EXTENSION *ex; in cert_new()
/external/rust/crates/quiche/deps/boringssl/src/include/openssl/
Dx509.h162 typedef STACK_OF(X509_EXTENSION) X509_EXTENSIONS;
164 DEFINE_STACK_OF(X509_EXTENSION)
165 DECLARE_ASN1_SET_OF(X509_EXTENSION)
208 STACK_OF(X509_EXTENSION) * extensions; // [ 3 ] optional in v3
368 STACK_OF(X509_EXTENSION) /* optional */ * extensions;
386 STACK_OF(X509_EXTENSION) /* [0] */ * extensions;
717 OPENSSL_EXPORT X509_EXTENSION *X509_EXTENSION_dup(X509_EXTENSION *ex);
785 DECLARE_ASN1_FUNCTIONS(X509_EXTENSION)
889 OPENSSL_EXPORT STACK_OF(X509_EXTENSION) * X509_get0_extensions(const X509 *x);
904 OPENSSL_EXPORT STACK_OF(X509_EXTENSION) *
[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 …]
/external/arm-trusted-firmware/tools/cert_create/include/
Dext.h71 X509_EXTENSION *ext_new_hash(int nid, int crit, const EVP_MD *md,
73 X509_EXTENSION *ext_new_nvcounter(int nid, int crit, int value);
74 X509_EXTENSION *ext_new_key(int nid, int crit, EVP_PKEY *k);
/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/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()

123