Skip to main content

RequestPresentation

@hyperledger/identus-sdk v8.1.3


@hyperledger/identus-sdk / plugins/internal/oea / RequestPresentation

Class: RequestPresentation

Defined in: packages/lib/sdk/src/plugins/internal/oea/protocols/RequestPresentation.ts:20

Constructors​

Constructor​

new RequestPresentation(body: RequestPresentationBody, attachments: AttachmentDescriptor[], from: DID, to: DID, thid?: string, id?: string): RequestPresentation

Defined in: packages/lib/sdk/src/plugins/internal/oea/protocols/RequestPresentation.ts:23

Parameters​

ParameterType
bodyRequestPresentationBody
attachmentsAttachmentDescriptor[]
fromDID
toDID
thid?string
id?string

Returns​

RequestPresentation

Properties​

PropertyModifierTypeDefault valueDefined in
attachmentspublicAttachmentDescriptor[]undefinedpackages/lib/sdk/src/plugins/internal/oea/protocols/RequestPresentation.ts:25
bodypublicRequestPresentationBodyundefinedpackages/lib/sdk/src/plugins/internal/oea/protocols/RequestPresentation.ts:24
frompublicDIDundefinedpackages/lib/sdk/src/plugins/internal/oea/protocols/RequestPresentation.ts:26
idpublicstringundefinedpackages/lib/sdk/src/plugins/internal/oea/protocols/RequestPresentation.ts:29
thid?publicstringundefinedpackages/lib/sdk/src/plugins/internal/oea/protocols/RequestPresentation.ts:28
topublicDIDundefinedpackages/lib/sdk/src/plugins/internal/oea/protocols/RequestPresentation.ts:27
typestatic"https://didcomm.atalaprism.io/present-proof/3.0/request-presentation"OEA.ProtocolIds.RequestPresentationpackages/lib/sdk/src/plugins/internal/oea/protocols/RequestPresentation.ts:21

Accessors​

decodedAttachments​

Get Signature​

get decodedAttachments(): any[]

Defined in: packages/lib/sdk/src/plugins/internal/oea/protocols/RequestPresentation.ts:34

Returns​

any[]

Methods​

makeMessage()​

makeMessage(): Message

Defined in: packages/lib/sdk/src/plugins/internal/oea/protocols/RequestPresentation.ts:52

Returns​

Message


fromMessage()​

static fromMessage(fromMessage: Message): RequestPresentation

Defined in: packages/lib/sdk/src/plugins/internal/oea/protocols/RequestPresentation.ts:65

Parameters​

ParameterType
fromMessageMessage

Returns​

RequestPresentation