PKCS7_set_signed_attributes

Replace the authenticatedAttributes of a signer info with a copy of sk.

Synopsis

Declared in <openssl/pkcs7.h>

int
PKCS7_set_signed_attributes(
    PKCS7_SIGNER_INFO* p7si,
    stack_st_X509_ATTRIBUTE* sk);

Return Value

1 on success, or 0 on failure.

Parameters

NameDescription
p7siSigner info to update.
skAttributes to install (copied); may be empty.