public static void register() throws GeneralSecurityException {
    HybridDecryptWrapper.register();
    HybridEncryptWrapper.register();

    AeadConfig.register();
    DeterministicAeadConfig.register();

    if (TinkFips.useOnlyFips()) {
      // If Tink is built in FIPS-mode do not register algorithms which are not compatible.
      // Currently there is no hybrid encryption scheme which is part of FIPS 140-2, therefore
      // we do not register any in FIPS-mode.
      return;
    }

    EciesAeadHkdfPrivateKeyManager.registerPair(/*newKeyAllowed=*/true);
    HpkePrivateKeyManager.registerPair(/*newKeyAllowed=*/true);
  }
Tries to register with the {@link com.google.crypto.tink.Registry} all instances of {@link
com.google.crypto.tink.Catalogue} needed to handle HybridDecrypt and HybridEncrypt key types
supported in Tink.

<p>Because HybridDecrypt and HybridEncrypt key types depend on {@link
com.google.crypto.tink.Aead} and {@link com.google.crypto.tink.Mac} key types, this method also
registers all Aead and Mac catalogues.

@since 1.2.0
java_src/src/main/java/com/google/crypto/tink/hybrid/HybridConfig.java