Class DetachedSignatureProcessor
java.lang.Object
org.bouncycastle.openpgp.examples.DetachedSignatureProcessor
A simple utility class that creates seperate signatures for files and verifies them.
To sign a file: DetachedSignatureProcessor -s [-a] fileName secretKey passPhrase.
If -a is specified the output file will be "ascii-armored".
To decrypt: DetachedSignatureProcessor -v fileName signatureFile publicKeyFile.
Note: this example will silently overwrite files. It also expects that a single pass phrase will have been used.
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
DetachedSignatureProcessor
public DetachedSignatureProcessor()
-
-
Method Details
-
main
- Throws:
Exception
-