enckeys_v1 source realm
Package enckeys\_v1 is an ownerless public encryption-key directory. Keys are announcements by accounts, not attestat...
Package enckeys_v1 is an ownerless public encryption-key directory. Keys are announcements by accounts, not attestations of identity, custody, recovery strength or successful decryption. There is no fee, admin or pause.
2
const SuiteXWingV1
5
func GetKey
ActionGetKey returns a defensive copy; generation is still returned after revoke.
func KeyJSON
ActionKeyJSON serializes all chain integers as decimal strings. op_id and height identify the last successful mutation for recovery from an unknown outcome.
func RegisterKey
crossing Action1func RegisterKey(cur realm, suite string, expectedGeneration uint64, publicKey []byte, opID [16]byte) uint64RegisterKey replaces the caller's announcement using an optimistic lock. expectedGeneration is zero only for first registration. A revoked generation is retained forever; re-registering cannot reuse an old identity generation.
func Render
func RevokeKey
crossing ActionRevokeKey removes the active key but retains the generation and receipt. Historical announcements and wraps remain public chain history.
8
- chain stdlib
- chain/runtime stdlib
- chain/runtime/unsafe stdlib
- crypto/bech32 stdlib
- encoding/base64 stdlib
- encoding/hex stdlib
- gno.land/p/samcrew/avl package
- strconv stdlib