Interface Crypto.DecryptingChannelCipher

Enclosing class:
Crypto

public static interface Crypto.DecryptingChannelCipher
Internal; a cipher used to decrypt plaintext from ciphertext, for a channel.
  • Method Summary

    Modifier and Type Method Description
    byte[] decrypt​(byte[] ciphertext)
    Deciphers ciphertext.
  • Method Details

    • decrypt

      byte[] decrypt​(byte[] ciphertext) throws AblyException
      Deciphers ciphertext. This method is not safe to be called from multiple threads at the same time, and it will throw a ConcurrentModificationException if that happens at runtime.
      Returns:
      plaintext, being the result of decrypting ciphertext.
      Throws:
      java.util.ConcurrentModificationException - If this method is called from more than one thread at a time.
      AblyException