cryptix.examples.pgp
Class esTest
java.lang.Object
cryptix.examples.pgp.esTest
- public final class esTest
- extends java.lang.Object
Encrypts and signs a string (messageText) and writes the ciphertext to es-test.asc
Demonstrates the ArmouredMessage, Passphrase, PublicKeyRing,
SecretKeyRing and EmailAddress classes.
Run this in your PGP directory, or provide the full path to your keyrings.
$Revision: 1.2 $
- Author:
- Ian Brown
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 |
esTest
public esTest()
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