docs: public static RedeemData of(ECKey key, Script redeemScript) {
          checkArgument(ScriptPattern.isP2PKH(redeemScript)
                  || ScriptPattern.isP2WPKH(redeemScript) || ScriptPattern.isP2PK(redeemScript));
          return key != null ? new RedeemData(Collections.singletonList(key), redeemScript) : null;
      }