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 TypeMethodDescriptionvoidAdd a cipher to the chipher map.Get ciphers.getCspi()Get cSPI.Get from address.longGets the native pointer used by this class to make native method calls.intgetSspi()Get sSPI.Gets the object stored in this object user's datavoidsetCiphers(Dictionary ciphers) Set ciphers.voidSet cSPI.voidsetFromAddress(Address from) Set from address.voidsetSspi(int sspi) Set sSPI.voidsetUserData(Object data) Sets the object to store in this object user's datatoString()
-
Method Details
-
getCiphers
Get ciphers.
- Returns:
- a
Dictionaryobject.
-
setCiphers
Set ciphers.
- Parameters:
ciphers- the ciphers to set.
-
getCspi
Get cSPI.
- Returns:
- a
Addressobject.
-
setCspi
Set cSPI.
- Parameters:
cspi- the address to set.
-
getFromAddress
Get from address.
- Returns:
- a
Addressobject.
-
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()
-