Class RSAPrivateKey


  • public class RSAPrivateKey
    extends java.lang.Object
    RSAPrivateKey.
    Version:
    $Id: RSAPrivateKey.java,v 1.1 2007/10/15 12:49:57 cplattne Exp $
    Author:
    Christian Plattner, plattner@trilead.com
    • Constructor Summary

      Constructors 
      Constructor Description
      RSAPrivateKey​(java.math.BigInteger d, java.math.BigInteger e, java.math.BigInteger n)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.math.BigInteger getD()  
      java.math.BigInteger getE()  
      java.math.BigInteger getN()  
      RSAPublicKey getPublicKey()  
      java.security.KeyPair toJCEKeyPair()
      Converts this to a JCE API representation of the RSA key pair.
      • Methods inherited from class java.lang.Object

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

      • RSAPrivateKey

        public RSAPrivateKey​(java.math.BigInteger d,
                             java.math.BigInteger e,
                             java.math.BigInteger n)
    • Method Detail

      • getD

        public java.math.BigInteger getD()
      • getE

        public java.math.BigInteger getE()
      • getN

        public java.math.BigInteger getN()
      • toJCEKeyPair

        public java.security.KeyPair toJCEKeyPair()
                                           throws java.security.GeneralSecurityException
        Converts this to a JCE API representation of the RSA key pair.
        Throws:
        java.security.GeneralSecurityException