org.codehaus.mojo.keytool
Class PrintCertificateMojo

java.lang.Object
  extended by org.apache.maven.plugin.AbstractMojo
      extended by org.codehaus.mojo.keytool.AbstractKeyToolMojo
          extended by org.codehaus.mojo.keytool.AbstractKeyToolRequestMojo<KeyToolPrintCertificateRequest>
              extended by 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

Field Summary
 
Fields inherited from interface org.apache.maven.plugin.Mojo
ROLE
 
Constructor Summary
PrintCertificateMojo()
          Default contructor.
 
Method Summary
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
 
Methods inherited from class org.apache.maven.plugin.AbstractMojo
getLog, getPluginContext, setLog, setPluginContext
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PrintCertificateMojo

public PrintCertificateMojo()
Default contructor.

Method Detail

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.