public class GPGSigner extends GPGConnection
GPGConnection.Result<T>
Constructor and Description |
---|
GPGSigner() |
GPGSigner(File home)
Creates a new signer, indicating where GPG should find the needed keys
|
Modifier and Type | Method and Description |
---|---|
GPGInformation |
sign(File inputFile,
String identity,
String passphrase)
Signs the input file.
|
GPGConnection.Result<GPGInformation> |
startSigning(File inputFile,
String identity,
String passphrase) |
completedOK, getStderr, run, run, setStderr, waitFor
public GPGSigner()
public GPGSigner(File home)
public GPGInformation sign(File inputFile, String identity, String passphrase)
inputFile
- the file whose contents are to be signed (an ESIS file)identity
- the identity (as a hex string or other indicator) of the key to sign withpassphrase
- the passphrase for the given keypublic GPGConnection.Result<GPGInformation> startSigning(File inputFile, String identity, String passphrase)
Copyright © 2014. All rights reserved.