Package io.ably.lib.util
Interface Crypto.ChannelCipher
-
- Enclosing class:
- Crypto
@Deprecated public static interface Crypto.ChannelCipherDeprecated.Since version 1.2.11, this interface (which was only ever intended for internal use within this library) has been replaced byCrypto.ChannelCipherSet. It will be removed in the future.Interface for a ChannelCipher instance that may be associated with a Channel. The operational methods implemented by channel cipher instances (encrypt and decrypt) are not designed to be safe to be called from any thread.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description byte[]decrypt(byte[] ciphertext)Deprecated.byte[]encrypt(byte[] plaintext)Deprecated.java.lang.StringgetAlgorithm()Deprecated.
-
-
-
Method Detail
-
encrypt
byte[] encrypt(byte[] plaintext) throws AblyExceptionDeprecated.- Throws:
AblyException
-
decrypt
byte[] decrypt(byte[] ciphertext) throws AblyExceptionDeprecated.- Throws:
AblyException
-
getAlgorithm
java.lang.String getAlgorithm()
Deprecated.
-
-