Home
last modified time | relevance | path

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

12345678

/openssl/crypto/objects/
H A Dobj_dat.c37 ASN1_OBJECT *obj;
123 const ASN1_OBJECT *a; in added_obj_hash()
156 ASN1_OBJECT *a, *b; in added_obj_cmp()
265 ASN1_OBJECT *o = NULL; in ossl_obj_add_object()
330 ASN1_OBJECT *OBJ_nid2obj(int n) in OBJ_nid2obj()
333 ASN1_OBJECT ob; in OBJ_nid2obj()
373 const ASN1_OBJECT *a = *ap; in obj_cmp()
426 ASN1_OBJECT *op = NULL; in OBJ_txt2obj()
638 ASN1_OBJECT o; in OBJ_ln2nid()
639 const ASN1_OBJECT *oo = &o; in OBJ_ln2nid()
[all …]
H A 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()
56 int OBJ_cmp(const ASN1_OBJECT *a, const ASN1_OBJECT *b) in OBJ_cmp()
/openssl/include/openssl/
H A 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);
H A Dts.h144 int TS_REQ_set_policy_id(TS_REQ *a, const ASN1_OBJECT *policy);
145 ASN1_OBJECT *TS_REQ_get_policy_id(TS_REQ *a);
157 int TS_REQ_get_ext_by_OBJ(TS_REQ *a, const ASN1_OBJECT *obj, int lastpos);
181 int TS_TST_INFO_set_policy_id(TS_TST_INFO *a, ASN1_OBJECT *policy_id);
182 ASN1_OBJECT *TS_TST_INFO_get_policy_id(TS_TST_INFO *a);
218 int TS_TST_INFO_get_ext_by_OBJ(TS_TST_INFO *a, const ASN1_OBJECT *obj,
285 int TS_RESP_CTX_set_def_policy(TS_RESP_CTX *ctx, const ASN1_OBJECT *def_policy);
294 int TS_RESP_CTX_add_policy(TS_RESP_CTX *ctx, const ASN1_OBJECT *policy);
474 int TS_OBJ_print_bio(BIO *bio, const ASN1_OBJECT *obj);
/openssl/crypto/x509/
H A 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);
H A 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
H A 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()
H A Dx509_v3.c33 ASN1_OBJECT *obj; in X509v3_get_ext_by_NID()
42 const ASN1_OBJECT *obj, int lastpos) in X509v3_get_ext_by_OBJ()
158 ASN1_OBJECT *obj = X509_EXTENSION_get_object(ext); in STACK_OF()
179 ASN1_OBJECT *obj; in X509_EXTENSION_create_by_NID()
194 const ASN1_OBJECT *obj, int crit, in X509_EXTENSION_create_by_OBJ()
223 int X509_EXTENSION_set_object(X509_EXTENSION *ex, const ASN1_OBJECT *obj) in X509_EXTENSION_set_object()
252 ASN1_OBJECT *X509_EXTENSION_get_object(X509_EXTENSION *ex) in X509_EXTENSION_get_object()
H A Dpcy_node.c29 const ASN1_OBJECT *id) in ossl_policy_tree_find_sk()
35 n.valid_policy = (ASN1_OBJECT *)id; in ossl_policy_tree_find_sk()
45 const ASN1_OBJECT *id) in ossl_policy_level_find_node()
139 const X509_POLICY_NODE *node, const ASN1_OBJECT *oid) in ossl_policy_node_match()
142 ASN1_OBJECT *policy_oid; in ossl_policy_node_match()
H A 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()
135 const ASN1_OBJECT *obj, in STACK_OF()
152 **x, const ASN1_OBJECT *obj, in STACK_OF()
239 const ASN1_OBJECT *obj, int lastpos, int type) in X509at_get0_data_by_OBJ()
272 ASN1_OBJECT *obj = OBJ_nid2obj(nid); in X509_ATTRIBUTE_create_by_NID()
286 const ASN1_OBJECT *obj, in X509_ATTRIBUTE_create_by_OBJ()
320 ASN1_OBJECT *obj = OBJ_txt2obj(atrname, 0); in X509_ATTRIBUTE_create_by_txt()
333 int X509_ATTRIBUTE_set1_object(X509_ATTRIBUTE *attr, const ASN1_OBJECT *obj) in X509_ATTRIBUTE_set1_object()
411 ASN1_OBJECT *X509_ATTRIBUTE_get0_object(X509_ATTRIBUTE *attr) in X509_ATTRIBUTE_get0_object()
H A Dv3_admis.c24 ASN1_OPT(NAMING_AUTHORITY, namingAuthorityId, ASN1_OBJECT),
32 ASN1_SEQUENCE_OF_OPT(PROFESSION_INFO, professionOIDs, ASN1_OBJECT),
186 ASN1_OBJECT *obj = sk_ASN1_OBJECT_value(pinfo->professionOIDs, k); in i2r_ADMISSION_SYNTAX()
205 const ASN1_OBJECT *NAMING_AUTHORITY_get0_authorityId(const NAMING_AUTHORITY *n) in NAMING_AUTHORITY_get0_authorityId()
210 void NAMING_AUTHORITY_set0_authorityId(NAMING_AUTHORITY *n, ASN1_OBJECT *id) in NAMING_AUTHORITY_set0_authorityId()
331 const STACK_OF(ASN1_OBJECT) *PROFESSION_INFO_get0_professionOIDs(const PROFESSION_INFO *pi) in STACK_OF() argument
337 STACK_OF(ASN1_OBJECT) *po) in PROFESSION_INFO_set0_professionOIDs()
H A Dv3_extku.c72 ASN1_EX_TEMPLATE_TYPE(ASN1_TFLG_SEQUENCE_OF, 0, EXTENDED_KEY_USAGE, ASN1_OBJECT) in ASN1_ITEM_TEMPLATE()
83 ASN1_OBJECT *obj; in ASN1_ITEM_TEMPLATE()
99 ASN1_OBJECT *objtmp; in v2i_EXTENDED_KEY_USAGE()
H A Dv3_admis.h14 ASN1_OBJECT* namingAuthorityId;
22 STACK_OF(ASN1_OBJECT)* professionOIDs;
H A Dv3_pmaps.c35 ASN1_SIMPLE(POLICY_MAPPING, issuerDomainPolicy, ASN1_OBJECT),
36 ASN1_SIMPLE(POLICY_MAPPING, subjectDomainPolicy, ASN1_OBJECT)
69 ASN1_OBJECT *obj1 = NULL, *obj2 = NULL; in v2i_POLICY_MAPPINGS()
/openssl/crypto/asn1/
H A Da_object.c21 int i2d_ASN1_OBJECT(const ASN1_OBJECT *a, unsigned char **pp) in i2d_ASN1_OBJECT()
177 int i2t_ASN1_OBJECT(char *buf, int buf_len, const ASN1_OBJECT *a) in i2t_ASN1_OBJECT()
182 int i2a_ASN1_OBJECT(BIO *bp, const ASN1_OBJECT *a) in i2a_ASN1_OBJECT()
211 ASN1_OBJECT *d2i_ASN1_OBJECT(ASN1_OBJECT **a, const unsigned char **pp, in d2i_ASN1_OBJECT()
218 ASN1_OBJECT *ret = NULL; in d2i_ASN1_OBJECT()
239 ASN1_OBJECT *ossl_c2i_ASN1_OBJECT(ASN1_OBJECT **a, const unsigned char **pp, in ossl_c2i_ASN1_OBJECT()
242 ASN1_OBJECT *ret = NULL, tobj; in ossl_c2i_ASN1_OBJECT()
336 ASN1_OBJECT *ASN1_OBJECT_new(void) in ASN1_OBJECT_new()
338 ASN1_OBJECT *ret; in ASN1_OBJECT_new()
347 void ASN1_OBJECT_free(ASN1_OBJECT *a) in ASN1_OBJECT_free()
[all …]
H A Dp8_pkey.c38 int PKCS8_pkey_set0(PKCS8_PRIV_KEY_INFO *priv, ASN1_OBJECT *aobj,
53 int PKCS8_pkey_get0(const ASN1_OBJECT **ppkalg, in PKCS8_pkey_get0()
82 int PKCS8_pkey_add1_attr_by_OBJ(PKCS8_PRIV_KEY_INFO *p8, const ASN1_OBJECT *obj, int type, in PKCS8_pkey_add1_attr_by_OBJ()
/openssl/doc/man3/
H A 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
H A 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);
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);
150 OBJ_nid2obj() returns an B<ASN1_OBJECT> structure or B<NULL> is an
170 ASN1_OBJECT *o = OBJ_nid2obj(NID_commonName);
[all …]
H A 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.
H A DX509_NAME_ENTRY_get_object.pod14 ASN1_OBJECT *X509_NAME_ENTRY_get_object(const X509_NAME_ENTRY *ne);
17 int X509_NAME_ENTRY_set_object(X509_NAME_ENTRY *ne, const ASN1_OBJECT *obj);
28 const ASN1_OBJECT *obj, int type,
34 and B<ASN1_OBJECT> structure.
69 X509_NAME_ENTRY_get_object() returns a valid B<ASN1_OBJECT> structure if it is
/openssl/crypto/ts/
H A 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;
H A Dts_req_utils.c79 int TS_REQ_set_policy_id(TS_REQ *a, const ASN1_OBJECT *policy) in TS_REQ_set_policy_id()
81 ASN1_OBJECT *new_policy; in TS_REQ_set_policy_id()
95 ASN1_OBJECT *TS_REQ_get_policy_id(TS_REQ *a) in TS_REQ_get_policy_id()
155 int TS_REQ_get_ext_by_OBJ(TS_REQ *a, const ASN1_OBJECT *obj, int lastpos) in TS_REQ_get_ext_by_OBJ()
/openssl/crypto/cms/
H A Dcms_att.c80 int CMS_signed_get_attr_by_OBJ(const CMS_SignerInfo *si, const ASN1_OBJECT *obj, in CMS_signed_get_attr_by_OBJ()
104 const ASN1_OBJECT *obj, int type, in CMS_signed_add1_attr_by_OBJ()
131 const ASN1_OBJECT *oid, in CMS_signed_get0_data_by_OBJ()
149 const ASN1_OBJECT *obj, int lastpos) in CMS_unsigned_get_attr_by_OBJ()
172 const ASN1_OBJECT *obj, int type, in CMS_unsigned_add1_attr_by_OBJ()
199 void *CMS_unsigned_get0_data_by_OBJ(CMS_SignerInfo *si, ASN1_OBJECT *oid, in CMS_unsigned_get0_data_by_OBJ()
H A Dcms_local.h53 ASN1_OBJECT *contentType;
82 ASN1_OBJECT *eContentType;
127 ASN1_OBJECT *contentType;
245 ASN1_OBJECT *oriType;
303 ASN1_OBJECT *otherRevInfoFormat;
325 ASN1_OBJECT *otherCertFormat;
340 ASN1_OBJECT *keyAttrId;
362 ASN1_OBJECT *contentType;
/openssl/crypto/pkcs12/
H A Dp12_local.h23 ASN1_OBJECT *type;
35 ASN1_OBJECT *type;

Completed in 51 milliseconds

12345678