Add an unauthenticated attribute to a PKCS#7 signer info.
Synopsis
Declared in <openssl/pkcs7.h>
int
PKCS7_add_attribute(
PKCS7_SIGNER_INFO* p7si,
int nid,
int atrtype,
void* value);
Return Value
1 on success, or 0 on error.
Parameters
Name |
Description |
p7si |
Signer info receiving the attribute. |
nid |
Attribute type NID (for example NID_pkcs9_unstructuredName). |
atrtype |
ASN.1 value type tag (V_ASN1_*) for |
value |
Attribute value pointer interpreted according to |
Created with MrDocs