Class PKCS12IdentityPropEditor

    • Constructor Detail

      • PKCS12IdentityPropEditor

        public PKCS12IdentityPropEditor()
        Default constructor called before createControls.
    • Method Detail

      • setToolTipText

        protected void setToolTipText​(java.lang.String msg)
        Sets the tooltip text. The default is to apply the getToolTipText() text to the edit control.
        setToolTipText in class BaseEditor<PKCS12IdentityProp,​byte[]>
        msg - Message in tooltip (normally error), null for none, in which case the getToolTipText2() is used.
      • getEditedProps

        public PKCS12IdentityProp[] getEditedProps()
        Gets the array of edited properties.
      • getEditedProp

        public PKCS12IdentityProp getEditedProp()
        Gets the single edited property.
        The single instance, or null for multiple or none.
      • getEditedPropParent

        public PropCnr getEditedPropParent()
        Gets the single property parent.
        The parent, or null for multiple or none.
      • getEditedPropParents

        public PropCnr[] getEditedPropParents()
        Gets the property parents.
        The parent, or null for multiple or none.
      • getToolTipText

        protected java.lang.String getToolTipText()
        Gets the tooltip text to display in the entry fields (not the one for property errors or validator).
        Specified by:
        getToolTipText in class BaseEditor<PKCS12IdentityProp,​byte[]>
      • doUndefineIfEmpty

        protected boolean doUndefineIfEmpty​(boolean focusLost)
        Keeps empty strings as defined, when input has been changed specifically to empty string, or if the entry was defined when editing began.
        doUndefineIfEmpty in class BaseEditor<PKCS12IdentityProp,​byte[]>
      • getValue

        protected byte[] getValue​(java.lang.String input)
        Gets the property value for a user input.
        Specified by:
        getValue in class BaseEditor<PKCS12IdentityProp,​byte[]>
        input - The current user input.
        The property value for the input, or null to un-define the property.
      • onDoubleClick

        protected void onDoubleClick​(org.eclipse.swt.widgets.Event e)
        Called when mouse is double-clicked in the text or combobox. Overridden to check if Goto reference is enabled, and if so goes there.
        onDoubleClick in class BaseEditor<PKCS12IdentityProp,​byte[]>
      • onMore

        public void onMore()
        Called when the "more..." button is pressed. Override to display dialog box.
        onMore in class BaseEditor<PKCS12IdentityProp,​byte[]>
      • assignKeyStore

        public void assignKeyStore​(PKCS12IdentityProp id,
                                   java.lang.String password)
        Assigns a new keystore and password.
        id - The keystore property.
        password - The password for the keystore and private key (same password).