Class Rsa


  • @Vetoed
    public class Rsa
    extends java.lang.Object
    Author:
    Michael Remijan mjremijan@yahoo.com @mjremijan
    • Constructor Summary

      Constructors 
      Constructor Description
      Rsa​(java.io.File rsaPrivateKey)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String base64DecodeAndDecrypt​(java.lang.String base64EncodedEncryptedBytes)  
      protected void setKeyFactory()  
      protected void setPrivateKey​(java.io.File rsaPrivateKey)  
      • Methods inherited from class java.lang.Object

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

      • Rsa

        public Rsa​(java.io.File rsaPrivateKey)
            throws java.lang.Exception
        Throws:
        java.lang.Exception
    • Method Detail

      • setKeyFactory

        protected void setKeyFactory()
                              throws java.lang.Exception
        Throws:
        java.lang.Exception
      • setPrivateKey

        protected void setPrivateKey​(java.io.File rsaPrivateKey)
                              throws java.lang.Exception
        Throws:
        java.lang.Exception
      • base64DecodeAndDecrypt

        public java.lang.String base64DecodeAndDecrypt​(java.lang.String base64EncodedEncryptedBytes)