Searched refs:attr_nid (Results 1 – 8 of 8) sorted by relevance
/freebsd/crypto/openssl/crypto/pkcs12/ |
H A D | p12_sbag.c | 16 ASN1_TYPE *PKCS12_get_attr(const PKCS12_SAFEBAG *bag, int attr_nid) in PKCS12_get_attr() argument 18 return PKCS12_get_attr_gen(bag->attrib, attr_nid); in PKCS12_get_attr() 23 int attr_nid) in PKCS12_SAFEBAG_get0_attr() argument 25 return PKCS12_get_attr_gen(bag->attrib, attr_nid); in PKCS12_SAFEBAG_get0_attr() 28 ASN1_TYPE *PKCS8_get_attr(PKCS8_PRIV_KEY_INFO *p8, int attr_nid) in PKCS8_get_attr() argument 30 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 100 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 | 17 int attr_nid); 31 PKCS12_SAFEBAG_get0_attr() gets the attribute value corresponding to the B<attr_nid>.
|
/freebsd/crypto/openssl/include/openssl/ |
H A D | pkcs12.h | 114 int attr_nid); 117 ASN1_TYPE *PKCS8_get_attr(PKCS8_PRIV_KEY_INFO *p8, int attr_nid); 126 int attr_nid); 217 int attr_nid);
|
H A D | pkcs12.h.in | 91 int attr_nid); 94 ASN1_TYPE *PKCS8_get_attr(PKCS8_PRIV_KEY_INFO *p8, int attr_nid); 103 int attr_nid); 194 int attr_nid);
|
/freebsd/crypto/openssl/test/helpers/ |
H A D | pkcs12.c | 344 int attr_nid; in add_attributes() local 352 attr_nid = OBJ_txt2nid(p_attr->oid); in add_attributes() 354 if (attr_nid == NID_friendlyName) { in add_attributes() 357 } else if (attr_nid == NID_localKeyID) { in add_attributes()
|
/freebsd/crypto/openssl/apps/ |
H A D | pkcs12.c | 1180 int i, j, attr_nid; in print_attribs() 1194 attr_nid = OBJ_obj2nid(attr_obj); in print_attribs() 1196 if (attr_nid == NID_undef) { in print_attribs() 1200 BIO_printf(out, "%s: ", OBJ_nid2ln(attr_nid)); in print_attribs() 1174 int i, j, attr_nid; print_attribs() local
|