public <ParametersT extends Parameters, SerializationT extends Serialization>
      SerializationT serializeParameters(
          ParametersT parameters, Class<SerializationT> serializationClass)
          throws GeneralSecurityException {
    return registry.get().serializeParameters(parameters, serializationClass);
  }
Serializes a given Parameters object into a "SerializationT" object.

<p>This will look up a previously registered serializer for the requested {@code
SerializationT} class and the passed in key type, and then call serializeKey on the result.
java_src/src/main/java/com/google/crypto/tink/internal/MutableSerializationRegistry.java