org.apache.commons.openpgp.ant
Class OpenPgpSignerTask
Task
org.apache.commons.openpgp.ant.OpenPgpSignerTask
public class OpenPgpSignerTask
extends Task
void | add(FileSet fs)
|
Mapper | createMapper() - Define the mapper to map source to destination files.
|
void | execute()
|
void | setArtefact(File artefact) - artefact to be signed
|
void | setAsciiarmor(boolean asciiarmor) - asciiarmor the signature ?
|
void | setKeyId(String keyId) - set the key id
|
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
|
add
public void add(FileSet fs)
createMapper
public Mapper createMapper()
throws BuildException
Define the mapper to map source to destination files.
- a mapper to be configured.
execute
public void execute()
setArtefact
public void setArtefact(File artefact)
artefact to be signed
artefact
- artefact to be signed
setAsciiarmor
public void setAsciiarmor(boolean asciiarmor)
asciiarmor the signature ?
asciiarmor
- ascii armored signature ?
setKeyId
public void setKeyId(String keyId)
set the key id
setPassword
public void setPassword(String password)
set the value of the password
password
- value of the password
setPubring
public void setPubring(File pubring)
set the public keyring
pubring
- public keyring file
setSecring
public void setSecring(File secring)
set the secret keyring
secring
- secret keyring file