public static <T extends Payload> SignedData<T> create(
      final T payload, final SECPSignature signature) {
    final Hash msgHash = payload.hashForSignature();
    return new SignedData<>(payload, Util.signatureToAddress(signature, msgHash), signature);
  }
Create signed data.

@param <T> the type parameter
@param payload the payload
@param signature the signature
@return the signed data
consensus/common/src/main/java/org/hyperledger/besu/consensus/common/bft/payload/SignedData.java