Package io.ably.lib.util
Interface Crypto.EncryptingChannelCipher
- Enclosing class:
- Crypto
public static interface Crypto.EncryptingChannelCipher
Internal; a cipher used to encrypt plaintext to ciphertext, for a channel.
-
Method Summary
-
Method Details
-
encrypt
Enciphers plaintext. This method is not safe to be called from multiple threads at the same time, and it will throw aConcurrentModificationException
if that happens at runtime.- Returns:
- ciphertext, being the result of encrypting plaintext.
- Throws:
-
ConcurrentModificationException
- If this method is called from more than one thread at a time. AblyException
-
getAlgorithm
String getAlgorithm()
-