diff -r 89d6a7a84779 -r 25a17d01db0c Symbian3/PDK/Source/GUID-B9BD2E0A-F214-5344-91A6-E4E99F0D74C8.dita --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Symbian3/PDK/Source/GUID-B9BD2E0A-F214-5344-91A6-E4E99F0D74C8.dita Fri Jan 22 18:26:19 2010 +0000 @@ -0,0 +1,71 @@ + + + + + +Updating +SRTP Master Key

A single master key provides keying material for confidentiality +and integrity protection of the SRTP and the corresponding SRTCP stream.

The +SRTP master key is updated in the two circumstances:
+

An SRTP session must be created and initialized.

+ + +The SRTP client receives notification of master key stale state or SRTP +client decides to update the master key for security. + +The SRTP client +updates the master key using the SetMasterKey() API of +the class CSRTPCryptoContext. + + +The prototype of the API is as described below: +
    +
  • IMPORT_C void SetMasterKey( const CSRTPMasterKey* aKey); + +

    This API updates +the master key.

    aKey is the input parameter that contains the new +master key.

  • +
+
+
+
+
+

A new master key is returned to the stream or session.

SRTP +implementation derives new session keys from the new master key.

SRTP +client updates the stream/session cryptographic context with a the new master +key.

+
+Creating +an SRTP Session +Creating +a Cryptographic Context +Creating +an SRTP Stream +Encrypting + RTCP Packet Data +Encrypting +RTP Packet Data +Decrypting +RTP Packet Data +Decrypting + RTCP Packet Data +Managing + Master Key +
\ No newline at end of file