Package org.kapott.cryptalgs
Class RSAPrivateCrtKey2
- java.lang.Object
-
- org.kapott.cryptalgs.RSAPrivateCrtKey2
-
- All Implemented Interfaces:
Serializable,Key,PrivateKey,Destroyable
public class RSAPrivateCrtKey2 extends Object implements PrivateKey
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description RSAPrivateCrtKey2(BigInteger p, BigInteger q, BigInteger dP, BigInteger dQ, BigInteger qInv)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetAlgorithm()BigIntegergetAp()BigIntegergetAq()BigIntegergetdP()BigIntegergetdQ()byte[]getEncoded()StringgetFormat()BigIntegergetP()BigIntegergetQ()BigIntegergetQInv()voidsetAp(BigInteger ap)voidsetAq(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
-
-
-
-
Constructor Detail
-
RSAPrivateCrtKey2
public RSAPrivateCrtKey2(BigInteger p, BigInteger q, BigInteger dP, BigInteger dQ, BigInteger qInv)
-
-
Method Detail
-
getP
public BigInteger getP()
-
getQ
public BigInteger getQ()
-
getdP
public BigInteger getdP()
-
getdQ
public BigInteger getdQ()
-
getQInv
public BigInteger getQInv()
-
getEncoded
public byte[] getEncoded()
- Specified by:
getEncodedin interfaceKey
-
getAlgorithm
public String getAlgorithm()
- Specified by:
getAlgorithmin interfaceKey
-
getAp
public BigInteger getAp()
-
setAp
public void setAp(BigInteger ap)
-
getAq
public BigInteger getAq()
-
setAq
public void setAq(BigInteger aq)
-
-