im
.
actor
.
api
.
rpc
.
encryption
EncryptionService
Related Doc:
package encryption
trait
EncryptionService
extends
Service
Linear Supertypes
Service
,
AnyRef
,
Any
Ordering
Alphabetic
By inheritance
Inherited
EncryptionService
Service
AnyRef
Any
Hide All
Show all
Visibility
Public
All
Type Members
type
HandleResult
=
\/
[
RpcError
,
RpcOk
]
Attributes
protected
Definition Classes
Service
type
HandlerResult
[
A <:
RpcResponse
]
=
\/
[
RpcError
,
A
]
Attributes
protected
Definition Classes
Service
Abstract Value Members
implicit abstract
val
ec
:
ExecutionContext
Attributes
protected
abstract
def
jhandleConnectKeyGroup
(
keyGroupId:
Int
,
clientData:
ClientData
)
:
Future
[
HandlerResult
[
ResponseVoid
]]
abstract
def
jhandleCreateNewKeyGroup
(
identityKey:
Refs.ApiEncryptionKey
,
supportedEncryptions:
IndexedSeq
[
String
]
,
keys:
IndexedSeq
[
Refs.ApiEncryptionKey
]
,
signatures:
IndexedSeq
[
Refs.ApiEncryptionKeySignature
]
,
clientData:
ClientData
)
:
Future
[
HandlerResult
[
ResponseCreateNewKeyGroup
]]
abstract
def
jhandleDeleteKeyGroup
(
keyGroupId:
Int
,
clientData:
ClientData
)
:
Future
[
HandlerResult
[
ResponseVoid
]]
abstract
def
jhandleDisconnectKeyGroup
(
keyGroupId:
Int
,
clientData:
ClientData
)
:
Future
[
HandlerResult
[
ResponseVoid
]]
abstract
def
jhandleLoadEphermalPublicKeys
(
userPeer:
ApiUserOutPeer
,
keyGroupId:
Int
,
clientData:
ClientData
)
:
Future
[
HandlerResult
[
Refs.ResponsePublicKeys
]]
abstract
def
jhandleLoadPublicKey
(
userPeer:
ApiUserOutPeer
,
keyGroupId:
Int
,
keyIds:
IndexedSeq
[
Long
]
,
clientData:
ClientData
)
:
Future
[
HandlerResult
[
Refs.ResponsePublicKeys
]]
abstract
def
jhandleLoadPublicKeyGroups
(
userPeer:
ApiUserOutPeer
,
clientData:
ClientData
)
:
Future
[
HandlerResult
[
Refs.ResponsePublicKeyGroups
]]
abstract
def
jhandleUploadEphermalKey
(
keyGroupId:
Int
,
keys:
IndexedSeq
[
Refs.ApiEncryptionKey
]
,
signatures:
IndexedSeq
[
Refs.ApiEncryptionKeySignature
]
,
clientData:
ClientData
)
:
Future
[
HandlerResult
[
ResponseVoid
]]
Concrete Value Members
final
def
!=
(
arg0:
Any
)
:
Boolean
Definition Classes
AnyRef → Any
final
def
##
()
:
Int
Definition Classes
AnyRef → Any
final
def
==
(
arg0:
Any
)
:
Boolean
Definition Classes
AnyRef → Any
final
def
asInstanceOf
[
T0
]
:
T0
Definition Classes
Any
def
clone
()
:
AnyRef
Attributes
protected[
java.lang
]
Definition Classes
AnyRef
Annotations
@throws
(
...
)
final
def
eq
(
arg0:
AnyRef
)
:
Boolean
Definition Classes
AnyRef
def
equals
(
arg0:
Any
)
:
Boolean
Definition Classes
AnyRef → Any
def
finalize
()
:
Unit
Attributes
protected[
java.lang
]
Definition Classes
AnyRef
Annotations
@throws
(
classOf[java.lang.Throwable]
)
final
def
getClass
()
:
Class
[_]
Definition Classes
AnyRef → Any
def
handleConnectKeyGroup
(
keyGroupId:
Int
)
(
implicit
clientData:
ClientData
)
:
Future
[
HandlerResult
[
ResponseVoid
]]
def
handleCreateNewKeyGroup
(
identityKey:
Refs.ApiEncryptionKey
,
supportedEncryptions:
IndexedSeq
[
String
]
,
keys:
IndexedSeq
[
Refs.ApiEncryptionKey
]
,
signatures:
IndexedSeq
[
Refs.ApiEncryptionKeySignature
]
)
(
implicit
clientData:
ClientData
)
:
Future
[
HandlerResult
[
ResponseCreateNewKeyGroup
]]
def
handleDeleteKeyGroup
(
keyGroupId:
Int
)
(
implicit
clientData:
ClientData
)
:
Future
[
HandlerResult
[
ResponseVoid
]]
def
handleDisconnectKeyGroup
(
keyGroupId:
Int
)
(
implicit
clientData:
ClientData
)
:
Future
[
HandlerResult
[
ResponseVoid
]]
def
handleLoadEphermalPublicKeys
(
userPeer:
ApiUserOutPeer
,
keyGroupId:
Int
)
(
implicit
clientData:
ClientData
)
:
Future
[
HandlerResult
[
Refs.ResponsePublicKeys
]]
def
handleLoadPublicKey
(
userPeer:
ApiUserOutPeer
,
keyGroupId:
Int
,
keyIds:
IndexedSeq
[
Long
]
)
(
implicit
clientData:
ClientData
)
:
Future
[
HandlerResult
[
Refs.ResponsePublicKeys
]]
def
handleLoadPublicKeyGroups
(
userPeer:
ApiUserOutPeer
)
(
implicit
clientData:
ClientData
)
:
Future
[
HandlerResult
[
Refs.ResponsePublicKeyGroups
]]
def
handleRequest
(
clientData:
ClientData
,
request:
EncryptionRpcRequest
)
:
Future
[
HandleResult
]
val
handleRequestPartial
:
PartialFunction
[
RpcRequest
, (
ClientData
) ⇒
Future
[
HandleResult
]]
Definition Classes
EncryptionService
→
Service
def
handleUploadEphermalKey
(
keyGroupId:
Int
,
keys:
IndexedSeq
[
Refs.ApiEncryptionKey
]
,
signatures:
IndexedSeq
[
Refs.ApiEncryptionKeySignature
]
)
(
implicit
clientData:
ClientData
)
:
Future
[
HandlerResult
[
ResponseVoid
]]
def
hashCode
()
:
Int
Definition Classes
AnyRef → Any
final
def
isInstanceOf
[
T0
]
:
Boolean
Definition Classes
Any
final
def
ne
(
arg0:
AnyRef
)
:
Boolean
Definition Classes
AnyRef
final
def
notify
()
:
Unit
Definition Classes
AnyRef
final
def
notifyAll
()
:
Unit
Definition Classes
AnyRef
final
def
synchronized
[
T0
]
(
arg0: ⇒
T0
)
:
T0
Definition Classes
AnyRef
def
toString
()
:
String
Definition Classes
AnyRef → Any
final
def
wait
()
:
Unit
Definition Classes
AnyRef
Annotations
@throws
(
...
)
final
def
wait
(
arg0:
Long
,
arg1:
Int
)
:
Unit
Definition Classes
AnyRef
Annotations
@throws
(
...
)
final
def
wait
(
arg0:
Long
)
:
Unit
Definition Classes
AnyRef
Annotations
@throws
(
...
)
Inherited from
Service
Inherited from
AnyRef
Inherited from
Any
Ungrouped