Class ECPrivateKeyImpl
- java.lang.Object
-
- com.fortanix.sdkms.jce.provider.keys.asym.elliptic.ECPrivateKeyImpl
-
- All Implemented Interfaces:
SdkmsKey
,Serializable
,ECKey
,ECPrivateKey
,Key
,PrivateKey
,Destroyable
public class ECPrivateKeyImpl extends Object implements ECPrivateKey, SdkmsKey
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ECPrivateKeyImpl(com.fortanix.sdkms.v1.model.KeyObject keyObject)
ECPrivateKeyImpl(com.fortanix.sdkms.v1.model.SobjectDescriptor descriptor)
ECPrivateKeyImpl(String keyId, ECParameterSpec params, String transientKey)
Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getAlgorithm()
byte[]
getEncoded()
String
getFormat()
com.fortanix.sdkms.v1.model.SobjectDescriptor
getKeyDescriptor()
ECParameterSpec
getParams()
BigInteger
getS()
ECPrivateKeyImpl
params(ECParameterSpec params)
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface javax.security.auth.Destroyable
destroy, isDestroyed
-
-
-
-
Constructor Detail
-
ECPrivateKeyImpl
public ECPrivateKeyImpl(com.fortanix.sdkms.v1.model.SobjectDescriptor descriptor)
-
ECPrivateKeyImpl
public ECPrivateKeyImpl(com.fortanix.sdkms.v1.model.KeyObject keyObject)
-
ECPrivateKeyImpl
@Deprecated public ECPrivateKeyImpl(String keyId, ECParameterSpec params, String transientKey)
Deprecated.
-
-
Method Detail
-
params
public ECPrivateKeyImpl params(ECParameterSpec params)
-
getAlgorithm
public String getAlgorithm()
- Specified by:
getAlgorithm
in interfaceKey
-
getParams
public ECParameterSpec getParams()
-
getEncoded
public byte[] getEncoded()
- Specified by:
getEncoded
in interfaceKey
-
getS
public BigInteger getS()
- Specified by:
getS
in interfaceECPrivateKey
-
getKeyDescriptor
public com.fortanix.sdkms.v1.model.SobjectDescriptor getKeyDescriptor()
- Specified by:
getKeyDescriptor
in interfaceSdkmsKey
-
-