com.ibm.security.certclient

Class PkEeRevokeFactory

  1. java.lang.Object
  2. extended bycom.ibm.security.certclient.PkEeFactory
  3. extended bycom.ibm.security.certclient.PkEeRevokeFactory

  1. public final class PkEeRevokeFactory
  2. extends PkEeFactory
Revoke a signed certificate kept in the end entity's keystore

Field Summary

Fields inherited from class com.ibm.security.certclient.PkEeFactory
CA_DN, caDn, caPort, cmpEvntFmt, keystoreFilename, keystorePwd, keyStoreType, provider

Method Summary

Modifier and Type Method and Description
  1. static
  2. PkEeTransaction
newRevoke(String certAlias,String certPwd,String reason,String revoPwd)
Initiate a certificate revocation request to the supplied CA.
Methods inherited from class com.ibm.security.certclient.PkEeFactory
getCA_DN, getCaDn, getCaPort, getCmpFmt, getKeystoreFilename, getKeyStoreType, getProvider, setCA_DN, setCaDn, setCaPort, setKeystoreFilename, setKeystorePwd, setKeyStoreType, setProvider
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Method Detail

newRevoke

  1. public static PkEeTransaction newRevoke( String certAlias,
  2. String certPwd,
  3. String reason,
  4. String revoPwd)
  5. throws com.ibm.security.certclient.base.PkException
Initiate a certificate revocation request to the supplied CA. Require that the certificate being revoked is stored in the EE's keystore.
Parameters:
certAlias - The keystore label of the certificate being revoked. The EE keystore is defined in this factory.
certPwd - The protection password for the certificate. If not specified, the value specified for the keystore password on PkEeFactory will be used.
reason - The reason for revocation. One of the following - "unspecified" "key compromise" "ca compromise" "affiliation changed" "superseded" "cessation of operation" "certificate hold" "remove from crl"
revoPwd - password required to revoke this certificate as supplied when the certificate request was initiated.
Throws:
com.ibm.security.certclient.base.PkException - Parameter error