aries_cloudagent.revocation package
Subpackages
Submodules
aries_cloudagent.revocation.error module
Revocation error classes.
- exception aries_cloudagent.revocation.error.RevocationError(*args, error_code: Optional[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: Optional[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: Optional[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.