@atala/prism-wallet-sdk / Exports / PeerDIDService
Class: PeerDIDService
Provides functionality to transfrom peerDIDServices from our interfaces into DIDComm module ones
Table of contents
Constructors
Properties
Methods
Constructors
constructor
• new PeerDIDService(type
, serviceEndpoint
, routingKeys?
, accept?
): PeerDIDService
Parameters
Name | Type |
---|---|
type | string |
serviceEndpoint | string |
routingKeys? | string [] |
accept? | string [] |
Returns
Defined in
Properties
accept
• Optional
Readonly
accept: string
[]
Defined in
routingKeys
• Optional
Readonly
routingKeys: string
[]
Defined in
serviceEndpoint
• Readonly
serviceEndpoint: string
Defined in
type
• Readonly
type: string
Defined in
CodingKeys
▪ Static
Readonly
CodingKeys: Object
Type declaration
Name | Type |
---|---|
accept | string |
routingKeys | string |
serviceEndpoint | string |
type | string |
Defined in
DIDCommMessagingEncodedKey
▪ Static
Readonly
DIDCommMessagingEncodedKey: "dm"
Defined in
DIDCommMessagingKey
▪ Static
Readonly
DIDCommMessagingKey: "DIDCommMessaging"
Defined in
Methods
encode
▸ encode(): PeerDIDEncoded
Returns
Defined in
decode
▸ decode(encoded
): PeerDIDService
Parameters
Name | Type |
---|---|
encoded | PeerDIDEncoded |