Package com.netscape.cmstools.ca
Class CACertCLI
- java.lang.Object
-
- com.netscape.cmstools.cli.CLI
-
- com.netscape.cmstools.ca.CACertCLI
-
public class CACertCLI extends CLI
- Author:
- Endi S. Dewata
-
-
Field Summary
Fields Modifier and Type Field Description CACertClient
certClient
static java.text.SimpleDateFormat
dateFormat
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static java.lang.String
getAlgorithmNameFromOID(java.lang.String oid)
CACertClient
getCertClient()
java.lang.String
getFullName()
java.lang.String
getManPage()
static void
printCertData(CertData certData, boolean showPrettyPrint, boolean showEncoded)
static void
printCertInfo(CertDataInfo info)
static void
printCertRequestInfo(CertRequestInfo info)
static void
printCertRequestInfos(CertRequestInfos infos)
static void
printCertReviewResponse(CertReviewResponse response)
-
Methods inherited from class com.netscape.cmstools.cli.CLI
addModule, execute, findModule, findModules, getClient, getClient, getConfig, getDeprecatedModules, getDescription, getFullModuleName, getModule, getModules, getName, getParent, isDeprecated, isVerbose, printHelp, removeModule, runExternal, runExternal, setDescription, setName, setVerbose
-
-
-
-
Field Detail
-
dateFormat
public static java.text.SimpleDateFormat dateFormat
-
certClient
public CACertClient certClient
-
-
Constructor Detail
-
CACertCLI
public CACertCLI(CLI parent)
-
-
Method Detail
-
getFullName
public java.lang.String getFullName()
- Overrides:
getFullName
in classCLI
-
getManPage
public java.lang.String getManPage()
- Overrides:
getManPage
in classCLI
-
getCertClient
public CACertClient getCertClient() throws java.lang.Exception
- Throws:
java.lang.Exception
-
getAlgorithmNameFromOID
public static java.lang.String getAlgorithmNameFromOID(java.lang.String oid)
-
printCertInfo
public static void printCertInfo(CertDataInfo info)
-
printCertData
public static void printCertData(CertData certData, boolean showPrettyPrint, boolean showEncoded)
-
printCertRequestInfos
public static void printCertRequestInfos(CertRequestInfos infos)
-
printCertRequestInfo
public static void printCertRequestInfo(CertRequestInfo info)
-
printCertReviewResponse
public static void printCertReviewResponse(CertReviewResponse response)
-
-