Class PrivateKeyReader


  • public class PrivateKeyReader
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Constructor Description
      PrivateKeyReader​(java.lang.String algorithm)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.security.PrivateKey get​(java.lang.String filename)  
      • Methods inherited from class java.lang.Object

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

      • PrivateKeyReader

        public PrivateKeyReader​(java.lang.String algorithm)
                         throws java.security.NoSuchAlgorithmException
        Throws:
        java.security.NoSuchAlgorithmException
    • Method Detail

      • get

        public java.security.PrivateKey get​(java.lang.String filename)
                                     throws java.io.IOException,
                                            java.security.NoSuchAlgorithmException,
                                            java.security.spec.InvalidKeySpecException
        Throws:
        java.io.IOException
        java.security.NoSuchAlgorithmException
        java.security.spec.InvalidKeySpecException