Constructs CMS object for signing with Mime Message in form of
instance of MimeMessage class and with given value for type of CMSSignedDataSource
(type of signing).
Capabilities which this class can indicate are capabilities of symetric
encryption algorithm: DES_EDE3_CBC, RC2_CBC with 128bit key, RC2_CBC with
64bit key, DES and RC2_CBC with 40bit key.
Certificates class is DER encoded container, represented in ASN.1 notation
according to RFC2630, for storing X509 certificates or for storing certificates
chain in CMS object of signed message.
Analyzes content which will be placed in MimeBodyPart and suggests which
Content-Transfer-Encoding header parameter should be used (7bit,
quoted-printable or base64).
This class contains static methods which make easier work and conversion
between different types under the large amount of data (arrays, streams,
files ...).