aries_cloudagent.protocols.present_proof.indy package

Submodules

aries_cloudagent.protocols.present_proof.indy.pres_exch_handler module

Utilities for dif presentation exchange attachment.

class aries_cloudagent.protocols.present_proof.indy.pres_exch_handler.IndyPresExchHandler(profile: aries_cloudagent.core.profile.Profile)[source]

Bases: object

Base Presentation Exchange Handler.

process_pres_identifiers(identifiers: list) → Tuple[dict, dict, dict, dict][source]

Return schemas, cred_defs, rev_reg_defs, rev_reg_entries.

return_presentation(pres_ex_record: Union[aries_cloudagent.protocols.present_proof.v1_0.models.presentation_exchange.V10PresentationExchange, aries_cloudagent.protocols.present_proof.v2_0.models.pres_exchange.V20PresExRecord], requested_credentials: dict = {}) → dict[source]

Return Indy proof request as dict.

exception aries_cloudagent.protocols.present_proof.indy.pres_exch_handler.IndyPresExchHandlerError(*args, error_code: str = None, **kwargs)[source]

Bases: aries_cloudagent.core.error.BaseError

Base class for Indy Presentation Exchange related errors.