Home
last modified time | relevance | path

Searched refs:oid (Results 1 – 25 of 48) sorted by relevance

12

/openssl/crypto/x509/
H A Dx_attrib.c41 ASN1_OBJECT *oid; variable
43 if ((oid = OBJ_nid2obj(nid)) == NULL)
47 ret->object = oid;
61 static int print_oid(BIO *out, const ASN1_OBJECT *oid) { in print_oid() argument
66 if (OBJ_obj2txt(objbuf, sizeof(objbuf), oid, 1) <= 0) in print_oid()
68 ln = OBJ_nid2ln(OBJ_obj2nid(oid)); in print_oid()
H A Dpcy_tree.c41 ASN1_OBJECT *oid; in expected_print() local
44 oid = sk_ASN1_OBJECT_value(pset, i); in expected_print()
47 i2a_ASN1_OBJECT(channel, oid); in expected_print()
359 ASN1_OBJECT *oid = sk_ASN1_OBJECT_value(expset, i); in tree_link_unmatched() local
360 if (ossl_policy_level_find_node(curr, node, oid)) in tree_link_unmatched()
362 if (!tree_add_unmatched(curr, cache, oid, node, tree)) in tree_link_unmatched()
535 ASN1_OBJECT *oid; in tree_calculate_user_set() local
549 oid = sk_ASN1_OBJECT_value(policy_oids, i); in tree_calculate_user_set()
550 if (OBJ_obj2nid(oid) == NID_any_policy) { in tree_calculate_user_set()
557 oid = sk_ASN1_OBJECT_value(policy_oids, i); in tree_calculate_user_set()
[all …]
H A Dx_ietfatt.c34 ASN1_OBJECT *oid; member
47 ASN1_SIMPLE(OSSL_IETF_ATTR_SYNTAX_VALUE, u.oid, ASN1_OBJECT),
135 return val->u.oid; in OSSL_IETF_ATTR_SYNTAX_get0_value()
171 val->u.oid = data; in OSSL_IETF_ATTR_SYNTAX_add1_value()
H A Dpcy_node.c139 const X509_POLICY_NODE *node, const ASN1_OBJECT *oid) in ossl_policy_node_match() argument
147 if (!OBJ_cmp(x->valid_policy, oid)) in ossl_policy_node_match()
154 if (!OBJ_cmp(policy_oid, oid)) in ossl_policy_node_match()
H A Dv3_genn.c247 ASN1_OBJECT *oid, ASN1_TYPE *value) in GENERAL_NAME_set0_othername() argument
254 oth->type_id = oid; in GENERAL_NAME_set0_othername()
H A Dx509_vpm.c348 ASN1_OBJECT *oid, *doid; in X509_VERIFY_PARAM_set1_policies() local
366 oid = sk_ASN1_OBJECT_value(policies, i); in X509_VERIFY_PARAM_set1_policies()
367 doid = OBJ_dup(oid); in X509_VERIFY_PARAM_set1_policies()
H A Dpcy_local.h169 const X509_POLICY_NODE *node, const ASN1_OBJECT *oid);
/openssl/util/perl/OpenSSL/
H A DOID.pm158 my $oid = $1;
159 @components = ( $oid =~ m/${objcomponent_re}\s*/g );
161 my $oid = $1;
162 @components = ( $oid =~ m/${xmlobjcomponent_re}\.?/g );
/openssl/providers/implementations/encode_decode/
H A Ddecode_spki2typespki.c87 const ASN1_OBJECT *oid = NULL; in spki2typespki_decode() local
106 X509_ALGOR_get0(&oid, NULL, NULL, algor); in spki2typespki_decode()
110 if (OBJ_obj2nid(oid) == NID_X9_62_id_ecPublicKey in spki2typespki_decode()
115 if (OBJ_obj2txt(dataname, sizeof(dataname), oid, 0) <= 0) in spki2typespki_decode()
/openssl/crypto/cms/
H A Dcms_att.c131 const ASN1_OBJECT *oid, in CMS_signed_get0_data_by_OBJ() argument
134 return X509at_get0_data_by_OBJ(si->signedAttrs, oid, lastpos, type); in CMS_signed_get0_data_by_OBJ()
199 void *CMS_unsigned_get0_data_by_OBJ(CMS_SignerInfo *si, ASN1_OBJECT *oid, in CMS_unsigned_get0_data_by_OBJ() argument
202 return X509at_get0_data_by_OBJ(si->unsignedAttrs, oid, lastpos, type); in CMS_unsigned_get0_data_by_OBJ()
/openssl/crypto/evp/
H A Ddh_ctrl.c200 int EVP_PKEY_CTX_set0_dh_kdf_oid(EVP_PKEY_CTX *ctx, ASN1_OBJECT *oid) in EVP_PKEY_CTX_set0_dh_kdf_oid() argument
203 EVP_PKEY_CTRL_DH_KDF_OID, 0, (void *)(oid)); in EVP_PKEY_CTX_set0_dh_kdf_oid()
210 int EVP_PKEY_CTX_get0_dh_kdf_oid(EVP_PKEY_CTX *ctx, ASN1_OBJECT **oid) in EVP_PKEY_CTX_get0_dh_kdf_oid() argument
213 EVP_PKEY_CTRL_GET_DH_KDF_OID, 0, (void *)(oid)); in EVP_PKEY_CTX_get0_dh_kdf_oid()
/openssl/test/
H A Dcmp_hdr_test.c339 const char oid[] = "1.2.3.4"; in execute_HDR_generalInfo_push1_items_test() local
358 if (!TEST_ptr(itav = OSSL_CMP_ITAV_create(OBJ_txt2obj(oid, 1), val))) { in execute_HDR_generalInfo_push1_items_test()
373 if (!TEST_int_eq(memcmp(oid, buf, sizeof(oid)), 0)) in execute_HDR_generalInfo_push1_items_test()
H A Dalgorithmid_test.c25 const ASN1_OBJECT *oid; in test_spki_aid() local
50 X509_ALGOR_get0(&oid, NULL, NULL, alg); in test_spki_aid()
51 if (!TEST_int_gt(OBJ_obj2txt(name, sizeof(name), oid, 0), 0)) in test_spki_aid()
H A Dasn1_internal_test.c199 static int test_obj_create_once(const char *oid, const char *sn, const char *ln) in test_obj_create_once() argument
205 nid = OBJ_create(oid, sn, ln); in test_obj_create_once()
/openssl/test/helpers/
H A Dpkcs12.c352 while (p_attr->oid != NULL) { in add_attributes()
353 TEST_info("Adding attribute %s = %s", p_attr->oid, p_attr->value); in add_attributes()
354 attr_nid = OBJ_txt2nid(p_attr->oid); in add_attributes()
371 if (!TEST_true(PKCS12_add1_attr_by_txt(bag, p_attr->oid, MBSTRING_ASC, in add_attributes()
528 while (p_attr->oid != NULL) { in check_attrs()
530 if (strcmp(p_attr->oid, attr_txt) == 0) { in check_attrs()
H A Dpkcs12.h30 char *oid; member
/openssl/test/recipes/90-test_sysdefault_data/
H A Dsysdefault-ignore.cnf14 new-sig-oid = 1.1.1.1.1.1.1.1.1.1.1.1.1.1
H A Dsysdefault.cnf14 new-sig-oid = 1.1.1.1.1.1.1.1.1.1.1.1.1.1
H A Dsysdefault-bad.cnf14 new-sig-oid = 1.1.1.1.1.1.1.1.1.1.1.1.1.1
/openssl/crypto/ocsp/
H A Dv3_ocsp.c153 static int i2r_object(const X509V3_EXT_METHOD *method, void *oid, BIO *bp, in i2r_object() argument
158 if (i2a_ASN1_OBJECT(bp, oid) <= 0) in i2r_object()
/openssl/crypto/objects/
H A Dobj_dat.c779 int OBJ_create(const char *oid, const char *sn, const char *ln) in OBJ_create() argument
785 if (oid == NULL && sn == NULL && ln == NULL) { in OBJ_create()
797 if (oid != NULL) { in OBJ_create()
799 tmpoid = OBJ_txt2obj(oid, 1); in OBJ_create()
818 if (oid != NULL in OBJ_create()
/openssl/crypto/asn1/
H A Dtasn_prn.c404 static int asn1_print_oid(BIO *out, const ASN1_OBJECT *oid) in asn1_print_oid() argument
408 ln = OBJ_nid2ln(OBJ_obj2nid(oid)); in asn1_print_oid()
411 OBJ_obj2txt(objbuf, sizeof(objbuf), oid, 1); in asn1_print_oid()
/openssl/doc/man1/
H A Dopenssl-asn1parse.pod.in19 [B<-oid> I<filename>]
72 =item B<-oid> I<filename>
157 numerical form (for example 1.2.3.4). The file passed to the B<-oid> option
/openssl/include/openssl/
H A Ddh.h53 int EVP_PKEY_CTX_set0_dh_kdf_oid(EVP_PKEY_CTX *ctx, ASN1_OBJECT *oid);
54 int EVP_PKEY_CTX_get0_dh_kdf_oid(EVP_PKEY_CTX *ctx, ASN1_OBJECT **oid);
/openssl/doc/man3/
H A DOBJ_nid2obj.pod33 int OBJ_create(const char *oid, const char *sn, const char *ln);
89 OBJ_create() adds a new object to the internal table. I<oid> is the
92 success and NID_undef in case of failure. Any of I<oid>, I<sn> and

Completed in 58 milliseconds

12