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