org.bouncycastle.openpgp.examples
Class ClearSignedFileProcessor
java.lang.Object
|
+--org.bouncycastle.openpgp.examples.ClearSignedFileProcessor
- public class ClearSignedFileProcessor
- extends java.lang.Object
A simple utility class that creates clear signed files and verifies them.
To sign a file: ClearSignedFileProcessor -s [-a] fileName outputFile secretKey passPhrase.
If -a is specified the output file will be "ascii-armored".
To decrypt: ClearSignedFileProcessor -v [-a] fileName signatureFile publicKeyFile.
Note: This example does not dash escape the input on signing or look for dash escaping on verification. See section 7 of RFC 2440 for further details.
Method Summary |
static void |
main(java.lang.String[] args)
|
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
ClearSignedFileProcessor
public ClearSignedFileProcessor()
main
public static void main(java.lang.String[] args)
throws java.lang.Exception