Package it.ipzs.cieid
Class MainFrame
- java.lang.Object
-
- java.awt.Component
-
- java.awt.Container
-
- java.awt.Window
-
- java.awt.Frame
-
- javax.swing.JFrame
-
- it.ipzs.cieid.MainFrame
-
- All Implemented Interfaces:
java.awt.image.ImageObserver,java.awt.MenuContainer,java.io.Serializable,javax.accessibility.Accessible,javax.swing.RootPaneContainer,javax.swing.WindowConstants
public class MainFrame extends javax.swing.JFrame- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description classMainFrame.LogLevelConfigprivate static classMainFrame.SignOp-
Nested classes/interfaces inherited from class javax.swing.JFrame
javax.swing.JFrame.AccessibleJFrame
-
Nested classes/interfaces inherited from class java.awt.Window
java.awt.Window.AccessibleAWTWindow, java.awt.Window.Type
-
-
Field Summary
Fields Modifier and Type Field Description private javax.swing.JButtonbtnAnnullaOp_3private javax.swing.JButtonbtnAnnullaOp_6private javax.swing.JButtonbtnCancelprivate javax.swing.JButtonbtnCancelOpprivate javax.swing.JButtonbtnChangePINprivate javax.swing.JButtonbtnChangeProxyprivate javax.swing.JButtonbtnCollectLogsprivate javax.swing.JButtonbtnConcludiVerificaprivate javax.swing.JButtonbtnDeleteLogsprivate javax.swing.JButtonbtnDigitalSignatureprivate javax.swing.JButtonbtnDigitalSignatureVerifyprivate javax.swing.JButtonbtnDownprivate javax.swing.JButtonbtnExtractP7Mprivate javax.swing.JButtonbtnGenerateGraphicSignatureprivate javax.swing.JButtonbtnHelpprivate javax.swing.JButtonbtnHomeprivate javax.swing.JButtonbtnInformationprivate javax.swing.JButtonbtnNewButtonprivate javax.swing.JButtonbtnPairprivate javax.swing.JPanelbtnPanelprivate javax.swing.JButtonbtnPerformChangePINprivate javax.swing.JButtonbtnProseguiOpprivate javax.swing.JButtonbtnRemoveAllprivate javax.swing.JButtonbtnRemoveSelectedprivate javax.swing.JButtonbtnSaveprivate javax.swing.JButtonbtnSelectCIEprivate javax.swing.JButtonbtnSelectDocumentprivate javax.swing.JButtonbtnSettingsprivate javax.swing.JButtonbtnSignCompletedprivate javax.swing.JButtonbtnSignInPINTypingScreenprivate javax.swing.JButtonbtnSignWithoutPairingprivate javax.swing.JButtonbtnTutorialprivate javax.swing.JButtonbtnUndoPINTypingprivate javax.swing.JButtonbtnUnlockCardprivate javax.swing.JButtonbtnUnlockPINprivate javax.swing.JButtonbtnUpprivate javax.swing.ButtonGroupbuttonGroupLoggingAppprivate javax.swing.ButtonGroupbuttonGroupLoggingLibprivate javax.swing.JButtonbuttonRemovestatic intCARD_ALREADY_ENABLEDstatic intCARD_PAN_MISMATCHprivate java.lang.StringcardHolderprivate java.awt.CardLayoutcardLayoutprivate javax.swing.JCheckBoxcbGraphicSigprivate javax.swing.JCheckBoxcboxShowTutorialprivate javax.swing.JCheckBoxchckbxShowPasswordprivate javax.swing.JCheckBoxcheckBoxprivate javax.swing.JCheckBoxcheckBox_1private javax.swing.JCheckBoxcheckBox_2private javax.swing.JCheckBoxcheckBox_3private javax.swing.JCheckBoxcheckBox_4private javax.swing.JCheckBoxcheckBox_5private carouselcieCarouselprivate java.util.Map<java.lang.String,Cie>cieDictionarystatic intCKR_CANCELstatic intCKR_DEVICE_ERRORstatic intCKR_GENERAL_ERRORstatic intCKR_OKstatic intCKR_PIN_EXPIREDstatic intCKR_PIN_INCORRECTstatic intCKR_PIN_INVALIDstatic intCKR_PIN_LEN_RANGEstatic intCKR_PIN_LOCKEDstatic intCKR_TOKEN_NOT_PRESENTstatic intCKR_TOKEN_NOT_RECOGNIZEDprivate javax.swing.JPanelconfigButtonsPanelprivate javax.swing.JPanelconfigPreferencesPanelprivate javax.swing.JPanelconfigProxyBodyPanelprivate javax.swing.JPanelcontentPaneprivate javax.swing.JPanelcustomizeGraphicSignatureprivate java.lang.Stringef_serialeprivate java.lang.StringfilePathprivate javax.swing.JPanelfirmaPinprivate javax.swing.JLabelimgP7mprivate javax.swing.JLabelimgPdfprivate javax.swing.JLabelimgSignatureResultstatic intINVALID_FILE_TYPEprivate javax.swing.JLabellabelprivate javax.swing.JLabellabel_1private javax.swing.JLabellabel_10private javax.swing.JLabellabel_11private javax.swing.JLabellabel_4private javax.swing.JLabellabel_5private javax.swing.JLabellabel_6private javax.swing.JLabellabel_7private javax.swing.JLabellabel_8private javax.swing.JLabellabel_9private javax.swing.JLabellabelCardholderprivate javax.swing.JLabellabelProgressChangePINprivate javax.swing.JLabellabelProgressUnlockprivate javax.swing.JLabellabelSerialprivate javax.swing.JTextArealblCadesSubprivate javax.swing.JLabellblCadesTitleprivate javax.swing.JLabellblCardNumberprivate javax.swing.JLabellblChangePINprivate javax.swing.JLabellblChangePINTextprivate javax.swing.JLabellblCieIdprivate javax.swing.JLabellblConfigPreferencesCaptionprivate javax.swing.JLabellblConfigPreferencesCaption_1private javax.swing.JLabellblConfigPreferencesTitleprivate javax.swing.JLabellblConfigProxyCaptionprivate javax.swing.JLabellblConfigProxyTitleprivate javax.swing.JLabellblCustomizeprivate javax.swing.JLabellblCustomizedGraphicSignatureprivate javax.swing.JLabellblDigitalSignatureprivate javax.swing.JLabellblFirmaElettronica_1private javax.swing.JLabellblFirmaElettronica_2private javax.swing.JLabellblFirmaElettronica_3private javax.swing.JLabellblFirmaElettronica_4private javax.swing.JLabellblFirmaElettronica_5private javax.swing.JLabellblFirmaElettronica_6private javax.swing.JLabellblFPOKprivate javax.swing.JLabellblHelpprivate javax.swing.JTextArealblHintprivate javax.swing.JLabellblInformationprivate javax.swing.JLabellblInsertYourPUKprivate javax.swing.JLabellblNewLabelprivate javax.swing.JLabellblNewLabel_1private javax.swing.JLabellblNewLabel_10private javax.swing.JLabellblNewLabel_11private javax.swing.JLabellblNewLabel_12private javax.swing.JLabellblNewLabel_2private javax.swing.JLabellblNewLabel_3private javax.swing.JLabellblNewLabel_4private javax.swing.JLabellblNewLabel_5private javax.swing.JLabellblNewLabel_6private javax.swing.JLabellblNewLabel_7private javax.swing.JLabellblNewLabel_9private javax.swing.JLabellblNewLabel1_1private javax.swing.JTextArealblPadesSubprivate javax.swing.JLabellblPadesTitleprivate javax.swing.JTextArealblPathOpprivate javax.swing.JTextArealblPathPinprivate javax.swing.JTextArealblPathPreviewprivate javax.swing.JTextArealblPathSignOpprivate javax.swing.JTextArealblPathVerificaprivate javax.swing.JLabellblProgressprivate javax.swing.JLabellblProgressSignPINprivate javax.swing.JTextArealblSFPprivate javax.swing.JLabellblSignatureResultprivate javax.swing.JLabellblTypeAgainTheNewValueprivate javax.swing.JLabellblTypeTheNewValueprivate javax.swing.JLabellblTypeTheOldValueprivate javax.swing.JLabellblUnlockCard1private javax.swing.JLabellblUnlockCard2private static java.lang.StringLOG_CONFIG_PREFIX_APPprivate static java.lang.StringLOG_CONFIG_PREFIX_LIBprivate MainFrame.LogLevelConfiglogConfigprivate Loggerloggerprivate MiniWebViewminiWebViewprivate MiniWebViewminiWebView_1private javax.swing.JPasswordFieldnewPINprivate javax.swing.JPasswordFieldoldPINprivate javax.swing.JPanelpanelprivate javax.swing.JPanelpanel_10private javax.swing.JPanelpanel_11private javax.swing.JPanelpanel_12private javax.swing.JPanelpanel_13private javax.swing.JPanelpanel_14private javax.swing.JPanelpanel_15private javax.swing.JPanelpanel_16private javax.swing.JPanelpanel_18private javax.swing.JPanelpanel_19private javax.swing.JPanelpanel_20private javax.swing.JPanelpanel_21private javax.swing.JPanelpanel_22private javax.swing.JPanelpanel_23private javax.swing.JPanelpanel_24private javax.swing.JPanelpanel_25private javax.swing.JPanelpanel_26private javax.swing.JPanelpanel_27private javax.swing.JPanelpanel_28private javax.swing.JPanelpanel_29private javax.swing.JPanelpanel_31private javax.swing.JPanelpanel_32private javax.swing.JPanelpanel_5private javax.swing.JPanelpanel_6private javax.swing.JPanelpanel_7private javax.swing.JPanelpanel_8private javax.swing.JPanelpanel_9private javax.swing.JPanelpanel_PairCIEprivate javax.swing.JPanelpanelConfigLoggingAppprivate javax.swing.JPanelpanelConfigLoggingLibprivate javax.swing.JPanelpanelLoadFileprivate javax.swing.JPanelpanelPdfPreviewprivate javax.swing.JPasswordFieldpasswordFieldprivate javax.swing.JPasswordFieldpasswordField_1private javax.swing.JPasswordFieldpasswordField_10private javax.swing.JPasswordFieldpasswordField_11private javax.swing.JPasswordFieldpasswordField_12private javax.swing.JPasswordFieldpasswordField_13private javax.swing.JPasswordFieldpasswordField_14private javax.swing.JPasswordFieldpasswordField_15private javax.swing.JPasswordFieldpasswordField_2private javax.swing.JPasswordFieldpasswordField_3private javax.swing.JPasswordFieldpasswordField_4private javax.swing.JPasswordFieldpasswordField_5private javax.swing.JPasswordFieldpasswordField_6private javax.swing.JPasswordFieldpasswordField_7private javax.swing.JPasswordFieldpasswordField_8private javax.swing.JPasswordFieldpasswordField_9private javax.swing.JPasswordField[]passwordFieldsprivate javax.swing.JPasswordField[]passwordSignFieldsprivate javax.swing.JPanelpdfPreviewprivate javax.swing.JPasswordFieldpin01private javax.swing.JPasswordFieldpin02private javax.swing.JPanelpnChangePINTypingScreen_Index_4private javax.swing.JPanelpnCIEHomeSelector_Index_3private javax.swing.JPanelpnSettingsprivate javax.swing.JPanelpnVerify(package private) PdfPreviewpreviewprivate javax.swing.JProgressBarprogressBarprivate javax.swing.JProgressBarprogressBarChangePINprivate javax.swing.JProgressBarprogressBarUnlockprivate javax.swing.JProgressBarprogressSignPINprivate javax.swing.JPasswordFieldpuk01private javax.swing.JRadioButtonrdbtnLoggingAppDebugprivate javax.swing.JRadioButtonrdbtnLoggingAppErrorprivate javax.swing.JRadioButtonrdbtnLoggingAppInfoprivate javax.swing.JRadioButtonrdbtnLoggingAppNoneprivate javax.swing.JRadioButtonrdbtnLoggingLibDebugprivate javax.swing.JRadioButtonrdbtnLoggingLibErrorprivate javax.swing.JRadioButtonrdbtnLoggingLibInfoprivate javax.swing.JRadioButtonrdbtnLoggingLibNoneprivate javax.swing.JPasswordFieldrepeatNewPINprivate javax.swing.JPanelselectFileprivate javax.swing.JPanelselectOperationprivate javax.swing.JPanelselectSignatureOperationprivate java.lang.StringserialNumberprivate booleanshouldSignWithoutPairingprivate java.lang.StringsigningCIEPANprotected MainFrame.SignOpsignOperationprivate javax.swing.JTabbedPanetabbedPaneprivate javax.swing.JTextPanetextPane_1private javax.swing.JTextPanetextPane_2private javax.swing.JPasswordFieldtxtPasswordprivate javax.swing.JTextPanetxtpnCIEPanelsSubtitleprivate javax.swing.JTextPanetxtpnThePINOfYourCardprivate javax.swing.JTextPanetxtpnThePINOfYourCIEprivate javax.swing.JTextPanetxtpnTypeThePUKOfYourCIEprivate javax.swing.JTextPanetxtpnUseYourPUKprivate javax.swing.JTextFieldtxtPortprivate javax.swing.JTextFieldtxtProxyAddrprivate javax.swing.JTextAreatxtrDragAndDropDocumentsprivate javax.swing.JTextAreatxtrOtherwiseprivate javax.swing.JTextFieldtxtUsernameprivate javax.swing.JScrollPaneverifyScrollPaneprivate java.awt.ComponentverticalGlueprivate java.awt.ComponentverticalGlue_1private java.awt.ComponentverticalGlue_2private java.awt.ComponentverticalGlue_3private java.awt.ComponentverticalGlue_4private java.awt.ComponentverticalGlue_5private java.awt.ComponentverticalGlue_6private java.awt.ComponentverticalGlue_7private java.awt.ComponentverticalGlue_8private java.awt.ComponentverticalGlue_9-
Fields inherited from class java.awt.Frame
CROSSHAIR_CURSOR, DEFAULT_CURSOR, E_RESIZE_CURSOR, HAND_CURSOR, ICONIFIED, MAXIMIZED_BOTH, MAXIMIZED_HORIZ, MAXIMIZED_VERT, MOVE_CURSOR, N_RESIZE_CURSOR, NE_RESIZE_CURSOR, NORMAL, NW_RESIZE_CURSOR, S_RESIZE_CURSOR, SE_RESIZE_CURSOR, SW_RESIZE_CURSOR, TEXT_CURSOR, W_RESIZE_CURSOR, WAIT_CURSOR
-
Fields inherited from class java.awt.Component
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT
-
-
Constructor Summary
Constructors Constructor Description MainFrame(java.lang.String[] args)Create the frame.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description private voidchangePIN()private voidchooseSignOrVerifyFileOperation(java.lang.String filePath)private voidcollectLogs()private voidconfigureHomeButtons(java.util.Map<java.lang.String,Cie> cieDictionary)private voiddeleteLogs()private voiddisableConfigurationPaneControls()private voiddrawText(java.lang.String text, java.lang.String path)private voidenableConfigurationPaneControls()private java.lang.StringgetFileExtension(java.lang.String name)private CieCardgetSelectedCIE()private java.lang.StringgetSignImagePath(java.lang.String serialNumber)voidloadLogConfigFromFile()Loggerstatic voidmain(java.lang.String[] args)Launch the application.private voidpairCIE()private voidpairCIEMWCall(java.lang.String PIN)private voidremoveAllCIE(java.util.List<Cie> cieList)private voidremoveCIE(java.lang.String pan, java.lang.String name)private voidsaveLogConfigToFile()private voidselectButton(javax.swing.JButton button)private voidselectCardholder()private voidselectHome()private voidselectUnlock()private voidsetConfigurationPaneControlsState(boolean value)private voidshowSigningPINInputFields()private voidsign(java.lang.String outFilePath)private voidsignMWCall(java.lang.String outFilePath, java.lang.String pinfin, Cie selectedCIE)private java.lang.StringtoFirstCharUpperAll(java.lang.String string)private java.lang.StringtoTitleCase(java.lang.String input)private voidunlockPIN()-
Methods inherited from class javax.swing.JFrame
addImpl, createRootPane, frameInit, getAccessibleContext, getContentPane, getDefaultCloseOperation, getGlassPane, getGraphics, getJMenuBar, getLayeredPane, getRootPane, getTransferHandler, isDefaultLookAndFeelDecorated, isRootPaneCheckingEnabled, paramString, processWindowEvent, remove, repaint, setContentPane, setDefaultCloseOperation, setDefaultLookAndFeelDecorated, setGlassPane, setIconImage, setJMenuBar, setLayeredPane, setLayout, setRootPane, setRootPaneCheckingEnabled, setTransferHandler, update
-
Methods inherited from class java.awt.Frame
addNotify, getCursorType, getExtendedState, getFrames, getIconImage, getMaximizedBounds, getMenuBar, getState, getTitle, isResizable, isUndecorated, remove, removeNotify, setBackground, setCursor, setExtendedState, setMaximizedBounds, setMenuBar, setOpacity, setResizable, setShape, setState, setTitle, setUndecorated
-
Methods inherited from class java.awt.Window
addPropertyChangeListener, addPropertyChangeListener, addWindowFocusListener, addWindowListener, addWindowStateListener, applyResourceBundle, applyResourceBundle, createBufferStrategy, createBufferStrategy, dispose, getBackground, getBufferStrategy, getFocusableWindowState, getFocusCycleRootAncestor, getFocusOwner, getFocusTraversalKeys, getIconImages, getInputContext, getListeners, getLocale, getModalExclusionType, getMostRecentFocusOwner, getOpacity, getOwnedWindows, getOwner, getOwnerlessWindows, getShape, getToolkit, getType, getWarningString, getWindowFocusListeners, getWindowListeners, getWindows, getWindowStateListeners, hide, isActive, isAlwaysOnTop, isAlwaysOnTopSupported, isAutoRequestFocus, isFocusableWindow, isFocusCycleRoot, isFocused, isLocationByPlatform, isOpaque, isShowing, isValidateRoot, pack, paint, postEvent, processEvent, processWindowFocusEvent, processWindowStateEvent, removeWindowFocusListener, removeWindowListener, removeWindowStateListener, reshape, setAlwaysOnTop, setAutoRequestFocus, setBounds, setBounds, setCursor, setFocusableWindowState, setFocusCycleRoot, setIconImages, setLocation, setLocation, setLocationByPlatform, setLocationRelativeTo, setMinimumSize, setModalExclusionType, setSize, setSize, setType, setVisible, show, toBack, toFront
-
Methods inherited from class java.awt.Container
add, add, add, add, add, addContainerListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getAlignmentX, getAlignmentY, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getComponentZOrder, getContainerListeners, getFocusTraversalPolicy, getInsets, getLayout, getMaximumSize, getMinimumSize, getMousePosition, getPreferredSize, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusTraversalPolicyProvider, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paintComponents, preferredSize, print, printComponents, processContainerEvent, remove, removeAll, removeContainerListener, setComponentZOrder, setFocusTraversalKeys, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, setFont, transferFocusDownCycle, validate, validateTree
-
Methods inherited from class java.awt.Component
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, coalesceEvents, contains, contains, createImage, createImage, createVolatileImage, createVolatileImage, disable, disableEvents, dispatchEvent, enable, enable, enableEvents, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getBaseline, getBaselineResizeBehavior, getBounds, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getFontMetrics, getForeground, getGraphicsConfiguration, getHeight, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocation, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMousePosition, getMouseWheelListeners, getName, getParent, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getSize, getTreeLock, getWidth, getX, getY, gotFocus, handleEvent, hasFocus, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isDoubleBuffered, isEnabled, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isMaximumSizeSet, isMinimumSizeSet, isPreferredSizeSet, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, prepareImage, prepareImage, printAll, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processKeyEvent, processMouseEvent, processMouseMotionEvent, processMouseWheelEvent, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, requestFocus, requestFocus, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, requestFocusInWindow, resize, resize, revalidate, setComponentOrientation, setDropTarget, setEnabled, setFocusable, setFocusTraversalKeysEnabled, setForeground, setIgnoreRepaint, setLocale, setMaximumSize, setMixingCutoutShape, setName, setPreferredSize, show, size, toString, transferFocus, transferFocusBackward, transferFocusUpCycle
-
-
-
-
Field Detail
-
logger
private Logger logger
-
logConfig
private MainFrame.LogLevelConfig logConfig
-
LOG_CONFIG_PREFIX_APP
private static final java.lang.String LOG_CONFIG_PREFIX_APP
- See Also:
- Constant Field Values
-
LOG_CONFIG_PREFIX_LIB
private static final java.lang.String LOG_CONFIG_PREFIX_LIB
- See Also:
- Constant Field Values
-
CKR_OK
public static final int CKR_OK
- See Also:
- Constant Field Values
-
CKR_CANCEL
public static final int CKR_CANCEL
- See Also:
- Constant Field Values
-
CKR_TOKEN_NOT_PRESENT
public static final int CKR_TOKEN_NOT_PRESENT
- See Also:
- Constant Field Values
-
CKR_TOKEN_NOT_RECOGNIZED
public static final int CKR_TOKEN_NOT_RECOGNIZED
- See Also:
- Constant Field Values
-
CKR_DEVICE_ERROR
public static final int CKR_DEVICE_ERROR
- See Also:
- Constant Field Values
-
CKR_GENERAL_ERROR
public static final int CKR_GENERAL_ERROR
- See Also:
- Constant Field Values
-
CKR_PIN_INCORRECT
public static final int CKR_PIN_INCORRECT
- See Also:
- Constant Field Values
-
CKR_PIN_INVALID
public static final int CKR_PIN_INVALID
- See Also:
- Constant Field Values
-
CKR_PIN_LEN_RANGE
public static final int CKR_PIN_LEN_RANGE
- See Also:
- Constant Field Values
-
CARD_ALREADY_ENABLED
public static final int CARD_ALREADY_ENABLED
- See Also:
- Constant Field Values
-
CARD_PAN_MISMATCH
public static final int CARD_PAN_MISMATCH
- See Also:
- Constant Field Values
-
INVALID_FILE_TYPE
public static final int INVALID_FILE_TYPE
- See Also:
- Constant Field Values
-
CKR_PIN_EXPIRED
public static final int CKR_PIN_EXPIRED
- See Also:
- Constant Field Values
-
CKR_PIN_LOCKED
public static final int CKR_PIN_LOCKED
- See Also:
- Constant Field Values
-
contentPane
private javax.swing.JPanel contentPane
-
cardLayout
private java.awt.CardLayout cardLayout
-
tabbedPane
private javax.swing.JTabbedPane tabbedPane
-
btnHome
private javax.swing.JButton btnHome
-
btnChangePIN
private javax.swing.JButton btnChangePIN
-
btnUnlockCard
private javax.swing.JButton btnUnlockCard
-
btnTutorial
private javax.swing.JButton btnTutorial
-
btnHelp
private javax.swing.JButton btnHelp
-
btnInformation
private javax.swing.JButton btnInformation
-
passwordField
private javax.swing.JPasswordField passwordField
-
passwordField_1
private javax.swing.JPasswordField passwordField_1
-
passwordField_2
private javax.swing.JPasswordField passwordField_2
-
passwordField_3
private javax.swing.JPasswordField passwordField_3
-
passwordField_4
private javax.swing.JPasswordField passwordField_4
-
passwordField_5
private javax.swing.JPasswordField passwordField_5
-
passwordField_6
private javax.swing.JPasswordField passwordField_6
-
passwordField_7
private javax.swing.JPasswordField passwordField_7
-
passwordFields
private javax.swing.JPasswordField[] passwordFields
-
passwordSignFields
private javax.swing.JPasswordField[] passwordSignFields
-
panel_PairCIE
private javax.swing.JPanel panel_PairCIE
-
label
private javax.swing.JLabel label
-
textPane_1
private javax.swing.JTextPane textPane_1
-
label_1
private javax.swing.JLabel label_1
-
checkBox
private javax.swing.JCheckBox checkBox
-
pnCIEHomeSelector_Index_3
private javax.swing.JPanel pnCIEHomeSelector_Index_3
-
lblCieId
private javax.swing.JLabel lblCieId
-
txtpnCIEPanelsSubtitle
private javax.swing.JTextPane txtpnCIEPanelsSubtitle
-
label_4
private javax.swing.JLabel label_4
-
checkBox_1
private javax.swing.JCheckBox checkBox_1
-
buttonRemove
private javax.swing.JButton buttonRemove
-
lblCardNumber
private javax.swing.JLabel lblCardNumber
-
labelSerial
private javax.swing.JLabel labelSerial
-
labelCardholder
private javax.swing.JLabel labelCardholder
-
btnPair
private javax.swing.JButton btnPair
-
serialNumber
private java.lang.String serialNumber
-
cardHolder
private java.lang.String cardHolder
-
ef_seriale
private java.lang.String ef_seriale
-
progressBar
private javax.swing.JProgressBar progressBar
-
lblProgress
private javax.swing.JLabel lblProgress
-
pnChangePINTypingScreen_Index_4
private javax.swing.JPanel pnChangePINTypingScreen_Index_4
-
lblChangePIN
private javax.swing.JLabel lblChangePIN
-
txtpnThePINOfYourCard
private javax.swing.JTextPane txtpnThePINOfYourCard
-
label_5
private javax.swing.JLabel label_5
-
checkBox_2
private javax.swing.JCheckBox checkBox_2
-
lblTypeTheOldValue
private javax.swing.JLabel lblTypeTheOldValue
-
lblTypeTheNewValue
private javax.swing.JLabel lblTypeTheNewValue
-
lblTypeAgainTheNewValue
private javax.swing.JLabel lblTypeAgainTheNewValue
-
oldPIN
private javax.swing.JPasswordField oldPIN
-
newPIN
private javax.swing.JPasswordField newPIN
-
repeatNewPIN
private javax.swing.JPasswordField repeatNewPIN
-
btnPerformChangePIN
private javax.swing.JButton btnPerformChangePIN
-
panel_5
private javax.swing.JPanel panel_5
-
lblChangePINText
private javax.swing.JLabel lblChangePINText
-
txtpnThePINOfYourCIE
private javax.swing.JTextPane txtpnThePINOfYourCIE
-
label_6
private javax.swing.JLabel label_6
-
lblUnlockCard1
private javax.swing.JLabel lblUnlockCard1
-
checkBox_3
private javax.swing.JCheckBox checkBox_3
-
labelProgressChangePIN
private javax.swing.JLabel labelProgressChangePIN
-
progressBarChangePIN
private javax.swing.JProgressBar progressBarChangePIN
-
panel_6
private javax.swing.JPanel panel_6
-
txtpnUseYourPUK
private javax.swing.JTextPane txtpnUseYourPUK
-
label_7
private javax.swing.JLabel label_7
-
checkBox_4
private javax.swing.JCheckBox checkBox_4
-
btnUnlockPIN
private javax.swing.JButton btnUnlockPIN
-
lblInsertYourPUK
private javax.swing.JLabel lblInsertYourPUK
-
label_9
private javax.swing.JLabel label_9
-
pin01
private javax.swing.JPasswordField pin01
-
label_10
private javax.swing.JLabel label_10
-
pin02
private javax.swing.JPasswordField pin02
-
textPane_2
private javax.swing.JTextPane textPane_2
-
puk01
private javax.swing.JPasswordField puk01
-
panel_7
private javax.swing.JPanel panel_7
-
lblUnlockCard2
private javax.swing.JLabel lblUnlockCard2
-
txtpnTypeThePUKOfYourCIE
private javax.swing.JTextPane txtpnTypeThePUKOfYourCIE
-
label_8
private javax.swing.JLabel label_8
-
checkBox_5
private javax.swing.JCheckBox checkBox_5
-
labelProgressUnlock
private javax.swing.JLabel labelProgressUnlock
-
progressBarUnlock
private javax.swing.JProgressBar progressBarUnlock
-
panel_8
private javax.swing.JPanel panel_8
-
lblHelp
private javax.swing.JLabel lblHelp
-
panel_9
private javax.swing.JPanel panel_9
-
label_11
private javax.swing.JLabel label_11
-
miniWebView
private MiniWebView miniWebView
-
panel_10
private javax.swing.JPanel panel_10
-
lblInformation
private javax.swing.JLabel lblInformation
-
miniWebView_1
private MiniWebView miniWebView_1
-
btnPanel
private javax.swing.JPanel btnPanel
-
btnRemoveAll
private javax.swing.JButton btnRemoveAll
-
btnRemoveSelected
private javax.swing.JButton btnRemoveSelected
-
btnNewButton
private javax.swing.JButton btnNewButton
-
btnCancel
private javax.swing.JButton btnCancel
-
cieCarousel
private carousel cieCarousel
-
cieDictionary
private java.util.Map<java.lang.String,Cie> cieDictionary
-
btnDigitalSignature
private javax.swing.JButton btnDigitalSignature
-
filePath
private java.lang.String filePath
-
selectFile
private javax.swing.JPanel selectFile
-
lblDigitalSignature
private javax.swing.JLabel lblDigitalSignature
-
panelLoadFile
private javax.swing.JPanel panelLoadFile
-
lblNewLabel
private javax.swing.JLabel lblNewLabel
-
txtrDragAndDropDocuments
private javax.swing.JTextArea txtrDragAndDropDocuments
-
txtrOtherwise
private javax.swing.JTextArea txtrOtherwise
-
btnSelectDocument
private javax.swing.JButton btnSelectDocument
-
panel_11
private javax.swing.JPanel panel_11
-
lblSFP
private javax.swing.JTextArea lblSFP
-
lblCustomize
private javax.swing.JLabel lblCustomize
-
lblNewLabel_2
private javax.swing.JLabel lblNewLabel_2
-
selectOperation
private javax.swing.JPanel selectOperation
-
lblFirmaElettronica_1
private javax.swing.JLabel lblFirmaElettronica_1
-
panel
private javax.swing.JPanel panel
-
lblNewLabel_1
private javax.swing.JLabel lblNewLabel_1
-
lblPathOp
private javax.swing.JTextArea lblPathOp
-
panel_12
private javax.swing.JPanel panel_12
-
lblNewLabel_3
private javax.swing.JLabel lblNewLabel_3
-
lblNewLabel_4
private javax.swing.JLabel lblNewLabel_4
-
lblNewLabel_5
private javax.swing.JLabel lblNewLabel_5
-
lblNewLabel_6
private javax.swing.JLabel lblNewLabel_6
-
btnCancelOp
private javax.swing.JButton btnCancelOp
-
panel_13
private javax.swing.JPanel panel_13
-
panel_14
private javax.swing.JPanel panel_14
-
selectSignatureOperation
private javax.swing.JPanel selectSignatureOperation
-
lblFirmaElettronica_2
private javax.swing.JLabel lblFirmaElettronica_2
-
panel_15
private javax.swing.JPanel panel_15
-
lblNewLabel_7
private javax.swing.JLabel lblNewLabel_7
-
lblPathSignOp
private javax.swing.JTextArea lblPathSignOp
-
imgP7m
private javax.swing.JLabel imgP7m
-
lblCadesTitle
private javax.swing.JLabel lblCadesTitle
-
lblCadesSub
private javax.swing.JTextArea lblCadesSub
-
panel_18
private javax.swing.JPanel panel_18
-
panel_19
private javax.swing.JPanel panel_19
-
imgPdf
private javax.swing.JLabel imgPdf
-
lblPadesTitle
private javax.swing.JLabel lblPadesTitle
-
lblPadesSub
private javax.swing.JTextArea lblPadesSub
-
panel_20
private javax.swing.JPanel panel_20
-
cbGraphicSig
private javax.swing.JCheckBox cbGraphicSig
-
pdfPreview
private javax.swing.JPanel pdfPreview
-
lblFirmaElettronica_3
private javax.swing.JLabel lblFirmaElettronica_3
-
panel_21
private javax.swing.JPanel panel_21
-
lblNewLabel_9
private javax.swing.JLabel lblNewLabel_9
-
lblPathPreview
private javax.swing.JTextArea lblPathPreview
-
lblNewLabel_10
private javax.swing.JLabel lblNewLabel_10
-
btnAnnullaOp_3
private javax.swing.JButton btnAnnullaOp_3
-
panelPdfPreview
private javax.swing.JPanel panelPdfPreview
-
panel_23
private javax.swing.JPanel panel_23
-
panel_24
private javax.swing.JPanel panel_24
-
panel_25
private javax.swing.JPanel panel_25
-
btnUp
private javax.swing.JButton btnUp
-
btnDown
private javax.swing.JButton btnDown
-
panel_22
private javax.swing.JPanel panel_22
-
signOperation
protected MainFrame.SignOp signOperation
-
panel_16
private javax.swing.JPanel panel_16
-
firmaPin
private javax.swing.JPanel firmaPin
-
lblFirmaElettronica_4
private javax.swing.JLabel lblFirmaElettronica_4
-
panel_26
private javax.swing.JPanel panel_26
-
panel_27
private javax.swing.JPanel panel_27
-
lblNewLabel_11
private javax.swing.JLabel lblNewLabel_11
-
lblPathPin
private javax.swing.JTextArea lblPathPin
-
btnUndoPINTyping
private javax.swing.JButton btnUndoPINTyping
-
lblNewLabel_12
private javax.swing.JLabel lblNewLabel_12
-
btnSignInPINTypingScreen
private javax.swing.JButton btnSignInPINTypingScreen
-
panel_28
private javax.swing.JPanel panel_28
-
lblNewLabel1_1
private javax.swing.JLabel lblNewLabel1_1
-
lblProgressSignPIN
private javax.swing.JLabel lblProgressSignPIN
-
passwordField_8
private javax.swing.JPasswordField passwordField_8
-
passwordField_9
private javax.swing.JPasswordField passwordField_9
-
passwordField_10
private javax.swing.JPasswordField passwordField_10
-
passwordField_11
private javax.swing.JPasswordField passwordField_11
-
passwordField_12
private javax.swing.JPasswordField passwordField_12
-
passwordField_13
private javax.swing.JPasswordField passwordField_13
-
passwordField_14
private javax.swing.JPasswordField passwordField_14
-
passwordField_15
private javax.swing.JPasswordField passwordField_15
-
lblSignatureResult
private javax.swing.JLabel lblSignatureResult
-
imgSignatureResult
private javax.swing.JLabel imgSignatureResult
-
panel_29
private javax.swing.JPanel panel_29
-
customizeGraphicSignature
private javax.swing.JPanel customizeGraphicSignature
-
lblFirmaElettronica_5
private javax.swing.JLabel lblFirmaElettronica_5
-
btnAnnullaOp_6
private javax.swing.JButton btnAnnullaOp_6
-
panel_31
private javax.swing.JPanel panel_31
-
progressSignPIN
private javax.swing.JProgressBar progressSignPIN
-
btnSignCompleted
private javax.swing.JButton btnSignCompleted
-
preview
PdfPreview preview
-
btnSelectCIE
private javax.swing.JButton btnSelectCIE
-
btnSignWithoutPairing
private javax.swing.JButton btnSignWithoutPairing
-
lblCustomizedGraphicSignature
private javax.swing.JLabel lblCustomizedGraphicSignature
-
lblHint
private javax.swing.JTextArea lblHint
-
lblFPOK
private javax.swing.JLabel lblFPOK
-
pnVerify
private javax.swing.JPanel pnVerify
-
lblFirmaElettronica_6
private javax.swing.JLabel lblFirmaElettronica_6
-
verifyScrollPane
private javax.swing.JScrollPane verifyScrollPane
-
panel_32
private javax.swing.JPanel panel_32
-
btnConcludiVerifica
private javax.swing.JButton btnConcludiVerifica
-
lblPathVerifica
private javax.swing.JTextArea lblPathVerifica
-
btnProseguiOp
private javax.swing.JButton btnProseguiOp
-
btnGenerateGraphicSignature
private javax.swing.JButton btnGenerateGraphicSignature
-
pnSettings
private javax.swing.JPanel pnSettings
-
lblConfigProxyTitle
private javax.swing.JLabel lblConfigProxyTitle
-
configProxyBodyPanel
private javax.swing.JPanel configProxyBodyPanel
-
btnSave
private javax.swing.JButton btnSave
-
lblConfigProxyCaption
private javax.swing.JLabel lblConfigProxyCaption
-
txtProxyAddr
private javax.swing.JTextField txtProxyAddr
-
txtUsername
private javax.swing.JTextField txtUsername
-
txtPassword
private javax.swing.JPasswordField txtPassword
-
txtPort
private javax.swing.JTextField txtPort
-
btnSettings
private javax.swing.JButton btnSettings
-
btnChangeProxy
private javax.swing.JButton btnChangeProxy
-
chckbxShowPassword
private javax.swing.JCheckBox chckbxShowPassword
-
btnExtractP7M
private javax.swing.JButton btnExtractP7M
-
configButtonsPanel
private javax.swing.JPanel configButtonsPanel
-
verticalGlue
private java.awt.Component verticalGlue
-
verticalGlue_1
private java.awt.Component verticalGlue_1
-
verticalGlue_2
private java.awt.Component verticalGlue_2
-
verticalGlue_3
private java.awt.Component verticalGlue_3
-
verticalGlue_4
private java.awt.Component verticalGlue_4
-
verticalGlue_5
private java.awt.Component verticalGlue_5
-
verticalGlue_6
private java.awt.Component verticalGlue_6
-
verticalGlue_7
private java.awt.Component verticalGlue_7
-
verticalGlue_8
private java.awt.Component verticalGlue_8
-
verticalGlue_9
private java.awt.Component verticalGlue_9
-
panelConfigLoggingApp
private javax.swing.JPanel panelConfigLoggingApp
-
panelConfigLoggingLib
private javax.swing.JPanel panelConfigLoggingLib
-
rdbtnLoggingAppNone
private javax.swing.JRadioButton rdbtnLoggingAppNone
-
rdbtnLoggingAppError
private javax.swing.JRadioButton rdbtnLoggingAppError
-
rdbtnLoggingAppInfo
private javax.swing.JRadioButton rdbtnLoggingAppInfo
-
rdbtnLoggingAppDebug
private javax.swing.JRadioButton rdbtnLoggingAppDebug
-
rdbtnLoggingLibError
private javax.swing.JRadioButton rdbtnLoggingLibError
-
rdbtnLoggingLibInfo
private javax.swing.JRadioButton rdbtnLoggingLibInfo
-
rdbtnLoggingLibDebug
private javax.swing.JRadioButton rdbtnLoggingLibDebug
-
rdbtnLoggingLibNone
private javax.swing.JRadioButton rdbtnLoggingLibNone
-
buttonGroupLoggingApp
private final javax.swing.ButtonGroup buttonGroupLoggingApp
-
buttonGroupLoggingLib
private final javax.swing.ButtonGroup buttonGroupLoggingLib
-
btnDigitalSignatureVerify
private javax.swing.JButton btnDigitalSignatureVerify
-
shouldSignWithoutPairing
private boolean shouldSignWithoutPairing
-
signingCIEPAN
private java.lang.String signingCIEPAN
-
configPreferencesPanel
private javax.swing.JPanel configPreferencesPanel
-
lblConfigPreferencesTitle
private javax.swing.JLabel lblConfigPreferencesTitle
-
lblConfigPreferencesCaption
private javax.swing.JLabel lblConfigPreferencesCaption
-
lblConfigPreferencesCaption_1
private javax.swing.JLabel lblConfigPreferencesCaption_1
-
cboxShowTutorial
private javax.swing.JCheckBox cboxShowTutorial
-
btnDeleteLogs
private javax.swing.JButton btnDeleteLogs
-
btnCollectLogs
private javax.swing.JButton btnCollectLogs
-
-
Method Detail
-
main
public static void main(java.lang.String[] args)
Launch the application.
-
collectLogs
private void collectLogs()
-
deleteLogs
private void deleteLogs()
-
chooseSignOrVerifyFileOperation
private void chooseSignOrVerifyFileOperation(java.lang.String filePath)
-
enableConfigurationPaneControls
private void enableConfigurationPaneControls()
-
disableConfigurationPaneControls
private void disableConfigurationPaneControls()
-
setConfigurationPaneControlsState
private void setConfigurationPaneControlsState(boolean value)
-
selectButton
private void selectButton(javax.swing.JButton button)
-
getSelectedCIE
private CieCard getSelectedCIE()
-
getSignImagePath
private java.lang.String getSignImagePath(java.lang.String serialNumber)
-
getFileExtension
private java.lang.String getFileExtension(java.lang.String name)
-
drawText
private void drawText(java.lang.String text, java.lang.String path)
-
sign
private void sign(java.lang.String outFilePath)
-
signMWCall
private void signMWCall(java.lang.String outFilePath, java.lang.String pinfin, Cie selectedCIE)
-
showSigningPINInputFields
private void showSigningPINInputFields()
-
pairCIE
private void pairCIE()
-
pairCIEMWCall
private void pairCIEMWCall(java.lang.String PIN)
-
changePIN
private void changePIN()
-
unlockPIN
private void unlockPIN()
-
removeCIE
private void removeCIE(java.lang.String pan, java.lang.String name)
-
removeAllCIE
private void removeAllCIE(java.util.List<Cie> cieList)
-
configureHomeButtons
private void configureHomeButtons(java.util.Map<java.lang.String,Cie> cieDictionary)
-
selectHome
private void selectHome()
-
toTitleCase
private java.lang.String toTitleCase(java.lang.String input)
-
toFirstCharUpperAll
private java.lang.String toFirstCharUpperAll(java.lang.String string)
-
selectCardholder
private void selectCardholder()
-
selectUnlock
private void selectUnlock()
-
loadLogConfigFromFile
public void loadLogConfigFromFile()
Logger
-
saveLogConfigToFile
private void saveLogConfigToFile()
-
-