Class SdkmsSecretKey

    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected java.lang.Integer keySize  
      • Fields inherited from interface javax.crypto.SecretKey

        serialVersionUID
    • Constructor Summary

      Constructors 
      Constructor Description
      SdkmsSecretKey​(com.fortanix.sdkms.v1.model.KeyObject keyObject)  
      SdkmsSecretKey​(com.fortanix.sdkms.v1.model.SobjectDescriptor descriptor)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      byte[] getEncoded()  
      java.lang.String getFormat()  
      com.fortanix.sdkms.v1.model.SobjectDescriptor getKeyDescriptor()  
      java.lang.Integer getKeySize()  
      • 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
      • Methods inherited from interface java.security.Key

        getAlgorithm
    • Field Detail

      • keySize

        protected java.lang.Integer keySize
    • Constructor Detail

      • SdkmsSecretKey

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

        public SdkmsSecretKey​(com.fortanix.sdkms.v1.model.KeyObject keyObject)
    • Method Detail

      • 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