Lines Matching refs:p7si
1234 int PKCS7_set_signed_attributes(PKCS7_SIGNER_INFO *p7si, in PKCS7_set_signed_attributes() argument
1237 sk_X509_ATTRIBUTE_pop_free(p7si->auth_attr, X509_ATTRIBUTE_free); in PKCS7_set_signed_attributes()
1238 p7si->auth_attr = sk_X509_ATTRIBUTE_deep_copy(sk, X509_ATTRIBUTE_dup, X509_ATTRIBUTE_free); in PKCS7_set_signed_attributes()
1239 if (p7si->auth_attr == NULL) in PKCS7_set_signed_attributes()
1244 int PKCS7_set_attributes(PKCS7_SIGNER_INFO *p7si, in PKCS7_set_attributes() argument
1247 sk_X509_ATTRIBUTE_pop_free(p7si->unauth_attr, X509_ATTRIBUTE_free); in PKCS7_set_attributes()
1248 p7si->unauth_attr = sk_X509_ATTRIBUTE_deep_copy(sk, X509_ATTRIBUTE_dup, X509_ATTRIBUTE_free); in PKCS7_set_attributes()
1249 if (p7si->unauth_attr == NULL) in PKCS7_set_attributes()
1254 int PKCS7_add_signed_attribute(PKCS7_SIGNER_INFO *p7si, int nid, int atrtype, in PKCS7_add_signed_attribute() argument
1257 return add_attribute(&(p7si->auth_attr), nid, atrtype, value); in PKCS7_add_signed_attribute()
1260 int PKCS7_add_attribute(PKCS7_SIGNER_INFO *p7si, int nid, int atrtype, in PKCS7_add_attribute() argument
1263 return add_attribute(&(p7si->unauth_attr), nid, atrtype, value); in PKCS7_add_attribute()