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 BigIntegercrtCoefficientprivate BigIntegerprimeExponentPprivate BigIntegerprimeExponentQprivate BigIntegerprimePprivate BigIntegerprimeQprivate BigIntegerpublicExponentprivate static longserialVersionUID
-
Constructor Summary
Constructors Constructor Description RawRSAPrivateCrtKey(RSAPrivateCrtKey original)RawRSAPrivateCrtKey(Key original)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BigIntegergetCrtCoefficient()BigIntegergetPrimeExponentP()BigIntegergetPrimeExponentQ()BigIntegergetPrimeP()BigIntegergetPrimeQ()BigIntegergetPublicExponent()(package private) booleanisEqual(RSAPrivateCrtKey key)(package private) booleanisEqual(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:
getPublicExponentin interfaceRSAPrivateCrtKey
-
getPrimeP
public BigInteger getPrimeP()
- Specified by:
getPrimePin interfaceRSAPrivateCrtKey
-
getPrimeQ
public BigInteger getPrimeQ()
- Specified by:
getPrimeQin interfaceRSAPrivateCrtKey
-
getPrimeExponentP
public BigInteger getPrimeExponentP()
- Specified by:
getPrimeExponentPin interfaceRSAPrivateCrtKey
-
getPrimeExponentQ
public BigInteger getPrimeExponentQ()
- Specified by:
getPrimeExponentQin interfaceRSAPrivateCrtKey
-
getCrtCoefficient
public BigInteger getCrtCoefficient()
- Specified by:
getCrtCoefficientin interfaceRSAPrivateCrtKey
-
isEqual
boolean isEqual(Key key)
- Overrides:
isEqualin classRawRSAPrivateKey
-
isEqual
boolean isEqual(RSAPrivateCrtKey key)
-
-