Lines Matching refs:p7si
1234 int PKCS7_set_signed_attributes(PKCS7_SIGNER_INFO *p7si, in PKCS7_set_signed_attributes() argument
1239 sk_X509_ATTRIBUTE_pop_free(p7si->auth_attr, X509_ATTRIBUTE_free); in PKCS7_set_signed_attributes()
1240 p7si->auth_attr = sk_X509_ATTRIBUTE_dup(sk); in PKCS7_set_signed_attributes()
1241 if (p7si->auth_attr == NULL) in PKCS7_set_signed_attributes()
1244 if ((sk_X509_ATTRIBUTE_set(p7si->auth_attr, i, in PKCS7_set_signed_attributes()
1253 int PKCS7_set_attributes(PKCS7_SIGNER_INFO *p7si, in PKCS7_set_attributes() argument
1258 sk_X509_ATTRIBUTE_pop_free(p7si->unauth_attr, X509_ATTRIBUTE_free); in PKCS7_set_attributes()
1259 p7si->unauth_attr = sk_X509_ATTRIBUTE_dup(sk); in PKCS7_set_attributes()
1260 if (p7si->unauth_attr == NULL) in PKCS7_set_attributes()
1263 if ((sk_X509_ATTRIBUTE_set(p7si->unauth_attr, i, in PKCS7_set_attributes()
1272 int PKCS7_add_signed_attribute(PKCS7_SIGNER_INFO *p7si, int nid, int atrtype, in PKCS7_add_signed_attribute() argument
1275 return add_attribute(&(p7si->auth_attr), nid, atrtype, value); in PKCS7_add_signed_attribute()
1278 int PKCS7_add_attribute(PKCS7_SIGNER_INFO *p7si, int nid, int atrtype, in PKCS7_add_attribute() argument
1281 return add_attribute(&(p7si->unauth_attr), nid, atrtype, value); in PKCS7_add_attribute()