@Deprecated
  public static synchronized <P> void registerKeyManager(
      String typeUrl, final KeyManager<P> manager) throws GeneralSecurityException {
    registerKeyManager(typeUrl, manager, /* newKeyAllowed= */ true);
  }
Tries to register {@code manager} for the given {@code typeUrl}. Users can generate new keys
with this manager using the {@link Registry#newKey} methods.

<p>Does nothing if there's an existing key manager and it's an instance of the same class as
{@code manager}.

@throws GeneralSecurityException if there's an existing key manager and it is not an instance
    of the same class as {@code manager}
@deprecated use {@link #registerKeyManager(KeyManager) registerKeyManager(KeyManager&lt;P&gt;)}
java_src/src/main/java/com/google/crypto/tink/Registry.java