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:
- ContextEnabled, Mojo
public class PrintCertificateMojo
- extends AbstractKeyToolRequestMojo<KeyToolPrintCertificateRequest>
To print the content of a certificate.
Implemented as a wrapper around the SDK keytool -printcert
command.
See keystore documentation.
- Since:
- 1.2
- Author:
- tchemit
- Requires a Maven project to run:
- true
- Is defined by the goal name:
- printCertificate
Fields inherited from interface org.apache.maven.plugin.Mojo |
ROLE |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PrintCertificateMojo
public PrintCertificateMojo()
- Default contructor.
createKeytoolRequest
protected KeyToolPrintCertificateRequest createKeytoolRequest()
- To prepare the incoming request, says fill it with mojo parameters.
- Overrides:
createKeytoolRequest
in class AbstractKeyToolRequestMojo<KeyToolPrintCertificateRequest>
- Returns:
- the created keytool request
- See Also:
KeyToolRequest
Copyright © 2005-2012 Codehaus. All Rights Reserved.