Class Feralcorecfg

java.lang.Object
  extended by Feralcorecfg

public final class Feralcorecfg
extends java.lang.Object


Method Summary
static java.lang.String configfilepubpath(java.lang.String alias)
          Returns the full path for the feralcore configuratoin public key file of the user corresponding to alias.
static void main()
           
static Readferalcorecfg readConfigFilePriv(java.lang.String alias, java.lang.String password)
           
static Fccfg readConfigFilePub(java.lang.String alias)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

readConfigFilePriv

public static Readferalcorecfg readConfigFilePriv(java.lang.String alias,
                                                  java.lang.String password)
                                           throws FeralcoreException,
                                                  java.security.NoSuchAlgorithmException,
                                                  javax.crypto.NoSuchPaddingException,
                                                  java.security.InvalidKeyException,
                                                  java.security.spec.InvalidKeySpecException,
                                                  java.io.UnsupportedEncodingException,
                                                  java.io.IOException,
                                                  javax.crypto.IllegalBlockSizeException,
                                                  javax.crypto.BadPaddingException,
                                                  java.lang.CloneNotSupportedException
Throws:
FeralcoreException
java.security.NoSuchAlgorithmException
javax.crypto.NoSuchPaddingException
java.security.InvalidKeyException
java.security.spec.InvalidKeySpecException
java.io.UnsupportedEncodingException
java.io.IOException
javax.crypto.IllegalBlockSizeException
javax.crypto.BadPaddingException
java.lang.CloneNotSupportedException

configfilepubpath

public static java.lang.String configfilepubpath(java.lang.String alias)
Returns the full path for the feralcore configuratoin public key file of the user corresponding to alias.


readConfigFilePub

public static Fccfg readConfigFilePub(java.lang.String alias)
                               throws FeralcoreException,
                                      java.io.UnsupportedEncodingException,
                                      java.io.IOException,
                                      java.lang.CloneNotSupportedException
Throws:
FeralcoreException
java.io.UnsupportedEncodingException
java.io.IOException
java.lang.CloneNotSupportedException

main

public static void main()
                 throws FeralcoreException,
                        java.security.NoSuchAlgorithmException,
                        javax.crypto.NoSuchPaddingException,
                        java.security.InvalidKeyException,
                        javax.crypto.IllegalBlockSizeException,
                        javax.crypto.BadPaddingException,
                        java.io.FileNotFoundException,
                        java.io.IOException,
                        java.security.spec.InvalidKeySpecException,
                        java.lang.InterruptedException,
                        java.lang.CloneNotSupportedException
Throws:
FeralcoreException
java.security.NoSuchAlgorithmException
javax.crypto.NoSuchPaddingException
java.security.InvalidKeyException
javax.crypto.IllegalBlockSizeException
javax.crypto.BadPaddingException
java.io.FileNotFoundException
java.io.IOException
java.security.spec.InvalidKeySpecException
java.lang.InterruptedException
java.lang.CloneNotSupportedException