Append an unsigned attribute identified by ASN.1 object to a CMS SignerInfo.
Synopsis
Declared in <openssl/cms.h>
int
CMS_unsigned_add1_attr_by_OBJ(
CMS_SignerInfo* si,
ASN1_OBJECT const* obj,
int type,
void const* bytes,
int len);
Return Value
1 on success, or 0 on failure.
Parameters
Name |
Description |
si |
SignerInfo whose unsignedAttrs set is extended. |
obj |
Attribute type OID. |
type |
ASN.1 string type of |
bytes |
Attribute value bytes to copy into the new X509_ATTRIBUTE. |
len |
Length of |
Created with MrDocs