Package org.codehaus.mojo.keytool
Class PrintCertificateMojo
- java.lang.Object
-
- org.apache.maven.plugin.AbstractMojo
-
- org.codehaus.mojo.keytool.AbstractKeyToolMojo
-
- org.codehaus.mojo.keytool.AbstractKeyToolRequestMojo<KeyToolPrintCertificateRequest>
-
- org.codehaus.mojo.keytool.PrintCertificateMojo
-
- All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled
,org.apache.maven.plugin.Mojo
@Mojo(name="printCertificate", requiresProject=true) public class PrintCertificateMojo extends AbstractKeyToolRequestMojo<KeyToolPrintCertificateRequest>
To print the content of a certificate. Implemented as a wrapper around the SDKkeytool -printcert
command. See keystore documentation.- Since:
- 1.2
-
-
Constructor Summary
Constructors Constructor Description PrintCertificateMojo()
Default contructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected KeyToolPrintCertificateRequest
createKeytoolRequest()
To prepare the incoming request, says fill it with mojo parameters.-
Methods inherited from class org.codehaus.mojo.keytool.AbstractKeyToolRequestMojo
consumeResult, execute, getCommandlineInfo
-
Methods inherited from class org.codehaus.mojo.keytool.AbstractKeyToolMojo
getMessage, getMessage, getMessage, isSkip, isVerbose, setSkip, setVerbose
-
-
-
-
Field Detail
-
rfc
@Parameter private boolean rfc
Output in RFC style. See options.- Since:
- 1.2
-
file
@Parameter private java.io.File file
Input file name. See options.- Since:
- 1.2
-
sslserver
@Parameter private java.lang.String sslserver
SSL server host and port. See options.- Since:
- 1.2
-
jarfile
@Parameter private java.io.File jarfile
Signed jar file. See options.- Since:
- 1.2
-
-
Method Detail
-
createKeytoolRequest
protected KeyToolPrintCertificateRequest createKeytoolRequest()
To prepare the incoming request, says fill it with mojo parameters.- Overrides:
createKeytoolRequest
in classAbstractKeyToolRequestMojo<KeyToolPrintCertificateRequest>
- Returns:
- the created keytool request
- See Also:
KeyToolRequest
-
-