class Group
Group
val initiator: String |
|
var participants: MutableSet<String> |
fun add(participants: FindUsersResult): Completable
Adds new participants to group. fun add(participant: Card): Completable |
|
fun decrypt(data: ByteArray, senderCard: Card, date: Date? = null): ByteArray
Decrypts and verifies data from group participant. fun decrypt(text: String, senderCard: Card, date: Date? = null): String
Decrypts and verifies base64 string from group participant. |
|
fun encrypt(string: String): String fun encrypt(data: ByteArray): ByteArray
Signs and encrypts data for group. |
|
fun reAdd(participant: Card): Completable
Share group access and history on new Card of existing participant. |
|
fun remove(participants: FindUsersResult): Completable
Removes participants from group. fun remove(participant: Card): Completable |
|
fun update(): Completable
Updates group. |
val VALID_PARTICIPANTS_COUNT_RANGE: IntRange |