Class SdkmsSecretKey
- java.lang.Object
-
- com.fortanix.sdkms.jce.provider.keys.SdkmsSecretKey
-
- All Implemented Interfaces:
SdkmsCipherKey,SdkmsKey,Serializable,Key,SecretKey,Destroyable
- Direct Known Subclasses:
SdkmsAESKey,SdkmsDESedeKey,SdkmsDESKey,SdkmsHmacKey
public abstract class SdkmsSecretKey extends Object implements SecretKey, SdkmsCipherKey
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected IntegerkeySize-
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()StringgetFormat()com.fortanix.sdkms.v1.model.SobjectDescriptorgetKeyDescriptor()IntegergetKeySize()-
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 Integer keySize
-
-
Method Detail
-
getEncoded
public byte[] getEncoded()
- Specified by:
getEncodedin interfaceKey
-
getKeySize
public Integer getKeySize()
- Specified by:
getKeySizein interfaceSdkmsCipherKey
-
getKeyDescriptor
public com.fortanix.sdkms.v1.model.SobjectDescriptor getKeyDescriptor()
- Specified by:
getKeyDescriptorin interfaceSdkmsKey
-
-