com.cisco.jtapi.extensions
Interface CiscoMediaEncryptionKeyInfo


public interface CiscoMediaEncryptionKeyInfo

Introduction

The CiscoMediaEncryptionKeyInfo interface lets applications get information about SRTP keys.

See Also:
CiscoRTPInputKeyEv, CiscoRTPOutputKeyEv

Method Summary
 int getAlgorithmID()
          Returns the media encryption algorithm ID for the current stream.
 int getIsMKIPresent()
          Indicates whether MKI is present.
 byte[] getKey()
          Returns the master key for the stream.
 int getKeyLength()
          Returns the keyLength of the key.
 byte[] getSalt()
          Returns the salt key for the stream.
 int getSaltLength()
          Returns the saltLength of the salt.
 int keyDerivationRate()
          Indicates the SRTP key derivation rate for this session.
 

Method Detail

getKeyLength

int getKeyLength()
Returns the keyLength of the key.


getSaltLength

int getSaltLength()
Returns the saltLength of the salt.


getKey

byte[] getKey()
Returns the master key for the stream.


getSalt

byte[] getSalt()
Returns the salt key for the stream.


getAlgorithmID

int getAlgorithmID()
Returns the media encryption algorithm ID for the current stream.


getIsMKIPresent

int getIsMKIPresent()
Indicates whether MKI is present.


keyDerivationRate

int keyDerivationRate()
Indicates the SRTP key derivation rate for this session.