SecureBlackbox 2020 Java Edition

Questions / Feedback?

Progress Event

Reports the progress of the decryption operation.

Syntax

public class DefaultPgpwriterEventListener implements PgpwriterEventListener {
  ...
  public void progress(PgpwriterProgressEvent e) {}
  ...
}

public class PgpwriterProgressEvent {
  public long current;
  public long total;
  public boolean cancel;
}

Remarks

The class fires this event repeatedly to report the progress of the file protection operation.

Current indicates the amount of processed data in bytes, and Total is the total number of bytes to be processed. Use Cancel to terminate the protection process.

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