Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface PublicKeyInfoUpdateOptions

An options object used to update a DidDocument by adding or updating a public key If the DidDocument does not include a key with the same id, a new key will be added. If it does, that key will be updated

Hierarchy

  • PublicKeyInfoUpdateOptions

Index

Properties

Optional encoding

encoding: string

optional, required to add a new key

id

id: string

Optional publicKey

publicKey: string

optional, but required to add a new key

Optional status

status: string

optional required to add a new key or update key status of an existing key. Can invaliate an existing by setting to value 'invalid'

Optional type

type: string

optional, required to add a new key

Generated using TypeDoc