Package org.codehaus.mojo.keytool
Class PrintCertificateRequestMojo
- java.lang.Object
-
- org.apache.maven.plugin.AbstractMojo
-
- org.codehaus.mojo.keytool.AbstractKeyToolMojo
-
- org.codehaus.mojo.keytool.AbstractKeyToolRequestMojo<KeyToolPrintCertificateRequestRequest>
-
- org.codehaus.mojo.keytool.PrintCertificateRequestMojo
-
- All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled
,org.apache.maven.plugin.Mojo
@Mojo(name="printCertificateRequest", requiresProject=true) public class PrintCertificateRequestMojo extends AbstractKeyToolRequestMojo<KeyToolPrintCertificateRequestRequest>
To print the content of a certificate request. Implemented as a wrapper around the SDKkeytool -printcertreq
command. Note This operation was not implemented by the keytool before jdk 1.7. See keystore documentation.- Since:
- 1.2
-
-
Field Summary
Fields Modifier and Type Field Description private java.io.File
file
Input file name.
-
Constructor Summary
Constructors Constructor Description PrintCertificateRequestMojo()
Default contructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected KeyToolPrintCertificateRequestRequest
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
-
file
@Parameter private java.io.File file
Input file name. See options.- Since:
- 1.2
-
-
Method Detail
-
createKeytoolRequest
protected KeyToolPrintCertificateRequestRequest createKeytoolRequest()
To prepare the incoming request, says fill it with mojo parameters.- Overrides:
createKeytoolRequest
in classAbstractKeyToolRequestMojo<KeyToolPrintCertificateRequestRequest>
- Returns:
- the created keytool request
- See Also:
KeyToolRequest
-
-