Package io.ably.lib.util
Interface Crypto.DecryptingChannelCipher
-
- Enclosing class:
- Crypto
public static interface Crypto.DecryptingChannelCipherInternal; a cipher used to decrypt plaintext from ciphertext, for a channel.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description byte[]decrypt(byte[] ciphertext)Deciphers ciphertext.
-
-
-
Method Detail
-
decrypt
byte[] decrypt(byte[] ciphertext) throws AblyExceptionDeciphers ciphertext. This method is not safe to be called from multiple threads at the same time, and it will throw aConcurrentModificationExceptionif 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
-
-