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 StringgetAlgorithm()byte[]getEncoded()StringgetFormat()com.fortanix.sdkms.v1.model.SobjectDescriptorgetKeyDescriptor()ECParameterSpecgetParams()BigIntegergetS()ECPrivateKeyImplparams(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:
getAlgorithmin interfaceKey
-
getParams
public ECParameterSpec getParams()
-
getEncoded
public byte[] getEncoded()
- Specified by:
getEncodedin interfaceKey
-
getS
public BigInteger getS()
- Specified by:
getSin interfaceECPrivateKey
-
getKeyDescriptor
public com.fortanix.sdkms.v1.model.SobjectDescriptor getKeyDescriptor()
- Specified by:
getKeyDescriptorin interfaceSdkmsKey
-
-