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 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()
String
getFormat()
com.fortanix.sdkms.v1.model.SobjectDescriptor
getKeyDescriptor()
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 Integer keySize
-
-
Method Detail
-
getEncoded
public byte[] getEncoded()
- Specified by:
getEncoded
in interfaceKey
-
getKeySize
public Integer getKeySize()
- Specified by:
getKeySize
in interfaceSdkmsCipherKey
-
getKeyDescriptor
public com.fortanix.sdkms.v1.model.SobjectDescriptor getKeyDescriptor()
- Specified by:
getKeyDescriptor
in interfaceSdkmsKey
-
-