public static void register() throws GeneralSecurityException {
    JwtPublicKeySignWrapper.register();
    JwtPublicKeyVerifyWrapper.register();

    JwtEcdsaSignKeyManager.registerPair(/*newKeyAllowed=*/ true);
    JwtRsaSsaPkcs1SignKeyManager.registerPair(/* newKeyAllowed= */ true);

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

    JwtRsaSsaPssSignKeyManager.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 JwtPublicKeySign and PublicKeyVerify key
types supported in Tink.
java_src/src/main/java/com/google/crypto/tink/jwt/JwtSignatureConfig.java