|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.ibm.security.certclient.util.Pk10CertFactory
public final class Pk10CertFactory
Generate a certificate from a PKCS10 certificate request and sign it with the provided signer key.
| Method Summary | |
|---|---|
static Pk10Certificate |
newCert(byte[] pkcs10CertRequestDER,
Date notBeforeDate,
int validityPeriod,
X509Certificate signingCert,
PrivateKey signingCertPrivateKey)
Create a personal certificate from the DER encoded PKCS10 certificate request and sign it with the specified private key. |
static Pk10Certificate |
newCert(String pkcs10CertRequestFile,
Date notBeforeDate,
int validityPeriod,
X509Certificate signingCert,
PrivateKey signingCertPrivateKey)
Create a personal certificate from the PKCS10 certificate request file and sign it with the specified private key. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static Pk10Certificate newCert(String pkcs10CertRequestFile,
Date notBeforeDate,
int validityPeriod,
X509Certificate signingCert,
PrivateKey signingCertPrivateKey)
throws com.ibm.security.certclient.base.PkRejectionException
pkcs10CertRequestFile - Name of the PKCS10 certificate request file. The contents of the file are BASE64 encoded.notBeforeDate - The date before which this certificate is not validvalidityPeriod - The validityPeriod of the certificate in dayssigningCert - The signing certificatesigningCertPrivateKey - The private key used to sign personal certificate being created.
This is the private key associated with public key within the signingCert.
com.ibm.security.certclient.base.PkRejectionException
public static Pk10Certificate newCert(byte[] pkcs10CertRequestDER,
Date notBeforeDate,
int validityPeriod,
X509Certificate signingCert,
PrivateKey signingCertPrivateKey)
throws com.ibm.security.certclient.base.PkRejectionException
pkcs10CertRequestDER - DER encoded byte array of the PKCS10CertRequestnotBeforeDate - The date before which this certificate is not validvalidityPeriod - The validityPeriod of the certificate in dayssigningCert - The signing certificatesigningCertPrivateKey - The private key used to sign personal certificate being created.
This is the private key associated with public key within the signingCert.
com.ibm.security.certclient.base.PkRejectionException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||