|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.tools.ant.ProjectComponent org.apache.tools.ant.Task org.apache.commons.openpgp.ant.OpenPgpVerifierTask
public class OpenPgpVerifierTask
Verify a signature using the Bouncy Castle OpenPGP provider.
Field Summary |
---|
Fields inherited from class org.apache.tools.ant.Task |
---|
target, taskName, taskType, wrapper |
Fields inherited from class org.apache.tools.ant.ProjectComponent |
---|
description, location, project |
Constructor Summary | |
---|---|
OpenPgpVerifierTask()
|
Method Summary | |
---|---|
org.apache.tools.ant.types.Mapper |
createMapper()
Define the mapper to map source to destination files. |
void |
execute()
|
void |
setArtefact(File artefact)
Set the artefact to be handled. |
void |
setAsciiarmor(boolean asciiarmor)
Use ASCII armored signature files? |
void |
setPassword(String password)
Set the value of the password. |
void |
setPubring(File pubring)
Set the public keyring. |
void |
setSecring(File secring)
Set the secret keyring. |
void |
setVerifyproperty(String verifyproperty)
Set the name of the property that contains the result of the verification. |
Methods inherited from class org.apache.tools.ant.Task |
---|
bindToOwner, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, getTaskType, getWrapper, handleErrorFlush, handleErrorOutput, handleFlush, handleInput, handleOutput, init, isInvalid, log, log, log, log, maybeConfigure, perform, reconfigure, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName, setTaskType |
Methods inherited from class org.apache.tools.ant.ProjectComponent |
---|
clone, getDescription, getLocation, getProject, setDescription, setLocation, setProject |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public OpenPgpVerifierTask()
Method Detail |
---|
public void setSecring(File secring)
secring
- secret keyring filepublic void setPubring(File pubring)
pubring
- public keyring filepublic void setAsciiarmor(boolean asciiarmor)
asciiarmor
- ascii armored signatures?public void setPassword(String password)
password
- value of the passwordpublic void setArtefact(File artefact)
artefact
- artefact to be handledpublic void setVerifyproperty(String verifyproperty)
verifyproperty
- name of the propertypublic org.apache.tools.ant.types.Mapper createMapper() throws org.apache.tools.ant.BuildException
org.apache.tools.ant.BuildException
- if more than one mapper is defined.public void execute()
execute
in class org.apache.tools.ant.Task
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |