Progress Event
Reports the data encryption/decryption progress.
Syntax
public class DefaultSymmetriccryptoEventListener implements SymmetriccryptoEventListener { ... public void progress(SymmetriccryptoProgressEvent e) {} ... } public class SymmetriccryptoProgressEvent { public long total; public long current; public boolean cancel; }
Remarks
This event fires periodically during a file encrypt/decrypt operation to report its progress.
Use the Cancel parameter to terminate the encryption/decryption if needed.