package
encryption
Type Members
-
final
case class
ApiEncryptedBox(keys: IndexedSeq[Refs.ApiEncyptedBoxKey], algType: String, encPackage: Array[Byte], senderKeyGroupId: Int, signatures: IndexedSeq[Refs.ApiEncryptedBoxSignature]) extends Product with Serializable
-
final
case class
ApiEncryptedBoxSignature(algType: String, signature: Array[Byte]) extends Product with Serializable
-
final
case class
ApiEncryptionKey(keyId: Long, keyAlg: String, keyMaterial: Option[Array[Byte]], keyHash: Option[Array[Byte]]) extends Product with Serializable
-
final
case class
ApiEncryptionKeyGroup(keyGroupId: Int, supportedEncryption: IndexedSeq[String], identityKey: Refs.ApiEncryptionKey, keys: IndexedSeq[Refs.ApiEncryptionKey], signatures: IndexedSeq[Refs.ApiEncryptionKeySignature]) extends Product with Serializable
-
final
case class
ApiEncryptionKeySignature(keyId: Long, signatureAlg: String, signature: Array[Byte]) extends Product with Serializable
-
final
case class
ApiEncyptedBoxKey(usersId: Int, keyGroupId: Int, algType: String, encryptedKey: Array[Byte]) extends Product with Serializable
-
final
case class
ApiKeyGroupId(userId: Int, keyGroupId: Int) extends Product with Serializable
-
-
-
-
final
case class
RequestCreateNewKeyGroup(identityKey: Refs.ApiEncryptionKey, supportedEncryptions: IndexedSeq[String], keys: IndexedSeq[Refs.ApiEncryptionKey], signatures: IndexedSeq[Refs.ApiEncryptionKeySignature]) extends EncryptionRpcRequest with ContainsHeader with Product with Serializable
-
-
-
-
final
case class
RequestLoadPublicKey(userPeer: ApiUserOutPeer, keyGroupId: Int, keyIds: IndexedSeq[Long]) extends EncryptionRpcRequest with ContainsHeader with Product with Serializable
-
-
final
case class
RequestSendEncryptedPackage(randomId: Long, destPeers: IndexedSeq[ApiUserOutPeer], ignoredKeyGroups: IndexedSeq[Refs.ApiKeyGroupId], encryptedBox: Refs.ApiEncryptedBox) extends EncryptionRpcRequest with ContainsHeader with Product with Serializable
-
final
case class
RequestUploadPreKey(keyGroupId: Int, keys: IndexedSeq[Refs.ApiEncryptionKey], signatures: IndexedSeq[Refs.ApiEncryptionKeySignature]) extends EncryptionRpcRequest with ContainsHeader with Product with Serializable
-
final
case class
ResponseCreateNewKeyGroup(keyGroupId: Int) extends RpcResponse with Product with Serializable
-
final
case class
ResponsePublicKeyGroups(publicKeyGroups: IndexedSeq[Refs.ApiEncryptionKeyGroup]) extends RpcResponse with Product with Serializable
-
final
case class
ResponsePublicKeys(publicKey: IndexedSeq[Refs.ApiEncryptionKey], signatures: IndexedSeq[Refs.ApiEncryptionKeySignature]) extends RpcResponse with Product with Serializable
-
final
case class
ResponseSendEncryptedPackage(seq: Option[Int], state: Option[Array[Byte]], date: Option[Long], obsoleteKeyGroups: IndexedSeq[Refs.ApiKeyGroupId], missedKeyGroups: IndexedSeq[Refs.ApiKeyGroupId]) extends RpcResponse with Product with Serializable
-
final
case class
UpdateEncryptedPackage(randomId: Long, date: Long, senderId: Int, encryptedBox: Refs.ApiEncryptedBox) extends Update with Product with Serializable
-
final
case class
UpdateKeysAdded(userId: Int, keyGroupId: Int, keys: IndexedSeq[Refs.ApiEncryptionKey], signatures: IndexedSeq[Refs.ApiEncryptionKeySignature]) extends Update with Product with Serializable
-
final
case class
UpdateKeysRemoved(userId: Int, keyGroupId: Int, keyIds: IndexedSeq[Long]) extends Update with Product with Serializable
-
final
case class
UpdatePublicKeyGroupAdded(userId: Int, keyGroup: Refs.ApiEncryptionKeyGroup) extends Update with Product with Serializable
-
final
case class
UpdatePublicKeyGroupChanged(userId: Int, keyGroup: Refs.ApiEncryptionKeyGroup) extends Update with Product with Serializable
-
final
case class
UpdatePublicKeyGroupRemoved(userId: Int, keyGroupId: Int) extends Update with Product with Serializable