The following link provides an overview of the IBM S/MIME package along with sample code. For more information on the S/MIME standards, consult RFC 2311, S/MIME Version 2 Message Specification. The IBM S/MIME package relies on the IBM PKCS.