Package org.codehaus.mojo.keytool
Class PrintCertificateMojo
- java.lang.Object
-
- org.apache.maven.plugin.AbstractMojo
-
- org.codehaus.mojo.keytool.AbstractKeyToolMojo
-
- org.codehaus.mojo.keytool.PrintCertificateMojo
-
- All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled,org.apache.maven.plugin.Mojo
@Mojo(name="printCertificate", threadSafe=true) public class PrintCertificateMojo extends AbstractKeyToolMojoTo print the content of a certificate. Uses Java Certificate API directly. See keystore documentation.- Since:
- 1.2
-
-
Field Summary
Fields Modifier and Type Field Description private java.io.FilefileInput file name.private java.io.FilejarfileSigned jar file.private static org.slf4j.Loggerlogprivate PrintServiceprintServiceprivate booleanrfcOutput in RFC style.private java.lang.StringsslserverSSL server host and port.
-
Constructor Summary
Constructors Constructor Description PrintCertificateMojo()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidexecute()-
Methods inherited from class org.codehaus.mojo.keytool.AbstractKeyToolMojo
createParentDirIfNecessary, getMessage, getMessage, getMessage, isSkip, isVerbose, setSkip, setVerbose
-
-
-
-
Field Detail
-
log
private static final org.slf4j.Logger log
-
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
-
printService
@Inject private PrintService printService
-
-