IBM

IBM S/MIME Package


[ Programming Guide Home | IBM S/MIME Home | Introduction | Packages ]

com.ibm.security.smime

The IBM S/MIME package, com.ibm.security.smime, consists of three classes:

SMIMESender

The SMIMESender class allows you to construct and send PKCS #7 SignedData and EnvelopedData, as well as PKCS #10 CertificationRequest, S/MIME messages.

With the IBM S/MIME package, you can send different types of S/MIME messages:

Consult the SMIMESend.java file for a sample of how to create and use a SMIMESender object.

All the sample .java files can be found within docs\pkcs\pkcssamples.jar and on a Unix system in docs/pkcs/pkcssamples.jar. Within the jar file there is a src directory containing the source code for the samples.

SMIMEReceiver

The SMIMEReceiver class allows you to parse received PKCS #7 SignedData and EnvelopedData, as well as PKCS #10 CertificationRequest, S/MIME messages.

Consult the SMIMEReceive.java file for a sample of how to create and use a SMIMEReceiver object.

All the sample .java files can be found within docs\pkcs\pkcssamples.jar and on a Unix system in docs/pkcs/pkcssamples.jar. Within the jar file there is a src directory containing the source code for the samples.

SMIMEMessage

SMIMEMessage provides a limited S/MIME parser geared to understanding and extracting PKCS #7 ContentInfo and PKCS #10 CertificationRequest objects from a S/MIME messages. This package does not provide a full-fledged MIME parser.