Package org.wildfly.security.key
Class RawRSAPrivateKey
- java.lang.Object
-
- org.wildfly.security.key.RawKey
-
- org.wildfly.security.key.RawPrivateKey
-
- org.wildfly.security.key.RawRSAPrivateKey
-
- All Implemented Interfaces:
Serializable
,RSAKey
,RSAPrivateKey
,Key
,PrivateKey
,Destroyable
- Direct Known Subclasses:
RawRSAMultiPrimePrivateCrtKey
,RawRSAPrivateCrtKey
class RawRSAPrivateKey extends RawPrivateKey implements RSAPrivateKey, PrivateKey
- Author:
- David M. Lloyd
-
-
Field Summary
Fields Modifier and Type Field Description private BigInteger
modulus
private BigInteger
privateExponent
private static long
serialVersionUID
-
Constructor Summary
Constructors Constructor Description RawRSAPrivateKey(RSAPrivateKey original)
RawRSAPrivateKey(Key original)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BigInteger
getModulus()
BigInteger
getPrivateExponent()
(package private) boolean
isEqual(RSAPrivateKey key)
(package private) boolean
isEqual(Key key)
-
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
-
-
-
-
Field Detail
-
serialVersionUID
private static final long serialVersionUID
- See Also:
- Constant Field Values
-
privateExponent
private final BigInteger privateExponent
-
modulus
private final BigInteger modulus
-
-
Constructor Detail
-
RawRSAPrivateKey
RawRSAPrivateKey(RSAPrivateKey original)
-
RawRSAPrivateKey
RawRSAPrivateKey(Key original)
-
-
Method Detail
-
getPrivateExponent
public BigInteger getPrivateExponent()
- Specified by:
getPrivateExponent
in interfaceRSAPrivateKey
-
getModulus
public BigInteger getModulus()
- Specified by:
getModulus
in interfaceRSAKey
-
isEqual
boolean isEqual(RSAPrivateKey key)
-
-