aries_cloudagent.revocation package¶
Subpackages¶
Submodules¶
aries_cloudagent.revocation.error module¶
Revocation error classes.
-
exception
aries_cloudagent.revocation.error.
RevocationError
(*args, error_code: str = None, **kwargs)[source]¶ Bases:
aries_cloudagent.core.error.BaseError
Base exception for revocation-related errors.
-
exception
aries_cloudagent.revocation.error.
RevocationNotSupportedError
(*args, error_code: str = None, **kwargs)[source]¶ Bases:
aries_cloudagent.revocation.error.RevocationError
Attempted to perform revocation-related operation where inapplicable.
-
exception
aries_cloudagent.revocation.error.
RevocationRegistryBadSizeError
(*args, error_code: str = None, **kwargs)[source]¶ Bases:
aries_cloudagent.revocation.error.RevocationError
Attempted to create registry with maximum credentials too large or too small.
aries_cloudagent.revocation.indy module¶
aries_cloudagent.revocation.manager module¶
aries_cloudagent.revocation.recover module¶
Recover a revocation registry.
-
aries_cloudagent.revocation.recover.
LOGGER
= <Logger aries_cloudagent.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
aries_cloudagent.revocation.recover.
RevocRecoveryException
[source]¶ Bases:
Exception
Raise exception generating the recovery transaction.
aries_cloudagent.revocation.routes module¶
aries_cloudagent.revocation.util module¶
Revocation utilities.
-
aries_cloudagent.revocation.util.
notify_pending_cleared_event
(profile: aries_cloudagent.core.profile.Profile, rev_reg_id: str)[source]¶ Send notification of credential revoked as issuer.
-
aries_cloudagent.revocation.util.
notify_revocation_entry_endorsed_event
(profile: aries_cloudagent.core.profile.Profile, rev_reg_id: str, meta_data: dict)[source]¶ Send notification for a revocation registry entry endorsement event.
-
aries_cloudagent.revocation.util.
notify_revocation_entry_event
(profile: aries_cloudagent.core.profile.Profile, issuer_rev_id: str, meta_data: dict)[source]¶ Send notification for a revocation registry entry event.
-
aries_cloudagent.revocation.util.
notify_revocation_published_event
(profile: aries_cloudagent.core.profile.Profile, rev_reg_id: str, crids: Sequence[str])[source]¶ Send notification of credential revoked as issuer.