Home
last modified time | relevance | path

Searched refs:attr_nid (Results 1 – 8 of 8) sorted by relevance

/openssl/crypto/x509/
H A Dv3_sda.c27 int i, j, attr_nid; in ASN1_ITEM_TEMPLATE() local
44 attr_nid = OBJ_obj2nid(attr_obj); in ASN1_ITEM_TEMPLATE()
47 if (attr_nid == NID_undef) { in ASN1_ITEM_TEMPLATE()
52 } else if (BIO_printf(out, "%s:\n", OBJ_nid2ln(attr_nid)) <= 0) { in ASN1_ITEM_TEMPLATE()
60 if (ossl_print_attribute_value(out, attr_nid, av, indent + 4) <= 0) in ASN1_ITEM_TEMPLATE()
/openssl/crypto/pkcs12/
H A Dp12_sbag.c17 ASN1_TYPE *PKCS12_get_attr(const PKCS12_SAFEBAG *bag, int attr_nid) in PKCS12_get_attr() argument
19 return PKCS12_get_attr_gen(bag->attrib, attr_nid); in PKCS12_get_attr()
24 int attr_nid) in PKCS12_SAFEBAG_get0_attr() argument
26 return PKCS12_get_attr_gen(bag->attrib, attr_nid); in PKCS12_SAFEBAG_get0_attr()
29 ASN1_TYPE *PKCS8_get_attr(PKCS8_PRIV_KEY_INFO *p8, int attr_nid) in PKCS8_get_attr() argument
31 return PKCS12_get_attr_gen(PKCS8_pkey_get0_attrs(p8), attr_nid); in PKCS8_get_attr()
H A Dp12_attr.c96 int attr_nid) in PKCS12_get_attr_gen() argument
98 int i = X509at_get_attr_by_NID(attrs, attr_nid, -1); in PKCS12_get_attr_gen()
/openssl/doc/man3/
H A DPKCS12_SAFEBAG_get0_attrs.pod15 int attr_nid);
23 B<X509_ATTRIBUTE>s. I<attr_nid> is the NID of the attribute to retrieve.
H A DPKCS12_SAFEBAG_get1_cert.pod18 int attr_nid);
36 PKCS12_SAFEBAG_get0_attr() gets the attribute value corresponding to the B<attr_nid>.
/openssl/test/helpers/
H A Dpkcs12.c344 int attr_nid; in add_attributes() local
354 attr_nid = OBJ_txt2nid(p_attr->oid); in add_attributes()
356 if (attr_nid == NID_friendlyName) { in add_attributes()
359 } else if (attr_nid == NID_localKeyID) { in add_attributes()
363 } else if (attr_nid == NID_oracle_jdk_trustedkeyusage) { in add_attributes()
365 … x509_attr = X509_ATTRIBUTE_create(attr_nid, V_ASN1_OBJECT, OBJ_txt2obj(p_attr->value, 0)); in add_attributes()
/openssl/include/openssl/
H A Dpkcs12.h.in95 int attr_nid);
98 ASN1_TYPE *PKCS8_get_attr(PKCS8_PRIV_KEY_INFO *p8, int attr_nid);
107 int attr_nid);
200 int attr_nid);
/openssl/apps/
H A Dpkcs12.c1289 int i, j, attr_nid; in print_attribs() local
1303 attr_nid = OBJ_obj2nid(attr_obj); in print_attribs()
1305 if (attr_nid == NID_undef) { in print_attribs()
1309 BIO_printf(out, "%s: ", OBJ_nid2ln(attr_nid)); in print_attribs()

Completed in 14 milliseconds