Class Encrypt


  • public final class Encrypt
    extends java.lang.Object
    This will read a document from the filesystem, encrypt it and and then write the results to the filesystem.
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      private Encrypt()  
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      private void encrypt​(java.lang.String[] args)  
      static void main​(java.lang.String[] args)
      This is the entry point for the application.
      private static void usage()
      This will print a usage message.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • Encrypt

        private Encrypt()
    • Method Detail

      • main

        public static void main​(java.lang.String[] args)
                         throws java.io.IOException,
                                java.security.cert.CertificateException
        This is the entry point for the application.
        Parameters:
        args - The command-line arguments.
        Throws:
        java.io.IOException - If there is an error decrypting the document.
        java.security.cert.CertificateException - If there is an error with a certificate.
      • encrypt

        private void encrypt​(java.lang.String[] args)
                      throws java.io.IOException,
                             java.security.cert.CertificateException
        Throws:
        java.io.IOException
        java.security.cert.CertificateException
      • usage

        private static void usage()
        This will print a usage message.