IP*Works! OpenPGP V9 - Online Help
IP*Works! OpenPGP V9
Questions / Feedback?

KeyPassphrase Event

Fired if the passphrase of current key is incorrect or empty.

Syntax

public void fireKeyPassphrase(KeymgrKeyPassphraseEvent event);

public class KeymgrKeyPassphraseEvent {
  public String userId;
  public String keyId;
  public String passphrase;
}

Remarks

This event fires when the passphrase for the key is required. The passphrase must be specified before operations requiring the secret key are attempted. The passphrase may be supplied by setting the Passphrase parameter in this event, or by specifying the Passphrase field before attempting the operation.

The passphrase is required when using the following methods in KeyMgr:

When using the OpenPGP bean, or an email-based bean, the following methods require a passphrase for the key:

  • Decrypt
  • Sign
  • SignAndEncrypt

 
 
Copyright (c) 2017 /n software inc. - All rights reserved.
Build 9.0.6240.0