Searched refs:attr_nid (Results 1 – 8 of 8) sorted by relevance
/openssl/crypto/x509/ |
H A D | v3_sda.c | 27 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 D | p12_sbag.c | 17 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 D | p12_attr.c | 96 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 D | PKCS12_SAFEBAG_get0_attrs.pod | 15 int attr_nid); 23 B<X509_ATTRIBUTE>s. I<attr_nid> is the NID of the attribute to retrieve.
|
H A D | PKCS12_SAFEBAG_get1_cert.pod | 18 int attr_nid); 36 PKCS12_SAFEBAG_get0_attr() gets the attribute value corresponding to the B<attr_nid>.
|
/openssl/test/helpers/ |
H A D | pkcs12.c | 344 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 D | pkcs12.h.in | 95 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 D | pkcs12.c | 1289 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 18 milliseconds