Bouncy Castle Cryptography 1.27

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 fileName secretKey passPhrase.
If -a is specified the output file will be "ascii-armored".

To decrypt: ClearSignedFileProcessor -v 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.


Constructor Summary
ClearSignedFileProcessor()
           
 
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
 

Constructor Detail

ClearSignedFileProcessor

public ClearSignedFileProcessor()
Method Detail

main

public static void main(java.lang.String[] args)
                 throws java.lang.Exception

Bouncy Castle Cryptography 1.27