Package com.netscape.cmstools
Class CMCRevoke
java.lang.Object
com.netscape.cmstools.CMCRevoke
Tool for signing a CMC revocation request with an agent's certificate.
- Version:
- $Revision$, $Date$
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic org.mozilla.jss.crypto.X509Certificate
getCertificate
(org.mozilla.jss.CryptoManager manager, String tokenname, String nickname) getCertificate find the certicate inside the token by its nickname.static void
Creates a new instance of CMCRevoke.
-
Field Details
-
ARGC
public static final int ARGC- See Also:
-
CMS_BASE_CA_SIGNINGCERT_NOT_FOUND
- See Also:
-
PR_REQUEST_CMC
- See Also:
-
-
Constructor Details
-
CMCRevoke
public CMCRevoke()
-
-
Method Details
-
main
Creates a new instance of CMCRevoke. -
getCertificate
public static org.mozilla.jss.crypto.X509Certificate getCertificate(org.mozilla.jss.CryptoManager manager, String tokenname, String nickname) throws org.mozilla.jss.NoSuchTokenException, Exception, org.mozilla.jss.crypto.TokenException getCertificate find the certicate inside the token by its nickname.- Parameters:
manager
- the CrytoManagertokenname
- the name of the token. it's set to "internal".nickname
- the nickname of the certificate inside the token.- Returns:
- the X509Certificate.
- Throws:
org.mozilla.jss.NoSuchTokenException
Exception
org.mozilla.jss.crypto.TokenException
-