Package org.linphone.core
Interface EktInfo
public interface EktInfo
Object representing all informations present in an Encrypted Key Transport
event.
event.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Add a cipher to the chipher map.Get ciphers.getCspi()
Get cSPI.Get from address.long
Gets the native pointer used by this class to make native method calls.int
getSspi()
Get sSPI.Gets the object stored in this object user's datavoid
setCiphers
(Dictionary ciphers) Set ciphers.void
Set cSPI.void
setFromAddress
(Address from) Set from address.void
setSspi
(int sspi) Set sSPI.void
setUserData
(Object data) Sets the object to store in this object user's datatoString()
-
Method Details
-
getCiphers
Get ciphers.
- Returns:
- a
Dictionary
object.
-
setCiphers
Set ciphers.
- Parameters:
ciphers
- the ciphers to set.
-
getCspi
Get cSPI.
- Returns:
- a
Address
object.
-
setCspi
Set cSPI.
- Parameters:
cspi
- the address to set.
-
getFromAddress
Get from address.
- Returns:
- a
Address
object.
-
setFromAddress
Set from address.
- Parameters:
from
- the address to set.
-
getSspi
int getSspi()Get sSPI.
- Returns:
- a 16-bits unsigned int representing the sSPI.
-
setSspi
void setSspi(int sspi) Set sSPI.
- Parameters:
sspi
- the sspi to set.
-
addCipher
Add a cipher to the chipher map.
- Parameters:
to
- the address to set.cipher
- the cipher to set.
-
setUserData
Sets the object to store in this object user's data- Parameters:
data
- the object to store
-
getUserData
Object getUserData()Gets the object stored in this object user's data- Returns:
- the object store if any, null otherwise
-
getNativePointer
long getNativePointer()Gets the native pointer used by this class to make native method calls.- Returns:
- the nativer pointer, as long
-
toString
String toString()
-