Lines Matching defs:lastpos
74 int CMS_signed_get_attr_by_NID(const CMS_SignerInfo *si, int nid, int lastpos)
76 return X509at_get_attr_by_NID(si->signedAttrs, nid, lastpos);
80 int lastpos)
82 return X509at_get_attr_by_OBJ(si->signedAttrs, obj, lastpos);
130 int lastpos, int type)
132 return X509at_get0_data_by_OBJ(si->signedAttrs, oid, lastpos, type);
141 int lastpos)
143 return X509at_get_attr_by_NID(si->unsignedAttrs, nid, lastpos);
147 const ASN1_OBJECT *obj, int lastpos)
149 return X509at_get_attr_by_OBJ(si->unsignedAttrs, obj, lastpos);
198 int lastpos, int type)
200 return X509at_get0_data_by_OBJ(si->unsignedAttrs, oid, lastpos, type);
205 * *lastpos + 1.
207 * If an attribute was found *lastpos returns the index of the found attribute.
211 int *lastpos)
216 loc = X509at_get_attr_by_NID(attrs, nid, *lastpos);
221 *lastpos = loc;
229 int lastpos = -1;
230 X509_ATTRIBUTE *at = cms_attrib_get(nid, attrs, &lastpos);
239 && cms_attrib_get(nid, attrs, &lastpos) != NULL)