Searched refs:attr_nid (Results 1 – 10 of 10) sorted by relevance
| /freebsd/crypto/openssl/crypto/x509/ |
| H A D | v3_sda.c | 26 int i, j, attr_nid; in ASN1_ITEM_TEMPLATE() local 43 attr_nid = OBJ_obj2nid(attr_obj); in ASN1_ITEM_TEMPLATE() 46 if (attr_nid == NID_undef) { in ASN1_ITEM_TEMPLATE() 51 } else if (BIO_printf(out, "%s:\n", OBJ_nid2ln(attr_nid)) <= 0) { in ASN1_ITEM_TEMPLATE() 58 if (ossl_print_attribute_value(out, attr_nid, av, indent + 4) <= 0) in ASN1_ITEM_TEMPLATE()
|
| H A D | v3_aaa.c | 43 int attr_nid, j; variable 57 attr_nid = OBJ_obj2nid(attr_obj); 66 if (ossl_print_attribute_value(out, attr_nid, av, indent + 4) <= 0)
|
| /freebsd/crypto/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 | 101 int attr_nid) in PKCS12_get_attr_gen() argument 103 int i = X509at_get_attr_by_NID(attrs, attr_nid, -1); in PKCS12_get_attr_gen()
|
| /freebsd/crypto/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>.
|
| /freebsd/crypto/openssl/test/helpers/ |
| H A D | pkcs12.c | 331 int attr_nid; in add_attributes() local 341 attr_nid = OBJ_txt2nid(p_attr->oid); in add_attributes() 343 if (attr_nid == NID_friendlyName) { in add_attributes() 346 } else if (attr_nid == NID_localKeyID) { in add_attributes() 350 } else if (attr_nid == NID_oracle_jdk_trustedkeyusage) { in add_attributes() 352 … x509_attr = X509_ATTRIBUTE_create(attr_nid, V_ASN1_OBJECT, OBJ_txt2obj(p_attr->value, 0)); in add_attributes()
|
| /freebsd/crypto/openssl/include/openssl/ |
| H A D | pkcs12.h | 122 int attr_nid); 125 ASN1_TYPE *PKCS8_get_attr(PKCS8_PRIV_KEY_INFO *p8, int attr_nid); 134 int attr_nid); 227 int attr_nid);
|
| H A D | pkcs12.h.in | 99 int attr_nid); 102 ASN1_TYPE *PKCS8_get_attr(PKCS8_PRIV_KEY_INFO *p8, int attr_nid); 111 int attr_nid); 204 int attr_nid);
|
| /freebsd/crypto/openssl/apps/ |
| H A D | pkcs12.c | 1337 int i, j, attr_nid; in print_attribs() local 1351 attr_nid = OBJ_obj2nid(attr_obj); in print_attribs() 1353 if (attr_nid == NID_undef) { in print_attribs() 1357 BIO_printf(out, "%s: ", OBJ_nid2ln(attr_nid)); in print_attribs()
|