Skip to content
This repository was archived by the owner on Feb 20, 2024. It is now read-only.

Commit

Permalink
Merge pull request #306 from atsign-foundation/xlin-keybasics
Browse files Browse the repository at this point in the history
docs(sdk/flutter): fixed key creation rules
  • Loading branch information
XavierChanth authored Jun 16, 2023
2 parents 2d8b5ba + 12560e2 commit 409f1bd
Showing 1 changed file with 15 additions and 16 deletions.
31 changes: 15 additions & 16 deletions content/docs/sdk/flutter/key_basics.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ draft: false # TODO CHANGE THIS TO FALSE WHEN YOU ARE READY TO PUBLISH THE PAGE
order: 5 # Ordering of the steps
---


### Overview

To store data, atPlatform utilizes a straightforward key-value method. A key serves as a unique identifier in key-value pairs.
Expand Down Expand Up @@ -68,21 +67,21 @@ A key in atProtocol has the structure described below.
7. sharedWith and sharedBy/owner should be same for a self key (Private, Hidden (\_), Just self)
8. Reserved keys in protocol, private keys and hidden keys cannot be notified
Ex: notify:\_secret@jagan:sitaram
9.Protocol prevents creation of a key with a owner/sharedBy using an atSign that’s not owned by the current user.
9. Key cannot be a reserved key.

List of reserved keys:

- privatekey:at_pkam_privatekey
- privatekey:at_pkam_publickey
- public:publickey
- privatekey:privatekey
- shared_key
- privatekey:self_encryption_key
- signing_privatekey
- public:signing_publickey
- privatekey:at_secret
- privatekey:at_secret_deleted
9. Protocol prevents creation of a key with a owner/sharedBy using an atSign that’s not owned by the current user.
10. Key cannot be a reserved key.

List of reserved keys:

- privatekey:at_pkam_privatekey
- privatekey:at_pkam_publickey
- public:publickey
- privatekey:privatekey
- shared_key
- privatekey:self_encryption_key
- signing_privatekey
- public:signing_publickey
- privatekey:at_secret
- privatekey:at_secret_deleted

**atPlatform CRUD operations**

Expand Down

0 comments on commit 409f1bd

Please sign in to comment.