Package io.rong.imlib.model
Class RCEncryptedSession
-
- All Implemented Interfaces:
public class RCEncryptedSessionEncrypted Conversation Information Entity Class
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public classRCEncryptedSession.RCEncryptedSessionStatusEncrypted session signaling status.
-
Constructor Summary
Constructors Constructor Description RCEncryptedSession()
-
Method Summary
Modifier and Type Method Description StringgetTargetId()Retrieves the target conversation ID. voidsetTargetId(String targetId)Set the target conversation ID. StringgetRemoteEncId()Retrieves the peer's encryptId. voidsetRemoteEncId(String remoteEncId)Sets the remote encryptId. StringgetEncKey()Retrieves the symmetric encryption key. voidsetEncKey(String encKey)Sets the symmetric encryption key. StringgetEncXA()Retrieves the XA generated by the local end in the DH algorithm. voidsetEncXA(String encXA)Sets the XA generated by the local end in the DH algorithm. intgetEncStatus()Get the encrypted conversation status. voidsetEncStatus(int encStatus)Sets the encrypted conversation status. static Creator<RCEncryptedSession>getCREATOR()intdescribeContents()voidwriteToParcel(Parcel dest, int flags)StringtoString()-
-
Method Detail
-
getTargetId
String getTargetId()
Retrieves the target conversation ID.
- Returns:
The target conversation ID.
-
setTargetId
void setTargetId(String targetId)
Set the target conversation ID.
- Parameters:
targetId- Specifies the target conversation ID.
-
getRemoteEncId
String getRemoteEncId()
Retrieves the peer's encryptId.
- Returns:
The peer's encryptId.
-
setRemoteEncId
void setRemoteEncId(String remoteEncId)
Sets the remote encryptId.
- Parameters:
remoteEncId- The remote encryptId.
-
getEncKey
String getEncKey()
Retrieves the symmetric encryption key.
- Returns:
The symmetric encryption key.
-
setEncKey
void setEncKey(String encKey)
Sets the symmetric encryption key.
- Parameters:
encKey- The symmetric encryption key.
-
getEncXA
String getEncXA()
Retrieves the XA generated by the local end in the DH algorithm.
- Returns:
The XA generated by the local end in the DH algorithm.
-
setEncXA
void setEncXA(String encXA)
Sets the XA generated by the local end in the DH algorithm.
- Parameters:
encXA- The XA generated by the local end in the DH algorithm.
-
getEncStatus
int getEncStatus()
Get the encrypted conversation status.
- Returns:
The encrypted conversation status.
-
setEncStatus
void setEncStatus(int encStatus)
Sets the encrypted conversation status.
- Parameters:
encStatus- Specifies the encrypted conversation status.
-
getCREATOR
static Creator<RCEncryptedSession> getCREATOR()
-
describeContents
int describeContents()
-
writeToParcel
void writeToParcel(Parcel dest, int flags)
-
toString
String toString()
-
-
-
-