Class ImportP12
Object
|
+--ImportP12
- class
ImportP12
A plug-in example
Defined in 220-importp12-plugin.js
Constructor Summary |
ImportP12(km)
Create a plug-in instance
|
Method Summary |
Boolean
|
actionListener(<Outline> source, <String> action)
Handle action triggered from the outline context menu
|
void
|
addDeviceContextMenu(<String[]> contextMenu, <Boolean> isInitialized, <Number> authenticationState)
Add an entry to the context menu associated with the device entry in the outline
|
void
|
addKeyContextMenu(<String[]> contextMenu, <Number> authenticationState, <Outline> keynode)
Add an entry to the context menu associated with a key in the outline
|
void
|
importP12()
|
Object
|
toString()
|
km
Object km
PLUGIN_ACTION
<static> Object PLUGIN_ACTION
ImportP12
ImportP12(km)
Create a plug-in instance
Parameters:
KeyManager
- ] km the associated key manager
actionListener
Boolean actionListener(<Outline> source, <String> action)
Handle action triggered from the outline context menu
Parameters:
source
- the source outline node of this action
action
- the action selected from the context menu
Returns:
true if the action was handled
addDeviceContextMenu
void addDeviceContextMenu(<String[]> contextMenu, <Boolean> isInitialized, <Number> authenticationState)
Add an entry to the context menu associated with the device entry in the outline
Parameters:
contextMenu
- the list of entries in the context menu
isInitialized
- the device is initialized
authenticationState
- the status returned in the last authentication query (SW1/SW2)
addKeyContextMenu
void addKeyContextMenu(<String[]> contextMenu, <Number> authenticationState, <Outline> keynode)
Add an entry to the context menu associated with a key in the outline
Parameters:
contextMenu
- the list of entries in the context menu
authenticationState
- the status returned in the last authentication query (SW1/SW2)
keynode
- the node created for this key before it is added to the outline
importP12
void importP12()
toString
Object toString()
Documentation generated by
JSDoc on Sat Feb 24 15:17:19 2024