Skip to content

Latest commit

 

History

History
30 lines (22 loc) · 1.77 KB

FileEncryptionInfoDto.md

File metadata and controls

30 lines (22 loc) · 1.77 KB

FileEncryptionInfoDto

The keys the calling account needs in order to open one file of an end-to-end encrypted private room.

Properties

Name Type Description Notes
user_keys List[EncryptionKeyDto] The key pairs of the calling account, never those of the other people in the room. The private half of each pair is stored encrypted with that person's own password and has to be decrypted on the client. An empty list means the account has generated no key pair yet, and until it does no file key can be issued to it. [optional]
file_keys List[FileKeysDto] The keys of this file that were issued to the calling account, each naming the public key it was encrypted for so that the client can pick the matching private half. An empty list means the file has not been shared with this account rather than that the file is unencrypted. [optional]

Example

from docspace_api_sdk.models.file_encryption_info_dto import FileEncryptionInfoDto

# TODO update the JSON string below
json = "{}"
# create an instance of FileEncryptionInfoDto from a JSON string
file_encryption_info_dto_instance = FileEncryptionInfoDto.from_json(json)
# print the JSON string representation of the object
print(FileEncryptionInfoDto.to_json())

# convert the object into a dict
file_encryption_info_dto_dict = file_encryption_info_dto_instance.to_dict()
# create an instance of FileEncryptionInfoDto from a dict
file_encryption_info_dto_from_dict = FileEncryptionInfoDto.from_dict(file_encryption_info_dto_dict)

[Back to Model list] [Back to API list] [Back to README]