The IBM PKCS package, com.ibm.security.pkcs1, consists of a single class, PKCS1, which implements the RSA Encryption Standard as described in PKCS #1 Version 1.5.
The PKCS1 class provides a simple interface for using the RSA public-key cryptosystem to encrypt and decrypt data or to sign data and verify digital signatures.
Consult the PKCS1EncryptDecrypt.java file for code samples of how to create and use a PKCS1 object for encryption and decryption using the RSA algorithm.
Consult the PKCS1SignVerify.java file for code samples of how to create and use a PKCS1 object for signature generation and verification using the RSA algorithm.
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.