public static void register() throws GeneralSecurityException {
    MacWrapper.register();
    ChunkedMacWrapper.register();
    HmacKeyManager.register(true);

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

    AesCmacKeyManager.register(true);
  }
Tries to register with the {@link com.google.crypto.tink.Registry} all instances of {@link
com.google.crypto.tink.Catalogue} and {@link com.google.crypto.tink.KeyManager} needed to
handle Mac key types supported in Tink.

@since 1.2.0
java_src/src/main/java/com/google/crypto/tink/mac/MacConfig.java