Package org.wildfly.security.key
Class RawRSAMultiPrimePrivateCrtKey
- java.lang.Object
-
- org.wildfly.security.key.RawKey
-
- org.wildfly.security.key.RawPrivateKey
-
- org.wildfly.security.key.RawRSAPrivateKey
-
- org.wildfly.security.key.RawRSAMultiPrimePrivateCrtKey
-
- All Implemented Interfaces:
Serializable
,RSAKey
,RSAMultiPrimePrivateCrtKey
,RSAPrivateKey
,Key
,PrivateKey
,Destroyable
class RawRSAMultiPrimePrivateCrtKey extends RawRSAPrivateKey implements RSAMultiPrimePrivateCrtKey
- Author:
- David M. Lloyd
-
-
Field Summary
Fields Modifier and Type Field Description private BigInteger
crtCoefficient
private RSAOtherPrimeInfo[]
otherPrimeInfo
private BigInteger
primeExponentP
private BigInteger
primeExponentQ
private BigInteger
primeP
private BigInteger
primeQ
private BigInteger
publicExponent
private static long
serialVersionUID
-
Constructor Summary
Constructors Constructor Description RawRSAMultiPrimePrivateCrtKey(RSAMultiPrimePrivateCrtKey original)
RawRSAMultiPrimePrivateCrtKey(Key original)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BigInteger
getCrtCoefficient()
RSAOtherPrimeInfo[]
getOtherPrimeInfo()
BigInteger
getPrimeExponentP()
BigInteger
getPrimeExponentQ()
BigInteger
getPrimeP()
BigInteger
getPrimeQ()
BigInteger
getPublicExponent()
(package private) boolean
isEqual(RSAMultiPrimePrivateCrtKey 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
-
otherPrimeInfo
private final RSAOtherPrimeInfo[] otherPrimeInfo
-
-
Constructor Detail
-
RawRSAMultiPrimePrivateCrtKey
RawRSAMultiPrimePrivateCrtKey(RSAMultiPrimePrivateCrtKey original)
-
RawRSAMultiPrimePrivateCrtKey
RawRSAMultiPrimePrivateCrtKey(Key original)
-
-
Method Detail
-
getPublicExponent
public BigInteger getPublicExponent()
- Specified by:
getPublicExponent
in interfaceRSAMultiPrimePrivateCrtKey
-
getPrimeP
public BigInteger getPrimeP()
- Specified by:
getPrimeP
in interfaceRSAMultiPrimePrivateCrtKey
-
getPrimeQ
public BigInteger getPrimeQ()
- Specified by:
getPrimeQ
in interfaceRSAMultiPrimePrivateCrtKey
-
getPrimeExponentP
public BigInteger getPrimeExponentP()
- Specified by:
getPrimeExponentP
in interfaceRSAMultiPrimePrivateCrtKey
-
getPrimeExponentQ
public BigInteger getPrimeExponentQ()
- Specified by:
getPrimeExponentQ
in interfaceRSAMultiPrimePrivateCrtKey
-
getCrtCoefficient
public BigInteger getCrtCoefficient()
- Specified by:
getCrtCoefficient
in interfaceRSAMultiPrimePrivateCrtKey
-
getOtherPrimeInfo
public RSAOtherPrimeInfo[] getOtherPrimeInfo()
- Specified by:
getOtherPrimeInfo
in interfaceRSAMultiPrimePrivateCrtKey
-
isEqual
boolean isEqual(Key key)
- Overrides:
isEqual
in classRawRSAPrivateKey
-
isEqual
boolean isEqual(RSAMultiPrimePrivateCrtKey key)
-
-