cryptix.examples.pgp
Class eTest

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

public final class eTest
extends java.lang.Object

Encrypts a string (messageText) and writes the ciphertext to e-test.asc Demonstrates the ArmouredMessage and PublicKeyRing classes. Run this in your PGP directory, or provide the full path to your public keyring.

$Revision: 1.2 $

Author:
Ian Brown

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

eTest

public eTest()
Method Detail

main

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