public abstract class CloudHsmKey
extends java.lang.Object
implements java.security.Key, javax.security.auth.Destroyable
| Modifier and Type | Method and Description |
|---|---|
void |
destroy() |
java.lang.String |
getAlgorithm() |
byte[] |
getEncoded() |
java.lang.String |
getFormat() |
boolean |
isDestroyed() |
public java.lang.String getAlgorithm()
getAlgorithm in interface java.security.Keypublic java.lang.String getFormat()
getFormat in interface java.security.Keypublic byte[] getEncoded()
getEncoded in interface java.security.Keypublic void destroy()
throws javax.security.auth.DestroyFailedException
After a successful call to destroy(), subsequent calls return successfully.
destroy in interface javax.security.auth.Destroyablejavax.security.auth.DestroyFailedExceptionpublic boolean isDestroyed()
isDestroyed in interface javax.security.auth.Destroyable