public static void register() throws GeneralSecurityException {
    PrfSetWrapper.register();
    HmacPrfKeyManager.register(/*newKeyAllowed=*/ true);

    if (TinkFips.useOnlyFips()) {
      // If Tink is built in FIPS-mode do not register algorithms which are not compatible.
      return;
    }

    AesCmacPrfKeyManager.register(/*newKeyAllowed=*/ true);
    HkdfPrfKeyManager.register(/*newKeyAllowed=*/ true);
  }
Tries to register with the {@link Registry} all instances of {@link
com.google.crypto.tink.KeyManager} needed to handle Prf key types supported in Tink.
java_src/src/main/java/com/google/crypto/tink/prf/PrfConfig.java