MCPcopy Create free account
hub / github.com/SIPp/sipp / selectDecryptionKey

Method selectDecryptionKey

src/jlsrtp.cpp:1666–1685  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1664}
1665
1666int JLSRTP::selectDecryptionKey()
1667{
1668 int rc = 0;
1669
1670 assert(!_session_enc_key.empty());
1671 if (!_session_enc_key.empty())
1672 {
1673 rc = setAESSessionEncryptionKey();
1674 if (rc == 0)
1675 {
1676 return 0;
1677 }
1678
1679 return -2;
1680 }
1681 else
1682 {
1683 return -1;
1684 }
1685}
1686
1687CipherType JLSRTP::getCipherAlgorithm(ActiveCrypto crypto_attrib /*= ACTIVE_CRYPTO*/)
1688{

Callers 1

executeActionMethod · 0.80

Calls 1

emptyMethod · 0.80

Tested by

no test coverage detected