Attach a prepared signer info to a PKCS#7 SignedData or SignedAndEnvelopedData structure.

Synopsis

Declared in <openssl/pkcs7.h>

int
PKCS7_add_signer(
    PKCS7* p7,
    PKCS7_SIGNER_INFO* p7i);

Return Value

1 on success, or 0 on failure.

Parameters

Name

Description

p7

PKCS#7 object that already has a signed content type.

p7i

Signer info to add; the structure retains a reference to it.

Created with MrDocs