Package org.wildfly.security.key
Class RawRSAPrivateCrtKey
- java.lang.Object
-
- org.wildfly.security.key.RawKey
-
- org.wildfly.security.key.RawPrivateKey
-
- org.wildfly.security.key.RawRSAPrivateKey
-
- org.wildfly.security.key.RawRSAPrivateCrtKey
-
- All Implemented Interfaces:
Serializable
,RSAKey
,RSAPrivateCrtKey
,RSAPrivateKey
,Key
,PrivateKey
,Destroyable
class RawRSAPrivateCrtKey extends RawRSAPrivateKey implements RSAPrivateCrtKey
- Author:
- David M. Lloyd
-
-
Field Summary
Fields Modifier and Type Field Description private BigInteger
crtCoefficient
private BigInteger
primeExponentP
private BigInteger
primeExponentQ
private BigInteger
primeP
private BigInteger
primeQ
private BigInteger
publicExponent
private static long
serialVersionUID
-
Constructor Summary
Constructors Constructor Description RawRSAPrivateCrtKey(RSAPrivateCrtKey original)
RawRSAPrivateCrtKey(Key original)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BigInteger
getCrtCoefficient()
BigInteger
getPrimeExponentP()
BigInteger
getPrimeExponentQ()
BigInteger
getPrimeP()
BigInteger
getPrimeQ()
BigInteger
getPublicExponent()
(package private) boolean
isEqual(RSAPrivateCrtKey key)
(package private) boolean
isEqual(Key key)
-
Methods inherited from class org.wildfly.security.key.RawRSAPrivateKey
getModulus, getPrivateExponent, isEqual
-
Methods inherited from class org.wildfly.security.key.RawPrivateKey
writeReplace
-
Methods inherited from class org.wildfly.security.key.RawKey
equals, getAlgorithm, getEncoded, getFormat, hashCode
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface javax.security.auth.Destroyable
destroy, isDestroyed
-
Methods inherited from interface java.security.Key
getAlgorithm, getEncoded, getFormat
-
Methods inherited from interface java.security.interfaces.RSAKey
getModulus, getParams
-
Methods inherited from interface java.security.interfaces.RSAPrivateKey
getPrivateExponent
-
-
-
-
Field Detail
-
serialVersionUID
private static final long serialVersionUID
- See Also:
- Constant Field Values
-
publicExponent
private final BigInteger publicExponent
-
primeP
private final BigInteger primeP
-
primeQ
private final BigInteger primeQ
-
primeExponentP
private final BigInteger primeExponentP
-
primeExponentQ
private final BigInteger primeExponentQ
-
crtCoefficient
private final BigInteger crtCoefficient
-
-
Constructor Detail
-
RawRSAPrivateCrtKey
RawRSAPrivateCrtKey(RSAPrivateCrtKey original)
-
RawRSAPrivateCrtKey
RawRSAPrivateCrtKey(Key original)
-
-
Method Detail
-
getPublicExponent
public BigInteger getPublicExponent()
- Specified by:
getPublicExponent
in interfaceRSAPrivateCrtKey
-
getPrimeP
public BigInteger getPrimeP()
- Specified by:
getPrimeP
in interfaceRSAPrivateCrtKey
-
getPrimeQ
public BigInteger getPrimeQ()
- Specified by:
getPrimeQ
in interfaceRSAPrivateCrtKey
-
getPrimeExponentP
public BigInteger getPrimeExponentP()
- Specified by:
getPrimeExponentP
in interfaceRSAPrivateCrtKey
-
getPrimeExponentQ
public BigInteger getPrimeExponentQ()
- Specified by:
getPrimeExponentQ
in interfaceRSAPrivateCrtKey
-
getCrtCoefficient
public BigInteger getCrtCoefficient()
- Specified by:
getCrtCoefficient
in interfaceRSAPrivateCrtKey
-
isEqual
boolean isEqual(Key key)
- Overrides:
isEqual
in classRawRSAPrivateKey
-
isEqual
boolean isEqual(RSAPrivateCrtKey key)
-
-