Home
last modified time | relevance | path

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

/freebsd/crypto/openssl/crypto/pkcs12/
H A Dp12_sbag.c16 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 Dp12_attr.c96 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 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.pod17 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 Dpkcs12.h114 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 Dpkcs12.h.in91 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 Dpkcs12.c344 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 Dpkcs12.c1180 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