public class OpenPgpSignerTask
extends org.apache.tools.ant.Task
Constructor and Description |
---|
OpenPgpSignerTask() |
Modifier and Type | Method and Description |
---|---|
void |
add(org.apache.tools.ant.types.FileSet fs) |
org.apache.tools.ant.types.Mapper |
createMapper()
Define the mapper to map source to destination files.
|
void |
execute() |
void |
setArtefact(java.io.File artefact)
artefact to be signed
|
void |
setAsciiarmor(boolean asciiarmor)
asciiarmor the signature ?
|
void |
setKeyId(java.lang.String keyId)
set the key id
|
void |
setPassword(java.lang.String password)
set the value of the password
|
void |
setPubring(java.io.File pubring)
set the public keyring
|
void |
setSecring(java.io.File secring)
set the secret keyring
|
bindToOwner, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, getTaskType, getWrapper, handleErrorFlush, handleErrorOutput, handleFlush, handleInput, handleOutput, init, isInvalid, log, log, log, log, maybeConfigure, perform, reconfigure, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName, setTaskType
public void setSecring(java.io.File secring)
secring
- secret keyring filepublic void setPubring(java.io.File pubring)
pubring
- public keyring filepublic void setKeyId(java.lang.String keyId)
keyId
- public void setAsciiarmor(boolean asciiarmor)
asciiarmor
- ascii armored signature ?public void setPassword(java.lang.String password)
password
- value of the passwordpublic void setArtefact(java.io.File artefact)
artefact
- artefact to be signedpublic void add(org.apache.tools.ant.types.FileSet fs)
public 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