Interface: IDidVerificationMethod ​
Defined in: packages/method/src/utils/did-document.ts:37
Represents a verification method in the context of a DID document.
A verification method is a mechanism by which a DID controller can cryptographically assert proof of ownership or control over a DID or DID document. This can include, but is not limited to, cryptographic public keys or other data that can be used to authenticate or authorize actions.
See ​
DID Core Specification, § Verification Methods
Extends ​
Properties ​
controller ​
controller:
string
Defined in: packages/method/src/utils/did-document.ts:40
The DID of the entity that controls this verification method.
Overrides ​
DidVerificationMethod.controller
id ​
id:
string
Defined in: packages/method/src/utils/did-document.ts:38
The identifier of the verification method, which must be a URI.
Overrides ​
publicKeyJwk? ​
optionalpublicKeyJwk:Jwk
Defined in: node_modules/.pnpm/@web5+dids@1.2.0/node_modules/@web5/dids/dist/types/types/did-core.d.ts:465
(Optional) A public key in JWK format.
A JSON Web Key (JWK) that conforms to RFC 7517.
Inherited from ​
DidVerificationMethod.publicKeyJwk
publicKeyMultibase ​
publicKeyMultibase:
string
Defined in: packages/method/src/utils/did-document.ts:41
(Optional) A public key in Multibase format.
A multibase key that conforms to the draft Multibase specification.
Overrides ​
DidVerificationMethod.publicKeyMultibase
secretKeyMultibase? ​
optionalsecretKeyMultibase:string
Defined in: packages/method/src/utils/did-document.ts:42
type ​
type:
string
Defined in: packages/method/src/utils/did-document.ts:39
The type of the verification method.
To maximize interoperability this value SHOULD be one of the valid verification method types registered in the DID Specification Registries.