Class ECPublicKeyImpl

  • All Implemented Interfaces:
    SdkmsKey, java.io.Serializable, java.security.interfaces.ECKey, java.security.interfaces.ECPublicKey, java.security.Key, java.security.PublicKey

    public class ECPublicKeyImpl
    extends java.lang.Object
    implements java.security.interfaces.ECPublicKey, SdkmsKey
    See Also:
    Serialized Form
    • Constructor Detail

      • ECPublicKeyImpl

        public ECPublicKeyImpl​(com.fortanix.sdkms.v1.model.SobjectDescriptor descriptor)
      • ECPublicKeyImpl

        public ECPublicKeyImpl​(com.fortanix.sdkms.v1.model.KeyObject keyObject)
      • ECPublicKeyImpl

        @Deprecated
        public ECPublicKeyImpl​(java.lang.String keyId,
                               byte[] encoded,
                               java.lang.String transientKey)
        Deprecated.
    • Method Detail

      • params

        public ECPublicKeyImpl params​(java.security.spec.ECParameterSpec params)
      • encodedMaterial

        public ECPublicKeyImpl encodedMaterial​(byte[] encoded)
      • getAlgorithm

        public java.lang.String getAlgorithm()
        Specified by:
        getAlgorithm in interface java.security.Key
      • getW

        public java.security.spec.ECPoint getW()
        Specified by:
        getW in interface java.security.interfaces.ECPublicKey
      • 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
      • getKeyDescriptor

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