<commit_before>import ee.bitweb.banklinksdk.Banklink;
import ee.bitweb.banklinksdk.seb.Seb;
import ee.bitweb.banklinksdk.protocol.Vendor;
import ee.bitweb.banklinksdk.protocol.Protocol;
import ee.bitweb.banklinksdk.protocol.iPizza.PaymentRequest;
import ee.bitweb.banklinksdk.protocol.iPizza.iPizzaProtocol;
import ee.bitweb.banklinksdk.request.PaymentRequestParams;
import ee.bitweb.banklinksdk.seb.SebFields;

/**
 * Created by tobre on 18/03/2017.
 */
public class Main {

    public static void main(String args[]) {

        Protocol protocol = new iPizzaProtocol(
                "public",
                "private",
                new Vendor("sender", "name", "account"),
                "http://localhost/return",
                "http://localhost/return"
        );
        Banklink seb = new Seb(protocol);

        PaymentRequest paymentRequest = seb.preparePaymentRequest(new PaymentRequestParams(12.0, "Laheee", "Minu Vitunumber"));

        String html = paymentRequest.createRequestHtml();

        System.out.println(html);



        seb.prepareAuthenticationRequest();

    }

}
<commit_msg>Added html parser + private generated key with corresponding self signed cert.<commit_after>import ee.bitweb.banklinksdk.Banklink;
import ee.bitweb.banklinksdk.seb.Seb;
import ee.bitweb.banklinksdk.protocol.Vendor;
import ee.bitweb.banklinksdk.protocol.Protocol;
import ee.bitweb.banklinksdk.protocol.iPizza.PaymentRequest;
import ee.bitweb.banklinksdk.protocol.iPizza.iPizzaProtocol;
import ee.bitweb.banklinksdk.request.PaymentRequestParams;
import ee.bitweb.banklinksdk.seb.SebFields;

/**
 * Created by tobre on 18/03/2017.
 */
public class Main {

    protected static String privateKey = "-----BEGIN RSA PRIVATE KEY-----" +
            "MIICXQIBAAKBgQDfsdR/02PcAvH1QzP3AhG1NJFggWbHL6W0Ji4XlGrJtZG4S0xX" +
            "bZL/37q1+IU4a3hqRUqBu+Z9dQ1Cn2JeF0vJOQW8QV1fslY3rajMUIQjKa/keUoe" +
            "EBkQBVHGzes35tOheeuSGU7TBSrFCY06x0AWIWSzuxiqZcyomwfFCobGAwIDAQAB" +
            "AoGAV9jVU9GnULqTXLckjCdy3s+jG9wVibmrgGDSDw6JFWfJry9a7qaoaPXqtBXB" +
            "85M4+br2dJZfAPvb1kMTdVH+v24qXzi6TYEeRTNXqVC9Z24+9p34rx/jcgKNYuw3" +
            "aUBI6uIe/L0LDK0LBDjn/IYtZ7imu/fNhOuOBXFJK7u230ECQQD23G07+6+GTgET" +
            "hPOuqtNQMRlfu0gCsjHRWDicrmibbiR5AP7UbX8b6PoNwCevf3LqLbGQZWJG5if0" +
            "UPPUEsChAkEA5/nZSkH8Sloht740Hl2FzenP3/uprJMFz6NISlcBQA4xm0+0mbLK" +
            "JcGdvxgHdqAfYXG/d+b832abZSEEybBwIwJBAOdxmmhWfCYrFA8840qrlhrlLaj3" +
            "aXg9oT9ouwsK6cBv73oTWNfJIRcFwwsJUSvVDeRImuWKaC2Ys3T4QOJgAoECQAgg" +
            "gLRRS31vWu8NAtZtgFqObnHyZydcnz9/APFZyvlrheFjEXixAtP/zH79YIWPZooL" +
            "aiHRPdq1xYvtdDV8sPECQQDcF3qv9UTxeR7fHv7BM8tE3gRSfb+81s5ndq7n+dDQ" +
            "LLvyUf0n8ojvgGvCZIWISTt544s2j/CB+/EI5QhmBF65" + "-----END RSA PRIVATE KEY-----";

    protected static String publicKey =
            "<KEY>" +
            "<KEY>" +
            "<KEY>" +
            "<KEY>" +
            "<KEY>" +
            "<KEY>" +
            "<KEY>" +
            "<KEY>" +
            "Jq4afuaaQeDiO6+hQKs0ctHrvrtYdaOc5iKf40lkQZnonHwQ9Fwz0s5bx4EwFT9S\n" +
            "3ynyjVUckdhXAgMBAAEwDQYJKoZIhvcNAQELBQADgYEAa0vcJcbjcMIM9fDpWIZx\n" +
            "y1CNysOnNJLE6AfvuMR/l292Z1q6QJFNz6IQnr3UpeByDzlJqPIddeRYrJKvZVo/\n" +
            "dHPG7NOFJlHf64VDmWFobswMjO2ABbPejGlVDSnCuQ9zf2Tcrp0vo/8LxSLBHO83\n" +
            "uIzzHtAu+2oVGx60/9AoXw8=";

    public static void main(String args[]) {

        Protocol protocol = new iPizzaProtocol(
                publicKey,
                privateKey,
                new Vendor("sender", "name", "account"),
                "http://localhost/return",
                "http://localhost/return"
        );
        Banklink seb = new Seb(protocol);

        PaymentRequest paymentRequest = seb.preparePaymentRequest(new PaymentRequestParams(12.0, "Laheee", "Minu Vitunumber"));

        String html = paymentRequest.createRequestHtml();

        System.out.println(html);



        seb.prepareAuthenticationRequest();

    }

}

{'fraction_non_alphanumeric': 0.10248756218905472, 'fraction_numerical': 0.046019900497512436, 'mean_word_length': 3.025025025025025, 'pattern_counts': {'":': 0, '<': 11, '<?xml version=': 0, '>': 11, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6924737', 'n_tokens_mistral': 1784, 'n_tokens_neox': 1664, 'n_words': 166}