The IBM PKCS package, com.ibm.security.pkcs10, consists of two classes to help in creating certification requests. The pkcs10 package implements version 1.0 of the PKCS #10 standard.
The information in this data object becomes part of a certificate request. This information consists of the requesting subject's X.500 name, the subject's public key and zero or more attributes.
Consult the PKCS10CertReqInfo.java file for code samples of how to create a CertificationRequestInfo object.
A PKCS #10 certificate request is created and sent to a Certificate Authority, which can create an X.509 certificate and return it to the entity that requested it.
Consult the PKCS10CertReq.java file for code samples of how to create a CertificationRequest 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.