Package org.kapott.cryptalgs
Class RSAPrivateCrtKey2
- java.lang.Object
-
- org.kapott.cryptalgs.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
-
-
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.StringgetAlgorithm()java.math.BigIntegergetAp()java.math.BigIntegergetAq()java.math.BigIntegergetdP()java.math.BigIntegergetdQ()byte[]getEncoded()java.lang.StringgetFormat()java.math.BigIntegergetP()java.math.BigIntegergetQ()java.math.BigIntegergetQInv()voidsetAp(java.math.BigInteger ap)voidsetAq(java.math.BigInteger aq)
-
-
-
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:
getEncodedin interfacejava.security.Key
-
getAlgorithm
public java.lang.String getAlgorithm()
- Specified by:
getAlgorithmin interfacejava.security.Key
-
getFormat
public java.lang.String getFormat()
- Specified by:
getFormatin interfacejava.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()
-
-