Class RSAPrivateCrtKey2

  • All Implemented Interfaces:
    java.io.Serializable, java.security.Key, java.security.PrivateKey, javax.security.auth.Destroyable

    public class RSAPrivateCrtKey2
    extends java.lang.Object
    implements java.security.PrivateKey
    See Also:
    Serialized Form
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private java.math.BigInteger Ap  
      private java.math.BigInteger Aq  
      private java.math.BigInteger dP  
      private java.math.BigInteger dQ  
      private java.math.BigInteger p  
      private java.math.BigInteger q  
      private java.math.BigInteger qInv  
      private static long serialVersionUID  
    • Constructor Summary

      Constructors 
      Constructor Description
      RSAPrivateCrtKey2​(java.math.BigInteger p, java.math.BigInteger q, java.math.BigInteger dP, java.math.BigInteger dQ, java.math.BigInteger qInv)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getAlgorithm()  
      java.math.BigInteger getAp()  
      java.math.BigInteger getAq()  
      java.math.BigInteger getdP()  
      java.math.BigInteger getdQ()  
      byte[] getEncoded()  
      java.lang.String getFormat()  
      java.math.BigInteger getP()  
      java.math.BigInteger getQ()  
      java.math.BigInteger getQInv()  
      void setAp​(java.math.BigInteger ap)  
      void setAq​(java.math.BigInteger aq)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface javax.security.auth.Destroyable

        destroy, isDestroyed
    • Field Detail

      • p

        private java.math.BigInteger p
      • q

        private java.math.BigInteger q
      • dP

        private java.math.BigInteger dP
      • dQ

        private java.math.BigInteger dQ
      • qInv

        private java.math.BigInteger qInv
      • Ap

        private java.math.BigInteger Ap
      • Aq

        private java.math.BigInteger Aq
    • Constructor Detail

      • RSAPrivateCrtKey2

        public RSAPrivateCrtKey2​(java.math.BigInteger p,
                                 java.math.BigInteger q,
                                 java.math.BigInteger dP,
                                 java.math.BigInteger dQ,
                                 java.math.BigInteger qInv)
    • Method Detail

      • getP

        public java.math.BigInteger getP()
      • getQ

        public java.math.BigInteger getQ()
      • getdP

        public java.math.BigInteger getdP()
      • getdQ

        public java.math.BigInteger getdQ()
      • getQInv

        public java.math.BigInteger getQInv()
      • getEncoded

        public byte[] getEncoded()
        Specified by:
        getEncoded in interface java.security.Key
      • getAlgorithm

        public java.lang.String getAlgorithm()
        Specified by:
        getAlgorithm in interface java.security.Key
      • getFormat

        public java.lang.String getFormat()
        Specified by:
        getFormat in interface java.security.Key
      • setAp

        public void setAp​(java.math.BigInteger ap)
      • getAp

        public java.math.BigInteger getAp()
      • setAq

        public void setAq​(java.math.BigInteger aq)
      • getAq

        public java.math.BigInteger getAq()