Class ECPrivateKeyImpl
- java.lang.Object
-
- com.fortanix.sdkms.jce.provider.keys.asym.elliptic.ECPrivateKeyImpl
-
- All Implemented Interfaces:
SdkmsKey,java.io.Serializable,java.security.interfaces.ECKey,java.security.interfaces.ECPrivateKey,java.security.Key,java.security.PrivateKey,javax.security.auth.Destroyable
public class ECPrivateKeyImpl extends java.lang.Object implements java.security.interfaces.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(java.lang.String keyId, java.security.spec.ECParameterSpec params, java.lang.String transientKey)Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetAlgorithm()byte[]getEncoded()java.lang.StringgetFormat()com.fortanix.sdkms.v1.model.SobjectDescriptorgetKeyDescriptor()java.security.spec.ECParameterSpecgetParams()java.math.BigIntegergetS()ECPrivateKeyImplparams(java.security.spec.ECParameterSpec params)
-
-
-
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(java.lang.String keyId, java.security.spec.ECParameterSpec params, java.lang.String transientKey)Deprecated.
-
-
Method Detail
-
params
public ECPrivateKeyImpl params(java.security.spec.ECParameterSpec params)
-
getAlgorithm
public java.lang.String getAlgorithm()
- Specified by:
getAlgorithmin interfacejava.security.Key
-
getParams
public java.security.spec.ECParameterSpec getParams()
- Specified by:
getParamsin interfacejava.security.interfaces.ECKey
-
getFormat
public java.lang.String getFormat()
- Specified by:
getFormatin interfacejava.security.Key
-
getEncoded
public byte[] getEncoded()
- Specified by:
getEncodedin interfacejava.security.Key
-
getS
public java.math.BigInteger getS()
- Specified by:
getSin interfacejava.security.interfaces.ECPrivateKey
-
getKeyDescriptor
public com.fortanix.sdkms.v1.model.SobjectDescriptor getKeyDescriptor()
- Specified by:
getKeyDescriptorin interfaceSdkmsKey
-
-