Package org.wildfly.security.key
Class RawDHPrivateKey
- java.lang.Object
-
- org.wildfly.security.key.RawKey
-
- org.wildfly.security.key.RawPrivateKey
-
- org.wildfly.security.key.RawDHPrivateKey
-
- All Implemented Interfaces:
Serializable
,Key
,PrivateKey
,DHKey
,DHPrivateKey
,Destroyable
class RawDHPrivateKey extends RawPrivateKey implements DHPrivateKey, PrivateKey
- Author:
- David M. Lloyd
-
-
Field Summary
Fields Modifier and Type Field Description private DHParameterSpec
params
private static long
serialVersionUID
private BigInteger
x
-
Constructor Summary
Constructors Constructor Description RawDHPrivateKey(Key key)
RawDHPrivateKey(DHPrivateKey original)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DHParameterSpec
getParams()
BigInteger
getX()
(package private) boolean
isEqual(Key key)
(package private) boolean
isEqual(DHPrivateKey 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
-
x
private final BigInteger x
-
params
private final DHParameterSpec params
-
-
Constructor Detail
-
RawDHPrivateKey
RawDHPrivateKey(DHPrivateKey original)
-
RawDHPrivateKey
RawDHPrivateKey(Key key)
-
-
Method Detail
-
getX
public BigInteger getX()
- Specified by:
getX
in interfaceDHPrivateKey
-
getParams
public DHParameterSpec getParams()
-
isEqual
boolean isEqual(DHPrivateKey key)
-
-