/mcp• Key Derivation Rate This enhancement also supports a secure media termination for CTIPorts and RoutePoints. To do this, the application passes in supported encrypted algorithms in CTIPort and route point register requests. The application gets an error if no TLS link and no SRTP Enabled flags exist. Whether media are encrypted or not depends on whether the other end is interested in secure media and whether the algorithm is negotiated successfully. For mid-call monitoring, if the application comes up after a call is established between two end points, the application must query Terminal.createSnapshot() and snapshot event CiscoTermSnapshotEv. CiscoTermSnapshotCompletedEv gets sent, which indicates whether the current media between end points is secure or not. Applications can query CiscoMediaCallSecurityIndicator to get a security indicator for a call; however, this does not contain any key material in the event. If no calls exist on any of the lines on the terminal, applications only get CiscoTermSnapshotCompletedEv. To maintain backward compatibility, these events get generated only when an application enables the snapShotRTPEnabled filter in CiscoTermEvFilter. CiscoRTPHandle gets added in all RTP events so that applications can correlate RTP events related to a single call. For backward compatibility, no new events are generated when there is no secure media. For more information on SRTP, see the Secure RTP Library API Documentation by David McGrew on SourceForge.net. The following sections describe the interface changes for SRTP key material. Public Interface CiscoMediaEncryptionKeyInfo getAlgorithmID() This method returns the media encryption algorithm for the current stream. int getIsMKIPresent() An MKI indicator that indicates whether MKI is present. Key management defines, signals, and uses the MKI. int getKeyLength () This method returns the master key length. int getKey() This method returns the master key for the stream. byte[] getSaltLength () This method returns the salt length. int getSalt() This method returns the salt key for the stream. byte[] keyDerivationRate() Indicates the SRTP key derivation rate for this session. int Cisco Unified JTAPI Developers Guide for Cisco Unified Communications Manager, Release 15 and SUs 157 Features Supported by Cisco Unified JTAPI Secure Real-Time Protocol Key Material