Liblinphone  5.4.0
Public Member Functions | List of all members
linphone::EktInfo Class Reference

Object representing all informations present in an Encrypted Key Transport event. More...

#include <ekt_info.hh>

Inheritance diagram for linphone::EktInfo:

Public Member Functions

LINPHONECXX_PUBLIC EktInfo (void *ptr, bool takeRef=true)
 
LINPHONECXX_PUBLIC _LinphoneEktInfo * cPtr ()
 
LINPHONECXX_PUBLIC std::shared_ptr< linphone::DictionarygetCiphers () const
 Get ciphers. More...
 
LINPHONECXX_PUBLIC void setCiphers (const std::shared_ptr< linphone::Dictionary > &ciphers)
 Set ciphers. More...
 
LINPHONECXX_PUBLIC std::shared_ptr< linphone::BuffergetCspi () const
 Get cSPI. More...
 
LINPHONECXX_PUBLIC void setCspi (const std::shared_ptr< const linphone::Buffer > &cspi)
 Set cSPI. More...
 
LINPHONECXX_PUBLIC std::shared_ptr< const linphone::AddressgetFromAddress () const
 Get from address. More...
 
LINPHONECXX_PUBLIC void setFromAddress (const std::shared_ptr< const linphone::Address > &from)
 Set from address. More...
 
LINPHONECXX_PUBLIC uint16_t getSspi () const
 Get sSPI. More...
 
LINPHONECXX_PUBLIC void setSspi (uint16_t sspi)
 Set sSPI. More...
 
LINPHONECXX_PUBLIC void addCipher (const std::string &to, const std::shared_ptr< const linphone::Buffer > &cipher)
 Add a cipher to the chipher map. More...
 

Detailed Description

Object representing all informations present in an Encrypted Key Transport event.

Member Function Documentation

◆ addCipher()

LINPHONECXX_PUBLIC void linphone::EktInfo::addCipher ( const std::string &  to,
const std::shared_ptr< const linphone::Buffer > &  cipher 
)

Add a cipher to the chipher map.

Parameters
tothe address to set.
cipherthe cipher to set.

◆ getCiphers()

LINPHONECXX_PUBLIC std::shared_ptr<linphone::Dictionary> linphone::EktInfo::getCiphers ( ) const

Get ciphers.

Returns
a Dictionary object.

◆ getCspi()

LINPHONECXX_PUBLIC std::shared_ptr<linphone::Buffer> linphone::EktInfo::getCspi ( ) const

Get cSPI.

Returns
a Address object.

◆ getFromAddress()

LINPHONECXX_PUBLIC std::shared_ptr<const linphone::Address> linphone::EktInfo::getFromAddress ( ) const

Get from address.

Returns
a Address object.

◆ getSspi()

LINPHONECXX_PUBLIC uint16_t linphone::EktInfo::getSspi ( ) const

Get sSPI.

Returns
a 16-bits unsigned int representing the sSPI.

◆ setCiphers()

LINPHONECXX_PUBLIC void linphone::EktInfo::setCiphers ( const std::shared_ptr< linphone::Dictionary > &  ciphers)

Set ciphers.

Parameters
ciphersthe ciphers to set.

◆ setCspi()

LINPHONECXX_PUBLIC void linphone::EktInfo::setCspi ( const std::shared_ptr< const linphone::Buffer > &  cspi)

Set cSPI.

Parameters
cspithe address to set.

◆ setFromAddress()

LINPHONECXX_PUBLIC void linphone::EktInfo::setFromAddress ( const std::shared_ptr< const linphone::Address > &  from)

Set from address.

Parameters
fromthe address to set.

◆ setSspi()

LINPHONECXX_PUBLIC void linphone::EktInfo::setSspi ( uint16_t  sspi)

Set sSPI.

Parameters
sspithe sspi to set.

The documentation for this class was generated from the following file: