Class RCEncryptedSession

  • All Implemented Interfaces:

    
    public class RCEncryptedSession
    
                        

    Encrypted Conversation Information Entity Class

    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • 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()
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • RCEncryptedSession

        RCEncryptedSession()
    • 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()