src/main/java/com/hedera/hashgraph/identity/hcs/MessageListener.java
/**
   * Defines decryption function that decrypts submitted message attributes after consensus is reached.
   * Decryption function must accept a byte array of encrypted message and an Instant that is its consensus timestamp,
   * If decrypter is not specified, encrypted messages will be ignored.
   *
   * @param decrypter The decryption function to use.
   * @return This transaction instance.
   */
Defines decryption function that decrypts submitted message attributes after consensus is reached.
Decryption function must accept a byte array of encrypted message and an Instant that is its consensus timestamp,
If decrypter is not specified, encrypted messages will be ignored.

@param decrypter The decryption function to use.
@return This transaction instance.
Defines decryption function that decrypts submitted message attributes after consensus is reached . Decryption function must accept a byte array of encrypted message and an Instant that is its consensus timestamp If decrypter is not specified encrypted messages will be ignored . @param decrypter The decryption function to use . @return This transaction instance .
public MessageListener<T> onDecrypt(final BiFunction<byte[], Instant, byte[]> decrypter) {
    this.decrypter = decrypter;
    return this;
  }
public MessageListener < T > onDecrypt ( final BiFunction < byte [ ] , Instant , byte [ ] > decrypter ) { this . decrypter = decrypter ; return this ; }
Defines decryption function that decrypts submitted message attributes after consensus is reached.
Defines decryption function that decrypts submitted message attributes after consensus is reached .