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

Name

Description

p7si

Signer info to update.

sk

Attributes to install (copied); may be empty.

Created with MrDocs