Package io.agora.rtm
Class RtmEncryptionConfig
java.lang.Object
io.agora.rtm.RtmEncryptionConfig
encryption configuration
-
Constructor Summary
ConstructorsConstructorDescriptionCreates a new instance ofRtmEncryptionConfigwith default parameters.RtmEncryptionConfig(RtmConstants.RtmEncryptionMode mode, String key, byte[] salt) Creates a new instance ofRtmEncryptionConfigwith specifies parameters. -
Method Summary
Modifier and TypeMethodDescriptionintbyte[]voidsetEncryptionKey(String key) voidvoidsetEncryptionSalt(byte[] salt) toString()
-
Constructor Details
-
RtmEncryptionConfig
public RtmEncryptionConfig()Creates a new instance ofRtmEncryptionConfigwith default parameters. -
RtmEncryptionConfig
Creates a new instance ofRtmEncryptionConfigwith specifies parameters.- Parameters:
mode- The encryption modekey- The encryption keysalt- The encryption salt
-
-
Method Details