public static final Map<String, KeyTemplate> get() throws GeneralSecurityException {
    Map<String, KeyTemplate> result = new HashMap<>();
    result.put(
        "HKDF_SHA256_DERIVES_AES128_GCM",
        createPrfBasedKeyTemplate(KeyTemplates.get("HKDF_SHA256"), KeyTemplates.get("AES128_GCM")));
    result.put(
        "HKDF_SHA256_DERIVES_AES256_GCM",
        createPrfBasedKeyTemplate(KeyTemplates.get("HKDF_SHA256"), KeyTemplates.get("AES256_GCM")));
    result.put(
        "HKDF_SHA256_DERIVES_HMAC_SHA256_128BITTAG",
        createPrfBasedKeyTemplate(
            KeyTemplates.get("HKDF_SHA256"), KeyTemplates.get("HMAC_SHA256_128BITTAG")));
    result.put(
        "HKDF_SHA256_DERIVES_HMAC_SHA256_PRF",
        createPrfBasedKeyTemplate(
            KeyTemplates.get("HKDF_SHA256"), KeyTemplates.get("HMAC_SHA256_PRF")));
    result.put(
        "HKDF_SHA256_DERIVES_AES256_GCM_HKDF_1MB",
        createPrfBasedKeyTemplate(
            KeyTemplates.get("HKDF_SHA256"), KeyTemplates.get("AES256_GCM_HKDF_1MB")));
    result.put(
        "HKDF_SHA256_DERIVES_ED25519",
        createPrfBasedKeyTemplate(KeyTemplates.get("HKDF_SHA256"), KeyTemplates.get("ED25519")));
    result.put(
        "HKDF_SHA256_DERIVES_XCHACHA20_POLY1305",
        createPrfBasedKeyTemplate(
            KeyTemplates.get("HKDF_SHA256"), KeyTemplates.get("XCHACHA20_POLY1305")));
    result.put(
        "HKDF_SHA256_DERIVES_AES256_SIV",
        createPrfBasedKeyTemplate(KeyTemplates.get("HKDF_SHA256"), KeyTemplates.get("AES256_SIV")));
    return Collections.unmodifiableMap(result);
  }
Contains key templates that should be part of Tinkey but are not defined in the corresponding
{@link KeyTypeManager#keyFormats()}.

<p>For example, key template {@code HKDF_SHA256_DERIVES_AES128_GCM} requires key template {@code
AES128_GCM} to exist in the {@link Registry}, which requires {@link AeadConfig#register()} to
have been called. Since {@link KeyDerivationConfig} does not automatically call {@link
AeadConfig#register()}, {@code HKDF_SHA256_DERIVES_AES128_GCM} cannot be defined in {@link
PrfBasedDeriverKeyManager#keyFormats()}.
tools/tinkey/src/main/java/com/google/crypto/tink/tinkey/TinkeyKeyTemplates.java