Class GoogleKmsAesCipher

java.lang.Object
javax.crypto.CipherSpi
org.forgerock.secrets.gcpkms.GoogleKmsAesCipher

public final class GoogleKmsAesCipher extends CipherSpi
A Cipher implementation using Google KMS symmetric encryption/decryption. This is a variant of AES-GCM, but uses a proprietary Google-specific padding scheme so is not directly compatible with standard AES/GCM/NoPadding. This cipher implementation is therefore advertised using the name AES/GCM/GoogleKmsPadding and cannot be used for JWT encryption or other standard modes. It is mainly useful for encrypting and decrypting data locally.