@Override
  public <P> P getLegacyPrimitive(KeyData keyData, Class<P> primitiveClass)
      throws GeneralSecurityException {
    return Registry.getPrimitive(keyData, primitiveClass);
  }
Represents the configuration as currently specified by the registry. That is, this configuration
is just a thin layer forwarding calls to the global {@link com.google.crypto.tink.Registry}.

<p>Because the global {@link com.google.crypto.tink.Registry} changes when user code adds to it,
using this class is not recommended.
java_src/src/main/java/com/google/crypto/tink/internal/RegistryConfiguration.java