test_class.declarator: manager = new HkdfPrfKeyManager()
test_class.modifier: private final
test_class.original_string: private final HkdfPrfKeyManager manager = new HkdfPrfKeyManager();
test_class.type: HkdfPrfKeyManager
test_class.var_name: manager
test_class.declarator: factory =
        manager.keyFactory()
test_class.modifier: private final
test_class.original_string: private final KeyTypeManager.KeyFactory<HkdfPrfKeyFormat, HkdfPrfKey> factory =
        manager.keyFactory();
test_class.type: KeyTypeManager.KeyFactory<HkdfPrfKeyFormat, HkdfPrfKey>
test_class.var_name: factory
test_class.file: java_src/src/test/java/com/google/crypto/tink/prf/HkdfPrfKeyManagerTest.java
test_class.identifier: HkdfPrfKeyManagerTest
test_case.body: @Test
    public void testHkdfSha256Template() throws Exception {
      KeyTemplate kt = HkdfPrfKeyManager.hkdfSha256Template();
      assertThat(kt.getTypeUrl()).isEqualTo(new HkdfPrfKeyManager().getKeyType());
      assertThat(kt.getOutputPrefixType()).isEqualTo(KeyTemplate.OutputPrefixType.RAW);
  
      HkdfPrfKeyFormat format =
          HkdfPrfKeyFormat.parseFrom(kt.getValue(), ExtensionRegistryLite.getEmptyRegistry());
      assertThat(format.getKeySize()).isEqualTo(32);
      assertThat(format.getParams().getHash()).isEqualTo(HashType.SHA256);
    }
test_case.class_method_signature: HkdfPrfKeyManagerTest.testHkdfSha256Template()
test_case.full_signature: @Test public void testHkdfSha256Template()
test_case.identifier: testHkdfSha256Template
test_case.invocations: hkdfSha256Template isEqualTo assertThat getTypeUrl getKeyType isEqualTo assertThat getOutputPrefixType parseFrom getValue getEmptyRegistry isEqualTo assertThat getKeySize isEqualTo assertThat getHash getParams
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testHkdfSha256Template()
focal_class.declarator: MIN_KEY_SIZE = 32
focal_class.modifier: private static final
focal_class.original_string: private static final int MIN_KEY_SIZE = 32;
focal_class.type: int
focal_class.var_name: MIN_KEY_SIZE
focal_class.file: java_src/src/main/java/com/google/crypto/tink/prf/HkdfPrfKeyManager.java
focal_class.identifier: HkdfPrfKeyManager
focal_class.class_method_signature: HkdfPrfKeyManager.convertHash(HashType hashType)
focal_class.full_signature: private static com.google.crypto.tink.subtle.Enums.HashType convertHash(HashType hashType)
focal_class.identifier: convertHash
focal_class.modifiers: private static
focal_class.parameters: (HashType hashType)
focal_class.return: com.google.crypto.tink.subtle.Enums.HashType
focal_class.signature: com.google.crypto.tink.subtle.Enums.HashType convertHash(HashType hashType)
focal_class.class_method_signature: HkdfPrfKeyManager.HkdfPrfKeyManager()
focal_class.full_signature:   HkdfPrfKeyManager()
focal_class.identifier: HkdfPrfKeyManager
focal_class.parameters: ()
focal_class.signature:  HkdfPrfKeyManager()
focal_class.class_method_signature: HkdfPrfKeyManager.getKeyType()
focal_class.full_signature: @Override public String getKeyType()
focal_class.identifier: getKeyType
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: String
focal_class.signature: String getKeyType()
focal_class.class_method_signature: HkdfPrfKeyManager.getVersion()
focal_class.full_signature: @Override public int getVersion()
focal_class.identifier: getVersion
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: int
focal_class.signature: int getVersion()
focal_class.class_method_signature: HkdfPrfKeyManager.keyMaterialType()
focal_class.full_signature: @Override public KeyMaterialType keyMaterialType()
focal_class.identifier: keyMaterialType
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: KeyMaterialType
focal_class.signature: KeyMaterialType keyMaterialType()
focal_class.class_method_signature: HkdfPrfKeyManager.validateKey(HkdfPrfKey key)
focal_class.full_signature: @Override public void validateKey(HkdfPrfKey key)
focal_class.identifier: validateKey
focal_class.modifiers: @Override public
focal_class.parameters: (HkdfPrfKey key)
focal_class.return: void
focal_class.signature: void validateKey(HkdfPrfKey key)
focal_class.class_method_signature: HkdfPrfKeyManager.parseKey(ByteString byteString)
focal_class.full_signature: @Override public HkdfPrfKey parseKey(ByteString byteString)
focal_class.identifier: parseKey
focal_class.modifiers: @Override public
focal_class.parameters: (ByteString byteString)
focal_class.return: HkdfPrfKey
focal_class.signature: HkdfPrfKey parseKey(ByteString byteString)
focal_class.class_method_signature: HkdfPrfKeyManager.keyFactory()
focal_class.full_signature: @Override public KeyFactory<HkdfPrfKeyFormat, HkdfPrfKey> keyFactory()
focal_class.identifier: keyFactory
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: KeyFactory<HkdfPrfKeyFormat, HkdfPrfKey>
focal_class.signature: KeyFactory<HkdfPrfKeyFormat, HkdfPrfKey> keyFactory()
focal_class.class_method_signature: HkdfPrfKeyManager.validateKeySize(int keySize)
focal_class.full_signature: private static void validateKeySize(int keySize)
focal_class.identifier: validateKeySize
focal_class.modifiers: private static
focal_class.parameters: (int keySize)
focal_class.return: void
focal_class.signature: void validateKeySize(int keySize)
focal_class.class_method_signature: HkdfPrfKeyManager.validateParams(HkdfPrfParams params)
focal_class.full_signature: private static void validateParams(HkdfPrfParams params)
focal_class.identifier: validateParams
focal_class.modifiers: private static
focal_class.parameters: (HkdfPrfParams params)
focal_class.return: void
focal_class.signature: void validateParams(HkdfPrfParams params)
focal_class.class_method_signature: HkdfPrfKeyManager.register(boolean newKeyAllowed)
focal_class.full_signature: public static void register(boolean newKeyAllowed)
focal_class.identifier: register
focal_class.modifiers: public static
focal_class.parameters: (boolean newKeyAllowed)
focal_class.return: void
focal_class.signature: void register(boolean newKeyAllowed)
focal_class.class_method_signature: HkdfPrfKeyManager.staticKeyType()
focal_class.full_signature: public static String staticKeyType()
focal_class.identifier: staticKeyType
focal_class.modifiers: public static
focal_class.parameters: ()
focal_class.return: String
focal_class.signature: String staticKeyType()
focal_class.class_method_signature: HkdfPrfKeyManager.hkdfSha256Template()
focal_class.full_signature: public static final KeyTemplate hkdfSha256Template()
focal_class.identifier: hkdfSha256Template
focal_class.modifiers: public static final
focal_class.parameters: ()
focal_class.return: KeyTemplate
focal_class.signature: KeyTemplate hkdfSha256Template()
focal_class.superclass: extends KeyTypeManager<HkdfPrfKey>
focal_method.body: public static final KeyTemplate hkdfSha256Template() {
      HkdfPrfKeyFormat format =
          HkdfPrfKeyFormat.newBuilder()
              .setKeySize(32) // the size in bytes of the HKDF key
              .setParams(HkdfPrfParams.newBuilder().setHash(HashType.SHA256))
              .build();
      return KeyTemplate.create(
          HkdfPrfKeyManager.staticKeyType(), format.toByteArray(), KeyTemplate.OutputPrefixType.RAW);
    }
focal_method.class_method_signature: HkdfPrfKeyManager.hkdfSha256Template()
focal_method.full_signature: public static final KeyTemplate hkdfSha256Template()
focal_method.identifier: hkdfSha256Template
focal_method.invocations: build setParams setKeySize newBuilder setHash newBuilder create staticKeyType toByteArray
focal_method.modifiers: public static final
focal_method.parameters: ()
focal_method.return: KeyTemplate
focal_method.signature: KeyTemplate hkdfSha256Template()