Skip to main content

RequestPresentation

@hyperledger/identus-sdk v7.0.0


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

Class: RequestPresentation

Defined in: 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: 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[]undefinedsrc/plugins/internal/oea/protocols/RequestPresentation.ts:25
bodypublicRequestPresentationBodyundefinedsrc/plugins/internal/oea/protocols/RequestPresentation.ts:24
frompublicDIDundefinedsrc/plugins/internal/oea/protocols/RequestPresentation.ts:26
idpublicstringundefinedsrc/plugins/internal/oea/protocols/RequestPresentation.ts:29
thid?publicstringundefinedsrc/plugins/internal/oea/protocols/RequestPresentation.ts:28
topublicDIDundefinedsrc/plugins/internal/oea/protocols/RequestPresentation.ts:27
typestatic"https://didcomm.atalaprism.io/present-proof/3.0/request-presentation"OEA.ProtocolIds.RequestPresentationsrc/plugins/internal/oea/protocols/RequestPresentation.ts:21

Accessors

decodedAttachments

Get Signature

get decodedAttachments(): any[]

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

Returns

any[]

Methods

makeMessage()

makeMessage(): Message

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

Returns

Message


fromMessage()

static fromMessage(fromMessage: Message): RequestPresentation

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

Parameters

ParameterType
fromMessageMessage

Returns

RequestPresentation