Interface EncryptionCompletionListener

Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public interface EncryptionCompletionListener
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    onEncryptDone​(long plaintextBytes)
    Invoked upon encryption completion; MaterialsManagers that need to know the size of the plaintext (e.g.
  • Method Details

    • onEncryptDone

      void onEncryptDone(long plaintextBytes)
      Invoked upon encryption completion; MaterialsManagers that need to know the size of the plaintext (e.g. to enforce caching policies) can make use of this.
      Parameters:
      plaintextBytes - Total number of plaintext bytes encrypted