public Key createKey(Parameters parameters, @Nullable Integer idRequirement)
      throws GeneralSecurityException {
    return createKeyTyped(parameters, idRequirement);
  }
Creates a {@link Key} from a given {@link Parameters} object.

<p>Finds the previously added creator (with {@link #add}) for the class given by {@code
parameters.getClass()} and uses it.
java_src/src/main/java/com/google/crypto/tink/internal/MutableKeyCreationRegistry.java