Package io.ably.lib.util
Interface Crypto.ChannelCipher
-
- Enclosing class:
- Crypto
public static interface Crypto.ChannelCipherInterface for a ChannelCipher instance that may be associated with a Channel.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description byte[]decrypt(byte[] ciphertext)byte[]encrypt(byte[] plaintext)java.lang.StringgetAlgorithm()
-
-
-
Method Detail
-
encrypt
byte[] encrypt(byte[] plaintext) throws AblyException- Throws:
AblyException
-
decrypt
byte[] decrypt(byte[] ciphertext) throws AblyException- Throws:
AblyException
-
getAlgorithm
java.lang.String getAlgorithm()
-
-