ActionListener, Serializable, Cloneable, EventListener, Actionpublic class ActionImport extends AbstractAction
| Modifier and Type | Field | Description |
|---|---|---|
protected JFrame |
parent |
|
protected CertificateSelection |
selection |
|
protected CertificateStore |
store |
changeSupport, enabledACCELERATOR_KEY, ACTION_COMMAND_KEY, DEFAULT, DISPLAYED_MNEMONIC_INDEX_KEY, LARGE_ICON_KEY, LONG_DESCRIPTION, MNEMONIC_KEY, NAME, SELECTED_KEY, SHORT_DESCRIPTION, SMALL_ICON| Constructor | Description |
|---|---|
ActionImport(JFrame parent,
CertificateStore store,
CertificateSelection selection) |
| Modifier and Type | Method | Description |
|---|---|---|
void |
actionPerformed(ActionEvent e) |
|
void |
doImport(ActionEvent e,
File f,
boolean askNewPassword) |
Import a file and add the certificate to the global list
|
addPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabledprotected JFrame parent
protected CertificateStore store
protected CertificateSelection selection
public ActionImport(JFrame parent, CertificateStore store, CertificateSelection selection)
public void actionPerformed(ActionEvent e)
public void doImport(ActionEvent e, File f, boolean askNewPassword)
e - originating eventf - File to importpw - password to encrypt new private key with, or null to use same password as input fileCopyright © 2010-2018 Nikhef / Stichting FOM. All Rights Reserved.