Class ChangePassPhrase


  • public class ChangePassPhrase
    extends java.lang.Object
    Changes the Passphrase.
     Syntax: java ChangePassPhrase [-help] [-version] [-file private_key_file]
     Changes the passphrase that protects the private key. If the -file
     argument is not given, the default location of the file containing
     the private key is assumed:
       --  Config.getUserKeyFile()
     Options
       -help, -usage                Display usage
       -version                     Display version
       -file location               Change passphrase on key stored in the
                                    file at the non-standard
                                    location 'location';
     
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private static java.lang.String message  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      private static void copy​(java.io.File srcFile, java.io.File dstFile)  
      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
    • Field Detail

      • message

        private static java.lang.String message
    • Constructor Detail

      • ChangePassPhrase

        public ChangePassPhrase()
    • Method Detail

      • main

        public static void main​(java.lang.String[] args)
      • copy

        private static void copy​(java.io.File srcFile,
                                 java.io.File dstFile)
                          throws java.io.IOException
        Throws:
        java.io.IOException