Get the key index for the encryptors of the participant.
@param identity the identity of the participant,
if null, use local participant.
@return the key index and -1 if not found
Enable/Disable frame crypto for the sender and receiver.
@param enabled true to enable, false to disable
if false, the frame cryptor will pass through frames and
without encryption/decryption
Sets the key index for the encryptors of the participant.
@param keyIndex the key index to set
@param participantIdentity the identity of the participant,
if null, use local participant.