private static boolean canUseAesGcmSive() {
    try {
      Cipher.getInstance("AES/GCM-SIV/NoPadding");
      return true;
    } catch (NoSuchAlgorithmException | NoSuchPaddingException ex) {
      return false;
    }
  }
This key manager generates new {@code AesGcmSivKey} keys and produces new instances of {@code
AesGcmSiv}.
java_src/src/main/java/com/google/crypto/tink/aead/AesGcmSivKeyManager.java