SecureBlackbox 2020 Kotlin Edition

Questions / Feedback?

Progress Event

Reports the data encryption/decryption progress.

Syntax

public open class DefaultSymmetriccryptoEventListener : SymmetriccryptoEventListener {
  ...
  public override fun progress(e: SymmetriccryptoProgressEvent) {}
  ...
}

public class SymmetriccryptoProgressEvent {
  val total: Long
  val current: Long
  var cancel: Boolean
}

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.

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