SecureBlackbox 2020 Java Edition

Questions / Feedback?

PassphraseNeeded Event

Requests a data protection password from the application.

Syntax

public class DefaultPgpreaderEventListener implements PgpreaderEventListener {
  ...
  public void passphraseNeeded(PgpreaderPassphraseNeededEvent e) {}
  ...
}

public class PgpreaderPassphraseNeededEvent {
  public String passphrase;
  public boolean skip;
}

Remarks

The class fires this event to request a decryption password. It is only fired if the data can be decrypted without a key.

The event is fired in a loop until the correct password is passed or the number of password attempts is exceeded.

Copyright (c) 2022 /n software inc. - All rights reserved.
SecureBlackbox 2020 Java Edition - Version 20.0 [Build 8156]