Package org.forgerock.secrets.gcpkms
Class GoogleKmsSecretKey
- java.lang.Object
-
- org.forgerock.secrets.gcpkms.GoogleKmsKey
-
- org.forgerock.secrets.gcpkms.GoogleKmsSecretKey
-
- All Implemented Interfaces:
Serializable
,Key
,SecretKey
,Destroyable
public class GoogleKmsSecretKey extends GoogleKmsKey implements SecretKey
A symmetric secret key stored in Google KMS.- See Also:
- Serialized Form
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description byte[]
encrypt(byte[] plaintext)
Encrypts the given plaintext with this key.-
Methods inherited from class org.forgerock.secrets.gcpkms.GoogleKmsKey
decrypt, getAlgorithm, getEncoded, getFormat
-
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, getEncoded, getFormat
-
-