Class 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.String getAlgorithm()  
      byte[] getEncoded()  
      java.lang.String getFormat()  
      com.fortanix.sdkms.v1.model.SobjectDescriptor getKeyDescriptor()  
      java.security.spec.ECParameterSpec getParams()  
      java.math.BigInteger getS()  
      ECPrivateKeyImpl params​(java.security.spec.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​(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:
        getAlgorithm in interface java.security.Key
      • getParams

        public java.security.spec.ECParameterSpec getParams()
        Specified by:
        getParams in interface java.security.interfaces.ECKey
      • getFormat

        public java.lang.String getFormat()
        Specified by:
        getFormat in interface java.security.Key
      • getEncoded

        public byte[] getEncoded()
        Specified by:
        getEncoded in interface java.security.Key
      • getS

        public java.math.BigInteger getS()
        Specified by:
        getS in interface java.security.interfaces.ECPrivateKey
      • getKeyDescriptor

        public com.fortanix.sdkms.v1.model.SobjectDescriptor getKeyDescriptor()
        Specified by:
        getKeyDescriptor in interface SdkmsKey