@Override
  public Aead getAead(String uri) throws GeneralSecurityException {
    if (this.keyUri != null && !this.keyUri.equals(uri)) {
      throw new GeneralSecurityException(
          String.format("this client is bound to %s, cannot load keys bound to %s",
              this.keyUri, uri));
    }
    return new GcpKmsAead(cloudKms, Validators.validateKmsKeyUriAndRemovePrefix(PREFIX, uri));
  }
Specifies the {@link com.google.api.services.cloudkms.v1.CloudKMS} object to be used. Only used
for testing.
java_src/src/main/java/com/google/crypto/tink/integration/gcpkms/GcpKmsClient.java