org.apache.commons.openpgp.ant

Class OpenPgpSignerTask


public class OpenPgpSignerTask
extends Task

Method Summary

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

Method Details

add

public void add(FileSet fs)

createMapper

public Mapper createMapper()
            throws BuildException
Define the mapper to map source to destination files.
Returns:
a mapper to be configured.

execute

public void execute()

setArtefact

public void setArtefact(File artefact)
artefact to be signed
Parameters:
artefact - artefact to be signed

setAsciiarmor

public void setAsciiarmor(boolean asciiarmor)
asciiarmor the signature ?
Parameters:
asciiarmor - ascii armored signature ?

setKeyId

public void setKeyId(String keyId)
set the key id
Parameters:
keyId -

setPassword

public void setPassword(String password)
set the value of the password
Parameters:
password - value of the password

setPubring

public void setPubring(File pubring)
set the public keyring
Parameters:
pubring - public keyring file

setSecring

public void setSecring(File secring)
set the secret keyring
Parameters:
secring - secret keyring file