Lines Matching refs:nid

40     int nid;   /* The attribute id */  member
75 int CMS_signed_get_attr_by_NID(const CMS_SignerInfo *si, int nid, int lastpos) in CMS_signed_get_attr_by_NID() argument
77 return X509at_get_attr_by_NID(si->signedAttrs, nid, lastpos); in CMS_signed_get_attr_by_NID()
113 int nid, int type, const void *bytes, int len) in CMS_signed_add1_attr_by_NID() argument
115 if (ossl_x509at_add1_attr_by_NID(&si->signedAttrs, nid, type, bytes, len)) in CMS_signed_add1_attr_by_NID()
142 int CMS_unsigned_get_attr_by_NID(const CMS_SignerInfo *si, int nid, in CMS_unsigned_get_attr_by_NID() argument
145 return X509at_get_attr_by_NID(si->unsignedAttrs, nid, lastpos); in CMS_unsigned_get_attr_by_NID()
181 int nid, int type, in CMS_unsigned_add1_attr_by_NID() argument
184 if (ossl_x509at_add1_attr_by_NID(&si->unsignedAttrs, nid, type, bytes, len)) in CMS_unsigned_add1_attr_by_NID()
211 static X509_ATTRIBUTE *cms_attrib_get(int nid, in cms_attrib_get() argument
218 loc = X509at_get_attr_by_NID(attrs, nid, *lastpos); in cms_attrib_get()
227 static int cms_check_attribute(int nid, int flags, int type, in cms_check_attribute() argument
232 X509_ATTRIBUTE *at = cms_attrib_get(nid, attrs, &lastpos); in cms_check_attribute()
241 && cms_attrib_get(nid, attrs, &lastpos) != NULL) in cms_check_attribute()
275 int nid = cms_attribute_properties[i].nid; in ossl_cms_si_check_attributes() local
278 if (!cms_check_attribute(nid, flags, CMS_ATTR_F_SIGNED, in ossl_cms_si_check_attributes()
280 || !cms_check_attribute(nid, flags, CMS_ATTR_F_UNSIGNED, in ossl_cms_si_check_attributes()