Package: skissm
The skissm package is the protobuf designed for e2ee applications to work with underlying security module.
Package for skissm software security module.
skissm/AcceptMsg.proto
AcceptMsg
Msg form invitee for completing a key agreement.
Field | Type | Label | Description |
---|---|---|---|
from | E2eeAddress | The sender's address. | |
to | E2eeAddress | The receiver's address. | |
e2ee_pack_id | uint32 | The e2ee pack ID. | |
encaps_ciphertext | bytes | The ciphertext encapsulated by the inviter's identity public key, empty in ECC. | |
ratchet_key | bytes | The invitee's ratchet key. |
skissm/AcceptRequest.proto
AcceptRequest
Request for sending an accept msg.
Field | Type | Label | Description |
---|---|---|---|
msg | AcceptMsg | The included msg for this request. |
skissm/AcceptResponse.proto
AcceptResponse
Response for sending Accept msg.
Field | Type | Label | Description |
---|---|---|---|
code | ResponseCode | The response code given by the server. | |
msg | string | The message given by the server. |
skissm/Account.proto
Account
Account for keeping keys and registeration information.
Field | Type | Label | Description |
---|---|---|---|
version | string | The version used for this account. | |
e2ee_pack_id | uint32 | The e2ee pack ID used for this account. | |
address | E2eeAddress | The address with device ID for this account. | |
identity_key | IdentityKey | The identity key pair. | |
signed_pre_key | SignedPreKey | The signed pre-key pair. | |
one_time_pre_key_list | OneTimePreKey | repeated | The one-time pre-key pairs. |
next_one_time_pre_key_id | uint32 | Next one-time pre-key pair ID. | |
saved | bool | The account is saved or not. | |
password | string | The password for logining to server. | |
auth | string | The jwt for authorizing request to server. | |
expires_in | int64 | The expiration time of auth. |
skissm/AcquireSyncMsg.proto
AcquireSyncMsg
Msg for acquiring un-processed msgs form server.
Field | Type | Label | Description |
---|---|---|---|
last_proto_msg_tag | ProtoMsgTag | The last handled tag for acquiring un-handled msg from server. |
skissm/AddGroupMemberDeviceMsg.proto
AddGroupMemberDeviceMsg
Msg for adding a device of group member.
Field | Type | Label | Description |
---|---|---|---|
e2ee_pack_id | uint32 | The e2ee pack ID. | |
sender_address | E2eeAddress | The sender's address. | |
sequence | uint32 | The sequence for related group session. | |
group_info | GroupInfo | The group information, including the group name, the group address and all of the group members. | |
adding_member_device | GroupMemberInfo | The information of a group member's new device. |
skissm/AddGroupMemberDeviceRequest.proto
AddGroupMemberDeviceRequest
Request for adding a device of group member.
Field | Type | Label | Description |
---|---|---|---|
msg | AddGroupMemberDeviceMsg | The included msg for this request. |
skissm/AddGroupMemberDeviceResponse.proto
AddGroupMemberDeviceResponse
Response for adding a device of group member.
Field | Type | Label | Description |
---|---|---|---|
code | ResponseCode | The response code given by the server. | |
msg | string | The message given by the server. | |
group_member_list | GroupMember | repeated | The group members. |
adding_member_device_info | GroupMemberInfo | The information of a group member's new device. |