Skip to main content

@hyperledger/identus-sdk / Exports / ProposePresentation

Class: ProposePresentation

Table of contents

Constructors

Properties

Methods

Constructors

constructor

new ProposePresentation(body, attachments, from, to, thid?, id?): ProposePresentation

Parameters

NameType
bodyProposePresentationBody
attachmentsAttachmentDescriptor[]
fromDID
toDID
thid?string
idstring

Returns

ProposePresentation

Defined in

src/edge-agent/protocols/proofPresentation/ProposePresentation.ts:22

Properties

attachments

attachments: AttachmentDescriptor[]

Defined in

src/edge-agent/protocols/proofPresentation/ProposePresentation.ts:24


body

body: ProposePresentationBody

Defined in

src/edge-agent/protocols/proofPresentation/ProposePresentation.ts:23


from

from: DID

Defined in

src/edge-agent/protocols/proofPresentation/ProposePresentation.ts:25


id

id: string

Defined in

src/edge-agent/protocols/proofPresentation/ProposePresentation.ts:28


thid

Optional thid: string

Defined in

src/edge-agent/protocols/proofPresentation/ProposePresentation.ts:27


to

to: DID

Defined in

src/edge-agent/protocols/proofPresentation/ProposePresentation.ts:26


type

Static type: ProtocolType = ProtocolType.DidcommProposePresentation

Defined in

src/edge-agent/protocols/proofPresentation/ProposePresentation.ts:20

Methods

makeMessage

makeMessage(): Message

Returns

Message

Defined in

src/edge-agent/protocols/proofPresentation/ProposePresentation.ts:43


validate

validate(): void

Returns

void

Defined in

src/edge-agent/protocols/proofPresentation/ProposePresentation.ts:33


fromMessage

fromMessage(fromMessage): ProposePresentation

Parameters

NameType
fromMessageMessage

Returns

ProposePresentation

Defined in

src/edge-agent/protocols/proofPresentation/ProposePresentation.ts:56