org.bouncycastle.openpgp.examples
Class SignedFileProcessor
java.lang.Object
|
+--org.bouncycastle.openpgp.examples.SignedFileProcessor
- public class SignedFileProcessor
- extends java.lang.Object
A simple utility class that encrypts/decrypts password based
encryption files.
To encrypt a file: PBEFileProcessor -e [-a] fileName passPhrase.
If -a is specified the output file will be "ascii-armored".
To decrypt: PBEFileProcessor -d fileName passPhrase.
Note: this example will silently overwrite files, nor does it pay any attention to
the specification of "_CONSOLE" in the filename. It also expects that a single pass phrase
will have been used.
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 |
SignedFileProcessor
public SignedFileProcessor()
main
public static void main(java.lang.String[] args)
throws java.lang.Exception
java.lang.Exception