Skip to main content

@atala/prism-wallet-sdk / Exports / Domain / VerificationMethod

Class: VerificationMethod

Domain.VerificationMethod

Table of contents

Constructors

Properties

Methods

Constructors

constructor

new VerificationMethod(id, controller, type, publicKeyJwk?, publicKeyMultibase?): VerificationMethod

Parameters

NameType
idstring
controllerstring
typestring
publicKeyJwk?PublicKeyJWK
publicKeyMultibase?string

Returns

VerificationMethod

Defined in

src/domain/models/DIDDocument.ts:14

Properties

controller

controller: string

Defined in

src/domain/models/DIDDocument.ts:16


id

id: string

Defined in

src/domain/models/DIDDocument.ts:15


publicKeyJwk

Optional publicKeyJwk: PublicKeyJWK

Defined in

src/domain/models/DIDDocument.ts:18


publicKeyMultibase

Optional publicKeyMultibase: string

Defined in

src/domain/models/DIDDocument.ts:19


type

type: string

Defined in

src/domain/models/DIDDocument.ts:17

Methods

getCurveByType

getCurveByType(type): Curve

Parameters

NameType
typestring

Returns

Curve

Defined in

src/domain/models/DIDDocument.ts:22