aries_cloudagent.protocols.present_proof.v1_0.util package

Submodules

aries_cloudagent.protocols.present_proof.v1_0.util.indy module

Utilities for dealing with indy conventions.

aries_cloudagent.protocols.present_proof.v1_0.util.indy.indy_proof_req_preview2indy_requested_creds(indy_proof_request: dict, preview: aries_cloudagent.protocols.present_proof.v1_0.messages.inner.presentation_preview.PresentationPreview = None, *, holder: aries_cloudagent.holder.base.BaseHolder)[source]

Build indy requested-credentials structure.

Given input proof request and presentation preview, use credentials in holder’s wallet to build indy requested credentials structure for input to proof creation.

Parameters:
  • indy_proof_request – indy proof request
  • pres_preview – preview from presentation proposal, if applicable
  • holder – holder injected into current context