Home
last modified time | relevance | path

Searched refs:ASN1_OBJECT (Results 1 – 25 of 854) sorted by relevance

12345678910>>...35

/third_party/node/deps/openssl/openssl/crypto/objects/
Dobj_dat.c24 DECLARE_OBJ_BSEARCH_CMP_FN(const ASN1_OBJECT *, unsigned int, sn);
25 DECLARE_OBJ_BSEARCH_CMP_FN(const ASN1_OBJECT *, unsigned int, ln);
26 DECLARE_OBJ_BSEARCH_CMP_FN(const ASN1_OBJECT *, unsigned int, obj);
35 ASN1_OBJECT *obj;
41 static int sn_cmp(const ASN1_OBJECT *const *a, const unsigned int *b) in sn_cmp()
46 IMPLEMENT_OBJ_BSEARCH_CMP_FN(const ASN1_OBJECT *, unsigned int, sn);
48 static int ln_cmp(const ASN1_OBJECT *const *a, const unsigned int *b) in ln_cmp()
53 IMPLEMENT_OBJ_BSEARCH_CMP_FN(const ASN1_OBJECT *, unsigned int, ln);
57 const ASN1_OBJECT *a; in added_obj_hash()
90 ASN1_OBJECT *a, *b; in added_obj_cmp()
[all …]
Dobj_lib.c16 ASN1_OBJECT *OBJ_dup(const ASN1_OBJECT *o) in OBJ_dup()
18 ASN1_OBJECT *r; in OBJ_dup()
24 return (ASN1_OBJECT *)o; in OBJ_dup()
57 int OBJ_cmp(const ASN1_OBJECT *a, const ASN1_OBJECT *b) in OBJ_cmp()
/third_party/openssl/crypto/objects/
Dobj_dat.c24 DECLARE_OBJ_BSEARCH_CMP_FN(const ASN1_OBJECT *, unsigned int, sn);
25 DECLARE_OBJ_BSEARCH_CMP_FN(const ASN1_OBJECT *, unsigned int, ln);
26 DECLARE_OBJ_BSEARCH_CMP_FN(const ASN1_OBJECT *, unsigned int, obj);
35 ASN1_OBJECT *obj;
41 static int sn_cmp(const ASN1_OBJECT *const *a, const unsigned int *b) in sn_cmp()
46 IMPLEMENT_OBJ_BSEARCH_CMP_FN(const ASN1_OBJECT *, unsigned int, sn);
48 static int ln_cmp(const ASN1_OBJECT *const *a, const unsigned int *b) in ln_cmp()
53 IMPLEMENT_OBJ_BSEARCH_CMP_FN(const ASN1_OBJECT *, unsigned int, ln);
57 const ASN1_OBJECT *a; in added_obj_hash()
90 ASN1_OBJECT *a, *b; in added_obj_cmp()
[all …]
Dobj_lib.c16 ASN1_OBJECT *OBJ_dup(const ASN1_OBJECT *o) in OBJ_dup()
18 ASN1_OBJECT *r; in OBJ_dup()
24 return (ASN1_OBJECT *)o; in OBJ_dup()
57 int OBJ_cmp(const ASN1_OBJECT *a, const ASN1_OBJECT *b) in OBJ_cmp()
/third_party/rust/crates/rust-openssl/openssl-sys/src/handwritten/
Dobject.rs8 pub fn OBJ_nid2obj(n: c_int) -> *mut ASN1_OBJECT; in OBJ_nid2obj() argument
9 pub fn OBJ_obj2nid(o: *const ASN1_OBJECT) -> c_int; in OBJ_obj2nid()
13 a: *const ASN1_OBJECT, in OBJ_obj2txt() argument
20 pub fn OBJ_txt2obj(s: *const libc::c_char, no_name: libc::c_int) -> *mut ASN1_OBJECT; in OBJ_txt2obj() argument
27 pub fn OBJ_length(obj: *const ASN1_OBJECT) -> libc::size_t; in OBJ_length()
29 pub fn OBJ_get0_data(obj: *const ASN1_OBJECT) -> *const c_uchar; in OBJ_get0_data()
30 pub fn OBJ_cmp(a: *const ASN1_OBJECT, b: *const ASN1_OBJECT) -> c_int; in OBJ_cmp() argument
/third_party/openssl/ohos_lite/include/openssl/
Dobjects.h58 ASN1_OBJECT *OBJ_dup(const ASN1_OBJECT *o);
59 ASN1_OBJECT *OBJ_nid2obj(int n);
62 int OBJ_obj2nid(const ASN1_OBJECT *o);
63 ASN1_OBJECT *OBJ_txt2obj(const char *s, int no_name);
64 int OBJ_obj2txt(char *buf, int buf_len, const ASN1_OBJECT *a, int no_name);
68 int OBJ_cmp(const ASN1_OBJECT *a, const ASN1_OBJECT *b);
156 int OBJ_add_object(const ASN1_OBJECT *obj);
163 size_t OBJ_length(const ASN1_OBJECT *obj);
164 const unsigned char *OBJ_get0_data(const ASN1_OBJECT *obj);
Dx509.h60 ASN1_OBJECT *algorithm;
273 ASN1_OBJECT *type;
475 int X509_ALGOR_set0(X509_ALGOR *alg, ASN1_OBJECT *aobj, int ptype,
477 void X509_ALGOR_get0(const ASN1_OBJECT **paobj, int *pptype,
584 int X509_add1_trust_object(X509 *x, const ASN1_OBJECT *obj);
585 int X509_add1_reject_object(X509 *x, const ASN1_OBJECT *obj);
589 STACK_OF(ASN1_OBJECT) *X509_get0_trust_objects(X509 *x);
590 STACK_OF(ASN1_OBJECT) *X509_get0_reject_objects(X509 *x);
700 int X509_REQ_get_attr_by_OBJ(const X509_REQ *req, const ASN1_OBJECT *obj,
706 const ASN1_OBJECT *obj, int type,
[all …]
Dcms.h77 const ASN1_OBJECT *CMS_get0_type(const CMS_ContentInfo *cms);
172 ASN1_OBJECT *otherTypeId,
179 ASN1_OBJECT **potherid,
206 int CMS_set1_eContentType(CMS_ContentInfo *cms, const ASN1_OBJECT *oid);
207 const ASN1_OBJECT *CMS_get0_eContentType(CMS_ContentInfo *cms);
250 int CMS_signed_get_attr_by_OBJ(const CMS_SignerInfo *si, const ASN1_OBJECT *obj,
256 const ASN1_OBJECT *obj, int type,
264 void *CMS_signed_get0_data_by_OBJ(CMS_SignerInfo *si, const ASN1_OBJECT *oid,
271 const ASN1_OBJECT *obj, int lastpos);
276 const ASN1_OBJECT *obj, int type,
[all …]
/third_party/openssl/include/openssl/
Dobjects.h66 DECLARE_ASN1_DUP_FUNCTION_name(ASN1_OBJECT, OBJ)
67 ASN1_OBJECT *OBJ_nid2obj(int n);
70 int OBJ_obj2nid(const ASN1_OBJECT *o);
71 ASN1_OBJECT *OBJ_txt2obj(const char *s, int no_name);
72 int OBJ_obj2txt(char *buf, int buf_len, const ASN1_OBJECT *a, int no_name);
76 int OBJ_cmp(const ASN1_OBJECT *a, const ASN1_OBJECT *b);
164 int OBJ_add_object(const ASN1_OBJECT *obj);
171 size_t OBJ_length(const ASN1_OBJECT *obj);
172 const unsigned char *OBJ_get0_data(const ASN1_OBJECT *obj);
/third_party/node/deps/openssl/openssl/include/openssl/
Dobjects.h66 DECLARE_ASN1_DUP_FUNCTION_name(ASN1_OBJECT, OBJ)
67 ASN1_OBJECT *OBJ_nid2obj(int n);
70 int OBJ_obj2nid(const ASN1_OBJECT *o);
71 ASN1_OBJECT *OBJ_txt2obj(const char *s, int no_name);
72 int OBJ_obj2txt(char *buf, int buf_len, const ASN1_OBJECT *a, int no_name);
76 int OBJ_cmp(const ASN1_OBJECT *a, const ASN1_OBJECT *b);
164 int OBJ_add_object(const ASN1_OBJECT *obj);
171 size_t OBJ_length(const ASN1_OBJECT *obj);
172 const unsigned char *OBJ_get0_data(const ASN1_OBJECT *obj);
/third_party/openssl/crypto/asn1/
Da_object.c21 int i2d_ASN1_OBJECT(const ASN1_OBJECT *a, unsigned char **pp) in i2d_ASN1_OBJECT()
181 int i2t_ASN1_OBJECT(char *buf, int buf_len, const ASN1_OBJECT *a) in i2t_ASN1_OBJECT()
186 int i2a_ASN1_OBJECT(BIO *bp, const ASN1_OBJECT *a) in i2a_ASN1_OBJECT()
216 ASN1_OBJECT *d2i_ASN1_OBJECT(ASN1_OBJECT **a, const unsigned char **pp, in d2i_ASN1_OBJECT()
223 ASN1_OBJECT *ret = NULL; in d2i_ASN1_OBJECT()
244 ASN1_OBJECT *ossl_c2i_ASN1_OBJECT(ASN1_OBJECT **a, const unsigned char **pp, in ossl_c2i_ASN1_OBJECT()
247 ASN1_OBJECT *ret = NULL, tobj; in ossl_c2i_ASN1_OBJECT()
343 ASN1_OBJECT *ASN1_OBJECT_new(void) in ASN1_OBJECT_new()
345 ASN1_OBJECT *ret; in ASN1_OBJECT_new()
356 void ASN1_OBJECT_free(ASN1_OBJECT *a) in ASN1_OBJECT_free()
[all …]
/third_party/node/deps/openssl/openssl/crypto/asn1/
Da_object.c21 int i2d_ASN1_OBJECT(const ASN1_OBJECT *a, unsigned char **pp) in i2d_ASN1_OBJECT()
181 int i2t_ASN1_OBJECT(char *buf, int buf_len, const ASN1_OBJECT *a) in i2t_ASN1_OBJECT()
186 int i2a_ASN1_OBJECT(BIO *bp, const ASN1_OBJECT *a) in i2a_ASN1_OBJECT()
216 ASN1_OBJECT *d2i_ASN1_OBJECT(ASN1_OBJECT **a, const unsigned char **pp, in d2i_ASN1_OBJECT()
223 ASN1_OBJECT *ret = NULL; in d2i_ASN1_OBJECT()
244 ASN1_OBJECT *ossl_c2i_ASN1_OBJECT(ASN1_OBJECT **a, const unsigned char **pp, in ossl_c2i_ASN1_OBJECT()
247 ASN1_OBJECT *ret = NULL, tobj; in ossl_c2i_ASN1_OBJECT()
343 ASN1_OBJECT *ASN1_OBJECT_new(void) in ASN1_OBJECT_new()
345 ASN1_OBJECT *ret; in ASN1_OBJECT_new()
356 void ASN1_OBJECT_free(ASN1_OBJECT *a) in ASN1_OBJECT_free()
[all …]
/third_party/openssl/crypto/x509/
Dpcy_local.h26 ASN1_OBJECT *valid_policy;
28 STACK_OF(ASN1_OBJECT) *expected_policy_set;
143 X509_POLICY_DATA *ossl_policy_data_new(POLICYINFO *policy, const ASN1_OBJECT *id,
148 const ASN1_OBJECT *id);
157 const ASN1_OBJECT *id);
160 const ASN1_OBJECT *id);
169 const X509_POLICY_NODE *node, const ASN1_OBJECT *oid);
Dx_x509a.c27 ASN1_SEQUENCE_OF_OPT(X509_CERT_AUX, trust, ASN1_OBJECT),
28 ASN1_IMP_SEQUENCE_OF_OPT(X509_CERT_AUX, reject, ASN1_OBJECT, 0),
103 int X509_add1_trust_object(X509 *x, const ASN1_OBJECT *obj) in X509_add1_trust_object()
106 ASN1_OBJECT *objtmp = NULL; in X509_add1_trust_object()
124 int X509_add1_reject_object(X509 *x, const ASN1_OBJECT *obj) in X509_add1_reject_object()
127 ASN1_OBJECT *objtmp; in X509_add1_reject_object()
162 STACK_OF(ASN1_OBJECT) *X509_get0_trust_objects(X509 *x) in STACK_OF() argument
169 STACK_OF(ASN1_OBJECT) *X509_get0_reject_objects(X509 *x) in STACK_OF() argument
Dx509name.c22 ASN1_OBJECT *obj; in X509_NAME_get_text_by_NID()
30 int X509_NAME_get_text_by_OBJ(const X509_NAME *name, const ASN1_OBJECT *obj, in X509_NAME_get_text_by_OBJ()
62 ASN1_OBJECT *obj; in X509_NAME_get_index_by_NID()
71 int X509_NAME_get_index_by_OBJ(const X509_NAME *name, const ASN1_OBJECT *obj, in X509_NAME_get_index_by_OBJ()
141 int X509_NAME_add_entry_by_OBJ(X509_NAME *name, const ASN1_OBJECT *obj, int type, in X509_NAME_add_entry_by_OBJ()
247 ASN1_OBJECT *obj; in X509_NAME_ENTRY_create_by_txt()
266 ASN1_OBJECT *obj; in X509_NAME_ENTRY_create_by_NID()
280 const ASN1_OBJECT *obj, int type, in X509_NAME_ENTRY_create_by_OBJ()
306 int X509_NAME_ENTRY_set_object(X509_NAME_ENTRY *ne, const ASN1_OBJECT *obj) in X509_NAME_ENTRY_set_object()
342 ASN1_OBJECT *X509_NAME_ENTRY_get_object(const X509_NAME_ENTRY *ne) in X509_NAME_ENTRY_get_object()
Dx509_att.c29 const ASN1_OBJECT *obj = OBJ_nid2obj(nid); in X509at_get_attr_by_NID()
37 const ASN1_OBJECT *obj, int lastpos) in X509at_get_attr_by_OBJ()
109 **x, const ASN1_OBJECT *obj, in STACK_OF()
156 const ASN1_OBJECT *obj, int lastpos, int type) in X509at_get0_data_by_OBJ()
192 ASN1_OBJECT *obj; in X509_ATTRIBUTE_create_by_NID()
207 const ASN1_OBJECT *obj, in X509_ATTRIBUTE_create_by_OBJ()
240 ASN1_OBJECT *obj; in X509_ATTRIBUTE_create_by_txt()
254 int X509_ATTRIBUTE_set1_object(X509_ATTRIBUTE *attr, const ASN1_OBJECT *obj) in X509_ATTRIBUTE_set1_object()
321 ASN1_OBJECT *X509_ATTRIBUTE_get0_object(X509_ATTRIBUTE *attr) in X509_ATTRIBUTE_get0_object()
/third_party/node/deps/openssl/openssl/crypto/x509/
Dpcy_local.h26 ASN1_OBJECT *valid_policy;
28 STACK_OF(ASN1_OBJECT) *expected_policy_set;
143 X509_POLICY_DATA *ossl_policy_data_new(POLICYINFO *policy, const ASN1_OBJECT *id,
148 const ASN1_OBJECT *id);
157 const ASN1_OBJECT *id);
160 const ASN1_OBJECT *id);
169 const X509_POLICY_NODE *node, const ASN1_OBJECT *oid);
Dx_x509a.c27 ASN1_SEQUENCE_OF_OPT(X509_CERT_AUX, trust, ASN1_OBJECT),
28 ASN1_IMP_SEQUENCE_OF_OPT(X509_CERT_AUX, reject, ASN1_OBJECT, 0),
103 int X509_add1_trust_object(X509 *x, const ASN1_OBJECT *obj) in X509_add1_trust_object()
106 ASN1_OBJECT *objtmp = NULL; in X509_add1_trust_object()
124 int X509_add1_reject_object(X509 *x, const ASN1_OBJECT *obj) in X509_add1_reject_object()
127 ASN1_OBJECT *objtmp; in X509_add1_reject_object()
162 STACK_OF(ASN1_OBJECT) *X509_get0_trust_objects(X509 *x) in STACK_OF() argument
169 STACK_OF(ASN1_OBJECT) *X509_get0_reject_objects(X509 *x) in STACK_OF() argument
Dx509name.c22 ASN1_OBJECT *obj; in X509_NAME_get_text_by_NID()
30 int X509_NAME_get_text_by_OBJ(const X509_NAME *name, const ASN1_OBJECT *obj, in X509_NAME_get_text_by_OBJ()
62 ASN1_OBJECT *obj; in X509_NAME_get_index_by_NID()
71 int X509_NAME_get_index_by_OBJ(const X509_NAME *name, const ASN1_OBJECT *obj, in X509_NAME_get_index_by_OBJ()
141 int X509_NAME_add_entry_by_OBJ(X509_NAME *name, const ASN1_OBJECT *obj, int type, in X509_NAME_add_entry_by_OBJ()
247 ASN1_OBJECT *obj; in X509_NAME_ENTRY_create_by_txt()
266 ASN1_OBJECT *obj; in X509_NAME_ENTRY_create_by_NID()
280 const ASN1_OBJECT *obj, int type, in X509_NAME_ENTRY_create_by_OBJ()
306 int X509_NAME_ENTRY_set_object(X509_NAME_ENTRY *ne, const ASN1_OBJECT *obj) in X509_NAME_ENTRY_set_object()
342 ASN1_OBJECT *X509_NAME_ENTRY_get_object(const X509_NAME_ENTRY *ne) in X509_NAME_ENTRY_get_object()
Dx509_att.c29 const ASN1_OBJECT *obj = OBJ_nid2obj(nid); in X509at_get_attr_by_NID()
37 const ASN1_OBJECT *obj, int lastpos) in X509at_get_attr_by_OBJ()
114 **x, const ASN1_OBJECT *obj, in STACK_OF()
161 const ASN1_OBJECT *obj, int lastpos, int type) in X509at_get0_data_by_OBJ()
197 ASN1_OBJECT *obj; in X509_ATTRIBUTE_create_by_NID()
212 const ASN1_OBJECT *obj, in X509_ATTRIBUTE_create_by_OBJ()
245 ASN1_OBJECT *obj; in X509_ATTRIBUTE_create_by_txt()
259 int X509_ATTRIBUTE_set1_object(X509_ATTRIBUTE *attr, const ASN1_OBJECT *obj) in X509_ATTRIBUTE_set1_object()
326 ASN1_OBJECT *X509_ATTRIBUTE_get0_object(X509_ATTRIBUTE *attr) in X509_ATTRIBUTE_get0_object()
/third_party/openssl/doc/man3/
DASN1_OBJECT_new.pod11 ASN1_OBJECT *ASN1_OBJECT_new(void);
12 void ASN1_OBJECT_free(ASN1_OBJECT *a);
16 The B<ASN1_OBJECT> allocation routines, allocate and free an
17 B<ASN1_OBJECT> structure, which represents an ASN1 OBJECT IDENTIFIER.
19 ASN1_OBJECT_new() allocates and initializes an B<ASN1_OBJECT> structure.
21 ASN1_OBJECT_free() frees up the B<ASN1_OBJECT> structure I<a>.
26 Although ASN1_OBJECT_new() allocates a new B<ASN1_OBJECT> structure it
DOBJ_nid2obj.pod15 ASN1_OBJECT *OBJ_nid2obj(int n);
19 int OBJ_obj2nid(const ASN1_OBJECT *o);
25 ASN1_OBJECT *OBJ_txt2obj(const char *s, int no_name);
26 int OBJ_obj2txt(char *buf, int buf_len, const ASN1_OBJECT *a, int no_name);
28 int i2t_ASN1_OBJECT(char *buf, int buf_len, const ASN1_OBJECT *a);
30 int OBJ_cmp(const ASN1_OBJECT *a, const ASN1_OBJECT *b);
31 ASN1_OBJECT *OBJ_dup(const ASN1_OBJECT *o);
35 size_t OBJ_length(const ASN1_OBJECT *obj);
36 const unsigned char *OBJ_get0_data(const ASN1_OBJECT *obj);
48 The ASN1 object utility functions process ASN1_OBJECT structures which are
[all …]
DCMS_get0_type.pod11 const ASN1_OBJECT *CMS_get0_type(const CMS_ContentInfo *cms);
12 int CMS_set1_eContentType(CMS_ContentInfo *cms, const ASN1_OBJECT *oid);
13 const ASN1_OBJECT *CMS_get0_eContentType(CMS_ContentInfo *cms);
19 an ASN1_OBJECT pointer. An application can then decide how to process the
29 ASN1_OBJECT *CMS_get0_eContentType() returns a pointer to the embedded
42 The B<ASN1_OBJECT> values returned can be converted to an integer B<NID> value
65 CMS_get0_type() and CMS_get0_eContentType() return an ASN1_OBJECT structure.
/third_party/openssl/crypto/ts/
Dts_local.h45 ASN1_OBJECT *policy_id;
84 ASN1_OBJECT *policy_id;
107 STACK_OF(ASN1_OBJECT) *policies; /* Acceptable policies. */
108 ASN1_OBJECT *default_policy; /* It may appear in policies, too. */
138 ASN1_OBJECT *policy;
/third_party/node/deps/openssl/openssl/crypto/ts/
Dts_local.h45 ASN1_OBJECT *policy_id;
84 ASN1_OBJECT *policy_id;
107 STACK_OF(ASN1_OBJECT) *policies; /* Acceptable policies. */
108 ASN1_OBJECT *default_policy; /* It may appear in policies, too. */
138 ASN1_OBJECT *policy;

12345678910>>...35