<commit_before>package de.uni.trier.infsec.functionalities.pki.real;

import java.io.File;
import org.tmatesoft.sqljet.core.SqlJetException;
import org.tmatesoft.sqljet.core.SqlJetTransactionMode;
import org.tmatesoft.sqljet.core.table.ISqlJetCursor;
import org.tmatesoft.sqljet.core.table.ISqlJetTable;
import org.tmatesoft.sqljet.core.table.SqlJetDb;
import de.uni.trier.infsec.lib.network.NetworkError;
import de.uni.trier.infsec.utils.Utilities;

public class PKIServerCore implements PKIServer {
	
	public static final String DEFAULT_DATABASE = System.getProperty("java.io.tmpdir") + File.separator + "evoting_server.db";
	private static final String DB_TABLE_NAME_PKE = "PKI";
	private static final String DB_COLUMN_NAME_KEY = "KEY";
	// Table PKI stores ID and corresponding Public Key in hex-representation<commit_msg>change db filename in PKIServerCore<commit_after>package de.uni.trier.infsec.functionalities.pki.real;

import java.io.File;
import org.tmatesoft.sqljet.core.SqlJetException;
import org.tmatesoft.sqljet.core.SqlJetTransactionMode;
import org.tmatesoft.sqljet.core.table.ISqlJetCursor;
import org.tmatesoft.sqljet.core.table.ISqlJetTable;
import org.tmatesoft.sqljet.core.table.SqlJetDb;
import de.uni.trier.infsec.lib.network.NetworkError;
import de.uni.trier.infsec.utils.Utilities;

public class PKIServerCore implements PKIServer {
	
	public static final String DEFAULT_DATABASE = System.getProperty("java.io.tmpdir") + File.separator + "PKI_server.db";
	private static final String DB_TABLE_NAME_PKE = "PKI";
	private static final String DB_COLUMN_NAME_KEY = "KEY";
	// Table PKI stores ID and corresponding Public Key in hex-representation
{'fraction_non_alphanumeric': 0.09700598802395209, 'fraction_numerical': 0.0, 'mean_word_length': 5.99163179916318, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '4555822', 'n_tokens_mistral': 567, 'n_tokens_neox': 547, 'n_words': 109}