Skip to main content

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

Class: PrismDID

Domain.PrismDID

Table of contents

Constructors

Properties

Methods

Constructors

constructor

new PrismDID(did, privateKey, alias?): PrismDID

Parameters

NameType
didDID
privateKeyPrivateKey
alias?string

Returns

PrismDID

Defined in

src/domain/models/PrismDID.ts:6

Properties

alias

Optional Readonly alias: string

Defined in

src/domain/models/PrismDID.ts:9


did

Readonly did: DID

Defined in

src/domain/models/PrismDID.ts:7


privateKey

Readonly privateKey: PrivateKey

Defined in

src/domain/models/PrismDID.ts:8

Methods

parseMethodId

parseMethodId(value): string

Parameters

NameType
valuestring | string[]

Returns

string

Defined in

src/domain/models/PrismDID.ts:12