![]() |
![]()
| ![]() |
![]()
NAME
SYNOPSIS
PKCS7 *
DESCRIPTION
The data to be signed is read from BIO data. flags is an optional set of flags. Any of the following flags (OR'ed together) can be passed in the flags parameter. Many S/MIME clients expect the signed content to
include valid MIME headers. If the If The data being signed is included in the
PKCS7 structure, unless
Normally the supplied content is translated into MIME canonical
format (as required by the S/MIME specifications). If
The signedData structure includes several PKCS#7
authenticatedAttributes including the signing time, the PKCS#7 content type
and the supported list of ciphers in an SMIMECapabilities attribute. If
If present, the SMIMECapabilities attribute indicates support for the following algorithms: triple DES, 128-bit RC2, 64-bit RC2, DES and 40-bit RC2. If any of these algorithms is disabled then it will not be included. If the flags 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
If a signer is specified, it will use the default digest for the signing algorithm. This is SHA1 for both RSA and DSA keys. In OpenSSL 1.0.0, the certs,
signcert, and pkey parameters
can all be In OpenSSL 1.0.0, if signcert and
pkey are In versions of OpenSSL before 1.0.0 the
signcert and pkey parameters
must NOT be
RETURN VALUES
SEE ALSOPKCS7_add_attribute(3), PKCS7_encrypt(3), PKCS7_final(3), PKCS7_get_signer_info(3), PKCS7_new(3), PKCS7_sign_add_signer(3), PKCS7_verify(3) HISTORY
The BUGSSome advanced attributes such as counter signatures are not supported.
|