2021-07-13 18:08:27 +00:00
|
|
|
/*
|
2022-04-14 11:56:51 +00:00
|
|
|
NeoFSID contract is a contract deployed in NeoFS sidechain.
|
2021-07-13 18:08:27 +00:00
|
|
|
|
2022-04-14 11:56:51 +00:00
|
|
|
NeoFSID contract is used to store connection between an OwnerID and its public keys.
|
|
|
|
OwnerID is a 25-byte N3 wallet address that can be produced from a public key.
|
|
|
|
It is one-way conversion. In simple cases, NeoFS verifies ownership by checking
|
|
|
|
signature and relation between a public key and an OwnerID.
|
2021-07-13 18:08:27 +00:00
|
|
|
|
2022-04-14 11:56:51 +00:00
|
|
|
In more complex cases, a user can use public keys unrelated to the OwnerID to maintain
|
|
|
|
secure access to the data. NeoFSID contract stores relation between an OwnerID and
|
|
|
|
arbitrary public keys. Data owner can bind a public key with its account or unbind it
|
|
|
|
by invoking Bind or Unbind methods of NeoFS contract in the mainchain. After that,
|
|
|
|
Alphabet nodes produce multisigned AddKey and RemoveKey invocations of NeoFSID
|
2021-07-13 18:08:27 +00:00
|
|
|
contract.
|
|
|
|
|
2022-12-12 19:59:13 +00:00
|
|
|
# Contract notifications
|
2021-07-13 18:08:27 +00:00
|
|
|
|
|
|
|
NeoFSID contract does not produce notifications to process.
|
|
|
|
*/
|
2021-07-04 11:08:37 +00:00
|
|
|
package neofsid
|