Package io.rong.imlib.model
Class RCEncryptedSession
-
- All Implemented Interfaces:
public class RCEncryptedSession
Encrypted Conversation Information Entity Class
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public class
RCEncryptedSession.RCEncryptedSessionStatus
Encrypted session signaling status.
-
Constructor Summary
Constructors Constructor Description RCEncryptedSession()
-
Method Summary
Modifier and Type Method Description String
getTargetId()
Retrieves the target conversation ID. void
setTargetId(String targetId)
Set the target conversation ID. String
getRemoteEncId()
Retrieves the peer's encryptId. void
setRemoteEncId(String remoteEncId)
Sets the remote encryptId. String
getEncKey()
Retrieves the symmetric encryption key. void
setEncKey(String encKey)
Sets the symmetric encryption key. String
getEncXA()
Retrieves the XA generated by the local end in the DH algorithm. void
setEncXA(String encXA)
Sets the XA generated by the local end in the DH algorithm. int
getEncStatus()
Get the encrypted conversation status. void
setEncStatus(int encStatus)
Sets the encrypted conversation status. static Creator<RCEncryptedSession>
getCREATOR()
int
describeContents()
void
writeToParcel(Parcel dest, int flags)
String
toString()
-
-
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()
-
-
-
-