Class RSAPrivateCrtKeyParameters

    • Constructor Summary

      Constructors 
      Constructor Description
      RSAPrivateCrtKeyParameters​(java.math.BigInteger modulus, java.math.BigInteger publicExponent, java.math.BigInteger privateExponent, java.math.BigInteger p, java.math.BigInteger q, java.math.BigInteger dP, java.math.BigInteger dQ, java.math.BigInteger qInv)  
      RSAPrivateCrtKeyParameters​(java.math.BigInteger modulus, java.math.BigInteger publicExponent, java.math.BigInteger privateExponent, java.math.BigInteger p, java.math.BigInteger q, java.math.BigInteger dP, java.math.BigInteger dQ, java.math.BigInteger qInv, boolean isInternal)  
    • Constructor Detail

      • RSAPrivateCrtKeyParameters

        public RSAPrivateCrtKeyParameters​(java.math.BigInteger modulus,
                                          java.math.BigInteger publicExponent,
                                          java.math.BigInteger privateExponent,
                                          java.math.BigInteger p,
                                          java.math.BigInteger q,
                                          java.math.BigInteger dP,
                                          java.math.BigInteger dQ,
                                          java.math.BigInteger qInv)
      • RSAPrivateCrtKeyParameters

        public RSAPrivateCrtKeyParameters​(java.math.BigInteger modulus,
                                          java.math.BigInteger publicExponent,
                                          java.math.BigInteger privateExponent,
                                          java.math.BigInteger p,
                                          java.math.BigInteger q,
                                          java.math.BigInteger dP,
                                          java.math.BigInteger dQ,
                                          java.math.BigInteger qInv,
                                          boolean isInternal)
    • Method Detail

      • getPublicExponent

        public java.math.BigInteger getPublicExponent()
      • 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()
      • destroy

        public void destroy()
        Destroy this object, dropping its references to the CRT factors and exponents along with the inherited private exponent. The (public) modulus and public exponent are retained.

        As BigInteger is immutable the values cannot be zeroized in place; destruction drops the internal references so the values become unreachable (cleared on garbage collection). After destruction the secret-bearing accessors throw IllegalStateException.

        Specified by:
        destroy in interface javax.security.auth.Destroyable
        Overrides:
        destroy in class RSAKeyParameters