cryptix.examples.pgp
Class sTest

java.lang.Object
  extended bycryptix.examples.pgp.sTest

public final class sTest
extends java.lang.Object

Encrypts and signs a string (messageText) and writes the ciphertext to es-test.asc Demonstrates the ArmouredMessage, Passphrase and SecretKeyRing classes. Run this in your PGP directory, or provide the full path to your keyrings.

$Revision: 1.2 $

Author:
Ian Brown

Constructor Summary
sTest()
           
 
Method Summary
static void main(java.lang.String[] argv)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

sTest

public sTest()
Method Detail

main

public static final void main(java.lang.String[] argv)
                       throws java.io.FileNotFoundException,
                              java.io.IOException,
                              DecryptException,
                              FormatException
Throws:
java.io.FileNotFoundException
java.io.IOException
DecryptException
FormatException