acapy_agent.revocation package
Subpackages
- acapy_agent.revocation.models package
- Submodules
- acapy_agent.revocation.models.indy module
- acapy_agent.revocation.models.issuer_cred_rev_record module
IssuerCredRevRecordIssuerCredRevRecord.MetaIssuerCredRevRecord.RECORD_ID_NAMEIssuerCredRevRecord.RECORD_TOPICIssuerCredRevRecord.RECORD_TYPEIssuerCredRevRecord.STATE_ISSUEDIssuerCredRevRecord.STATE_REVOKEDIssuerCredRevRecord.TAG_NAMESIssuerCredRevRecord.VERSION_1IssuerCredRevRecord.VERSION_2IssuerCredRevRecord.query_by_ids()IssuerCredRevRecord.record_idIssuerCredRevRecord.retrieve_by_cred_ex_id()IssuerCredRevRecord.retrieve_by_ids()IssuerCredRevRecord.set_state()
IssuerCredRevRecordSchema
- acapy_agent.revocation.models.issuer_rev_reg_record module
- acapy_agent.revocation.models.revocation_registry module
RevocationRegistryRevocationRegistry.MAX_SIZERevocationRegistry.MIN_SIZERevocationRegistry.cred_def_idRevocationRegistry.from_definition()RevocationRegistry.get_or_fetch_local_tails_path()RevocationRegistry.get_receiving_tails_local_path()RevocationRegistry.has_local_tails_file()RevocationRegistry.issuer_didRevocationRegistry.max_credsRevocationRegistry.reg_defRevocationRegistry.reg_def_typeRevocationRegistry.registry_idRevocationRegistry.retrieve_tails()RevocationRegistry.tagRevocationRegistry.tails_hashRevocationRegistry.tails_local_pathRevocationRegistry.tails_public_uri
Submodules
acapy_agent.revocation.error module
Revocation error classes.
- exception acapy_agent.revocation.error.RevocationError(*args, error_code: str | None = None, **kwargs)[source]
Bases:
BaseErrorBase exception for revocation-related errors.
- exception acapy_agent.revocation.error.RevocationInvalidStateValueError(*args, error_code: str | None = None, **kwargs)[source]
Bases:
RevocationErrorInvalid Revocation Registry State value.
- exception acapy_agent.revocation.error.RevocationNotSupportedError(*args, error_code: str | None = None, **kwargs)[source]
Bases:
RevocationErrorAttempted to perform revocation-related operation where inapplicable.
- exception acapy_agent.revocation.error.RevocationRegistryBadSizeError(*args, error_code: str | None = None, **kwargs)[source]
Bases:
RevocationErrorAttempted to create registry with maximum credentials too large or too small.
acapy_agent.revocation.indy module
acapy_agent.revocation.manager module
acapy_agent.revocation.recover module
Recover a revocation registry.
- acapy_agent.revocation.recover.LOGGER = <Logger acapy_agent.revocation.recover (WARNING)>
This module calculates a new ledger accumulator, based on the revocation status on the ledger vs revocations recorded in the wallet. The calculated transaction can be written to the ledger to get the ledger back in sync with the wallet. This function can be used if there were previous revocation errors (i.e. the credential revocation was successfully written to the wallet but the ledger write failed.)
- exception acapy_agent.revocation.recover.RevocRecoveryException[source]
Bases:
ExceptionRaise exception generating the recovery transaction.
acapy_agent.revocation.routes module
acapy_agent.revocation.util module
Revocation utilities.
- async acapy_agent.revocation.util.notify_pending_cleared_event(profile: Profile, rev_reg_id: str)[source]
Send notification of credential revoked as issuer.
- async acapy_agent.revocation.util.notify_rev_reg_entry_txn_failed(profile: Profile, msg: str)[source]
Send notification that a revocation registry entry transaction failed.
- async acapy_agent.revocation.util.notify_revocation_entry_endorsed_event(profile: Profile, rev_reg_id: str, meta_data: dict, revoked: list)[source]
Send notification for a revocation registry entry endorsement event.
- async acapy_agent.revocation.util.notify_revocation_entry_event(profile: Profile, issuer_rev_id: str, meta_data: dict)[source]
Send notification for a revocation registry entry event.
- async acapy_agent.revocation.util.notify_revocation_published_event(profile: Profile, rev_reg_id: str, crids: Sequence[str])[source]
Send notification of credential revoked as issuer.