Regarding DID Authentication

Hi Team ,

I have a question .

"authentication":

    {
      "id": "did:example:123456789abcdefghi#keys-2",
      "type": "Ed25519VerificationKey2018",
      "controller": "did:example:123456789abcdefghi",
      "publicKeyBase58": "H3C2AVvLMv6gmMNam3uVAjZpfkcJCwDwnZn6z3wXmqPV"
    }
  ]

Here in authentication  controller of

"id": "did:example:123456789abcdefghi#keys-2",  is
"controller": "did:example:123456789abcdefghi",

and public key of controller is
"publicKeyBase58": "H3C2AVvLMv6gmMNam3uVAjZpfkcJCwDwnZn6z3wXmqPV"

Am  i right ?

and

now the value of key-2 is

{
    "id": "did:example:123456789abcdefghi#keys-2",
    "type": "Ed25519VerificationKey2018",
    "controller": "did:example:pqrstuvwxyz0987654321",
    "publicKeyBase58": "H3C2AVvLMv6gmMNam3uVAjZpfkcJCwDwnZn6z3wXmqPV"
  }



which means "controller": "did:example:123456789abcdefghi" controls
DID "id": "did:example:123456789abcdefghi#keys-2",

and public key of "id": "did:example:123456789abcdefghi#keys-2",  is

{
    "id": "did:example:123456789abcdefghi#keys-2",
    "type": "Ed25519VerificationKey2018",
    "controller": "did:example:pqrstuvwxyz0987654321",
    "publicKeyBase58": "H3C2AVvLMv6gmMNam3uVAjZpfkcJCwDwnZn6z3wXmqPV"

 }


now i am confused ,the public key mentioned under #key-2 is of
controller or the DID

and if the public key is of controller then do we need to add another
attribute to mention the public key of actual owner?


I am a bit confused .Please help


Regards

Sethi Shivam

Received on Monday, 16 September 2019 11:34:54 UTC