Public Member Functions | |
RetentionDlg () | |
Static Public Member Functions | |
static void | main (String args[]) |
Package Attributes | |
PublicKey | m_publicKey = null |
byte[] | m_logKeyBlock = null |
Static Package Attributes | |
static DataRetentionSmartCard | anonLog = new DataRetentionSmartCard() |
Private Member Functions | |
void | initComponents () |
void | jButton1ActionPerformed (java.awt.event.ActionEvent evt) |
void | SetCurrentDateActionPerformed (java.awt.event.ActionEvent evt) |
void | authenticateUserActionPerformed (java.awt.event.ActionEvent evt) |
void | retrieveLogsActionPerformed (java.awt.event.ActionEvent evt) |
Private Attributes | |
javax.swing.JButton | SetCurrentDate |
javax.swing.JButton | authenticateUser |
javax.swing.JButton | createTestLogs |
javax.swing.JButton | jButton1 |
javax.swing.JLabel | jLabel1 |
javax.swing.JLabel | jLabel2 |
javax.swing.JLabel | jLabel3 |
javax.swing.JLabel | jLabel4 |
javax.swing.JLabel | jLabel5 |
javax.swing.JLabel | jLabel6 |
javax.swing.JPanel | jPanel1 |
javax.swing.JPanel | jPanel2 |
javax.swing.JPanel | jPanel3 |
javax.swing.JScrollPane | jScrollPane1 |
javax.swing.JPasswordField | m_adminPIN |
javax.swing.JTextField | m_currentDate |
javax.swing.JTextArea | m_logs |
javax.swing.JTextField | m_logsPeriod |
javax.swing.JTextField | m_testLogsPeriod |
javax.swing.JPasswordField | m_userPIN |
javax.swing.JButton | retrieveLogs |
Static Private Attributes | |
static byte | testLogKey [] = {(byte) 0x31, (byte) 0x31, (byte) 0x31, (byte) 0x31, (byte) 0x31, (byte) 0x31, (byte) 0x31, (byte) 0x31, (byte) 0x31, (byte) 0x31, (byte) 0x31, (byte) 0x31, (byte) 0x31, (byte) 0x31, (byte) 0x31, (byte) 0x31} |
static final byte | FOOTER_LENGTH = 20 |
mixconfig.tools.dataretention.RetentionDlg.RetentionDlg | ( | ) |
Creates new form RetentionDlg
References mixconfig.tools.dataretention.RetentionDlg.anonLog, mixconfig.tools.dataretention.DataRetentionSmartCard.connectToSmartCard(), mixconfig.tools.dataretention.RetentionDlg.initComponents(), mixconfig.tools.dataretention.RetentionDlg.m_logs, mixconfig.tools.dataretention.RetentionDlg.m_publicKey, and mixconfig.tools.dataretention.DataRetentionSmartCard.retrievePublicKey().
Referenced by mixconfig.tools.dataretention.RetentionDlg.main().
void mixconfig.tools.dataretention.RetentionDlg.initComponents | ( | ) | [private] |
This method is called from within the constructor to initialize the form. WARNING: Do NOT modify this code. The content of this method is always regenerated by the Form Editor.
References mixconfig.tools.dataretention.RetentionDlg.authenticateUser, mixconfig.tools.dataretention.RetentionDlg.authenticateUserActionPerformed(), mixconfig.tools.dataretention.RetentionDlg.createTestLogs, mixconfig.tools.dataretention.RetentionDlg.jButton1, mixconfig.tools.dataretention.RetentionDlg.jButton1ActionPerformed(), mixconfig.tools.dataretention.RetentionDlg.jLabel1, mixconfig.tools.dataretention.RetentionDlg.jLabel2, mixconfig.tools.dataretention.RetentionDlg.jLabel3, mixconfig.tools.dataretention.RetentionDlg.jLabel4, mixconfig.tools.dataretention.RetentionDlg.jLabel5, mixconfig.tools.dataretention.RetentionDlg.jLabel6, mixconfig.tools.dataretention.RetentionDlg.jPanel1, mixconfig.tools.dataretention.RetentionDlg.jPanel2, mixconfig.tools.dataretention.RetentionDlg.jPanel3, mixconfig.tools.dataretention.RetentionDlg.jScrollPane1, mixconfig.tools.dataretention.RetentionDlg.m_adminPIN, mixconfig.tools.dataretention.RetentionDlg.m_currentDate, mixconfig.tools.dataretention.RetentionDlg.m_logs, mixconfig.tools.dataretention.RetentionDlg.m_logsPeriod, mixconfig.tools.dataretention.RetentionDlg.m_testLogsPeriod, mixconfig.tools.dataretention.RetentionDlg.m_userPIN, mixconfig.tools.dataretention.RetentionDlg.retrieveLogs, mixconfig.tools.dataretention.RetentionDlg.retrieveLogsActionPerformed(), mixconfig.tools.dataretention.RetentionDlg.SetCurrentDate, and mixconfig.tools.dataretention.RetentionDlg.SetCurrentDateActionPerformed().
Referenced by mixconfig.tools.dataretention.RetentionDlg.RetentionDlg().
void mixconfig.tools.dataretention.RetentionDlg.jButton1ActionPerformed | ( | java.awt.event.ActionEvent | evt | ) | [private] |
References mixconfig.tools.dataretention.DataRetentionSmartCard.Admin_Authenticate(), mixconfig.tools.dataretention.RetentionDlg.anonLog, mixconfig.tools.dataretention.RetentionDlg.m_adminPIN, and mixconfig.tools.dataretention.RetentionDlg.m_logs.
Referenced by mixconfig.tools.dataretention.RetentionDlg.initComponents().
void mixconfig.tools.dataretention.RetentionDlg.SetCurrentDateActionPerformed | ( | java.awt.event.ActionEvent | evt | ) | [private] |
References mixconfig.tools.dataretention.DataRetentionSmartCard.Admin_SetCurrentDate(), mixconfig.tools.dataretention.RetentionDlg.anonLog, mixconfig.tools.dataretention.RetentionDlg.m_currentDate, and mixconfig.tools.dataretention.RetentionDlg.m_logs.
Referenced by mixconfig.tools.dataretention.RetentionDlg.initComponents().
void mixconfig.tools.dataretention.RetentionDlg.authenticateUserActionPerformed | ( | java.awt.event.ActionEvent | evt | ) | [private] |
References mixconfig.tools.dataretention.RetentionDlg.anonLog, mixconfig.tools.dataretention.DataRetentionSmartCard.authenticateUser(), mixconfig.tools.dataretention.RetentionDlg.m_logs, and mixconfig.tools.dataretention.RetentionDlg.m_userPIN.
Referenced by mixconfig.tools.dataretention.RetentionDlg.initComponents().
void mixconfig.tools.dataretention.RetentionDlg.retrieveLogsActionPerformed | ( | java.awt.event.ActionEvent | evt | ) | [private] |
References mixconfig.tools.dataretention.RetentionDlg.anonLog, mixconfig.tools.dataretention.DataRetentionSmartCard.bytesToHex(), mixconfig.tools.dataretention.DataRetentionSmartCard.CreateIV(), mixconfig.tools.dataretention.DataRetentionSmartCard.decrpytSymmetricKey(), mixconfig.tools.dataretention.DataRetentionSmartCard.DecryptLogLineKey(), mixconfig.tools.dataretention.RetentionDlg.FOOTER_LENGTH, mixconfig.tools.dataretention.DataRetentionLogFileHeader.getEncryptedKey(), mixconfig.tools.dataretention.DataRetentionLogFileHeader.getLength(), mixconfig.tools.dataretention.DataRetentionLogFileHeader.getNrOfLogEntriesPerLogLine(), mixconfig.tools.dataretention.DataRetentionLogFileHeader.getSizeOfLogEntry(), mixconfig.tools.dataretention.DataRetentionLogFileHeader.getSizeOfLogLine(), mixconfig.tools.dataretention.RetentionDlg.m_logs, mixconfig.tools.dataretention.RetentionDlg.m_logsPeriod, mixconfig.tools.dataretention.DataRetentionLogFileHeader.parseFromFile(), mixconfig.tools.dataretention.DataRetentionSmartCard.VerifyFooter(), and mixconfig.tools.dataretention.DataRetentionLogFileHeader.writeToFile().
Referenced by mixconfig.tools.dataretention.RetentionDlg.initComponents().
static void mixconfig.tools.dataretention.RetentionDlg.main | ( | String | args[] | ) | [static] |
args | the command line arguments |
References mixconfig.tools.dataretention.RetentionDlg.RetentionDlg().
DataRetentionSmartCard mixconfig.tools.dataretention.RetentionDlg.anonLog = new DataRetentionSmartCard() [static, package] |
Referenced by mixconfig.tools.dataretention.RetentionDlg.authenticateUserActionPerformed(), mixconfig.tools.dataretention.RetentionDlg.jButton1ActionPerformed(), mixconfig.tools.dataretention.RetentionDlg.RetentionDlg(), mixconfig.tools.dataretention.RetentionDlg.retrieveLogsActionPerformed(), and mixconfig.tools.dataretention.RetentionDlg.SetCurrentDateActionPerformed().
byte mixconfig.tools.dataretention.RetentionDlg.testLogKey[] = {(byte) 0x31, (byte) 0x31, (byte) 0x31, (byte) 0x31, (byte) 0x31, (byte) 0x31, (byte) 0x31, (byte) 0x31, (byte) 0x31, (byte) 0x31, (byte) 0x31, (byte) 0x31, (byte) 0x31, (byte) 0x31, (byte) 0x31, (byte) 0x31} [static, private] |
PublicKey mixconfig.tools.dataretention.RetentionDlg.m_publicKey = null [package] |
Referenced by mixconfig.tools.dataretention.RetentionDlg.RetentionDlg().
byte [] mixconfig.tools.dataretention.RetentionDlg.m_logKeyBlock = null [package] |
final byte mixconfig.tools.dataretention.RetentionDlg.FOOTER_LENGTH = 20 [static, private] |
javax.swing.JButton mixconfig.tools.dataretention.RetentionDlg.SetCurrentDate [private] |
Referenced by mixconfig.tools.dataretention.RetentionDlg.initComponents().
javax.swing.JButton mixconfig.tools.dataretention.RetentionDlg.authenticateUser [private] |
Referenced by mixconfig.tools.dataretention.RetentionDlg.initComponents().
javax.swing.JButton mixconfig.tools.dataretention.RetentionDlg.createTestLogs [private] |
Referenced by mixconfig.tools.dataretention.RetentionDlg.initComponents().
javax.swing.JButton mixconfig.tools.dataretention.RetentionDlg.jButton1 [private] |
Referenced by mixconfig.tools.dataretention.RetentionDlg.initComponents().
javax.swing.JLabel mixconfig.tools.dataretention.RetentionDlg.jLabel1 [private] |
Referenced by mixconfig.tools.dataretention.RetentionDlg.initComponents().
javax.swing.JLabel mixconfig.tools.dataretention.RetentionDlg.jLabel2 [private] |
Referenced by mixconfig.tools.dataretention.RetentionDlg.initComponents().
javax.swing.JLabel mixconfig.tools.dataretention.RetentionDlg.jLabel3 [private] |
Referenced by mixconfig.tools.dataretention.RetentionDlg.initComponents().
javax.swing.JLabel mixconfig.tools.dataretention.RetentionDlg.jLabel4 [private] |
Referenced by mixconfig.tools.dataretention.RetentionDlg.initComponents().
javax.swing.JLabel mixconfig.tools.dataretention.RetentionDlg.jLabel5 [private] |
Referenced by mixconfig.tools.dataretention.RetentionDlg.initComponents().
javax.swing.JLabel mixconfig.tools.dataretention.RetentionDlg.jLabel6 [private] |
Referenced by mixconfig.tools.dataretention.RetentionDlg.initComponents().
javax.swing.JPanel mixconfig.tools.dataretention.RetentionDlg.jPanel1 [private] |
Referenced by mixconfig.tools.dataretention.RetentionDlg.initComponents().
javax.swing.JPanel mixconfig.tools.dataretention.RetentionDlg.jPanel2 [private] |
Referenced by mixconfig.tools.dataretention.RetentionDlg.initComponents().
javax.swing.JPanel mixconfig.tools.dataretention.RetentionDlg.jPanel3 [private] |
Referenced by mixconfig.tools.dataretention.RetentionDlg.initComponents().
javax.swing.JScrollPane mixconfig.tools.dataretention.RetentionDlg.jScrollPane1 [private] |
Referenced by mixconfig.tools.dataretention.RetentionDlg.initComponents().
javax.swing.JPasswordField mixconfig.tools.dataretention.RetentionDlg.m_adminPIN [private] |
javax.swing.JTextField mixconfig.tools.dataretention.RetentionDlg.m_currentDate [private] |
javax.swing.JTextArea mixconfig.tools.dataretention.RetentionDlg.m_logs [private] |
Referenced by mixconfig.tools.dataretention.RetentionDlg.authenticateUserActionPerformed(), mixconfig.tools.dataretention.RetentionDlg.initComponents(), mixconfig.tools.dataretention.RetentionDlg.jButton1ActionPerformed(), mixconfig.tools.dataretention.RetentionDlg.RetentionDlg(), mixconfig.tools.dataretention.RetentionDlg.retrieveLogsActionPerformed(), and mixconfig.tools.dataretention.RetentionDlg.SetCurrentDateActionPerformed().
javax.swing.JTextField mixconfig.tools.dataretention.RetentionDlg.m_logsPeriod [private] |
javax.swing.JTextField mixconfig.tools.dataretention.RetentionDlg.m_testLogsPeriod [private] |
Referenced by mixconfig.tools.dataretention.RetentionDlg.initComponents().
javax.swing.JPasswordField mixconfig.tools.dataretention.RetentionDlg.m_userPIN [private] |
javax.swing.JButton mixconfig.tools.dataretention.RetentionDlg.retrieveLogs [private] |
Referenced by mixconfig.tools.dataretention.RetentionDlg.initComponents().