@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
Name | Type |
---|---|
did | DID |
privateKey | PrivateKey |
alias? | string |
Returns
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
Name | Type |
---|---|
value | string | string [] |
Returns
string