![]() |
![]()
| ![]() |
![]()
NAME
SYNOPSIS
PKCS7 *
DESCRIPTION
Only RSA keys are supported in PKCS#7 and envelopedData so the recipient certificates supplied to this function must all contain RSA public keys, though they do not have to be signed using the RSA algorithm. The algorithm passed in the cipher parameter must support ASN.1 encoding of its parameters. Many browsers implement a "sign and
encrypt" option which is simply an S/MIME envelopedData containing an
S/MIME signed message. This can be readily produced by storing the S/MIME
signed message in a memory BIO and passing it to
The following flags can be passed in the flags parameter. If the Normally the supplied content is translated into MIME canonical
format (as required by the S/MIME specifications). If
If the If the flag Several functions including
PKCS7_final(3),
SMIME_write_PKCS7(3),
PEM_write_bio_PKCS7_stream(3),
and
i2d_PKCS7_bio_stream(3)
finalize the structure. Alternatively finalization can be performed by
obtaining the streaming ASN.1 BIO directly using
RETURN VALUES
SEE ALSOPKCS7_decrypt(3), PKCS7_final(3), PKCS7_new(3), PKCS7_sign(3) HISTORY
The
|