acapy_agent.anoncreds.default.did_web package

Submodules

acapy_agent.anoncreds.default.did_web.registry module

DID Web Registry.

class acapy_agent.anoncreds.default.did_web.registry.DIDWebRegistry[source]

Bases: BaseAnonCredsResolver, BaseAnonCredsRegistrar

DIDWebRegistry.

async get_credential_definition(profile: Profile, credential_definition_id: str) GetCredDefResult[source]

Get a credential definition from the registry.

async get_revocation_list(profile: Profile, revocation_registry_id: str, timestamp_from: int | None = 0, timestamp_to: int | None = None) GetRevListResult[source]

Get a revocation list from the registry.

async get_revocation_registry_definition(profile: Profile, revocation_registry_id: str) GetRevRegDefResult[source]

Get a revocation registry definition from the registry.

async get_schema(profile: Profile, schema_id: str) GetSchemaResult[source]

Get a schema from the registry.

async get_schema_info_by_id(profile: Profile, schema_id: str) AnonCredsSchemaInfo[source]

Get a schema info from the registry.

async register_credential_definition(profile: Profile, schema: GetSchemaResult, credential_definition: CredDef, options: dict | None = None) CredDefResult[source]

Register a credential definition on the registry.

async register_revocation_list(profile: Profile, rev_reg_def: RevRegDef, rev_list: RevList, options: dict | None = None) RevListResult[source]

Register a revocation list on the registry.

async register_revocation_registry_definition(profile: Profile, revocation_registry_definition: RevRegDef, options: dict | None = None) RevRegDefResult[source]

Register a revocation registry definition on the registry.

async register_schema(profile: Profile, schema: AnonCredsSchema, options: dict | None = None) SchemaResult[source]

Register a schema on the registry.

async setup(context: InjectionContext) None[source]

Setup.

property supported_identifiers_regex: Pattern

Supported Identifiers Regular Expression.

async update_revocation_list(profile: Profile, rev_reg_def: RevRegDef, prev_list: RevList, curr_list: RevList, revoked: Sequence[int], options: dict | None = None) RevListResult[source]

Update a revocation list on the registry.

acapy_agent.anoncreds.default.did_web.routes module

Routes for DID Web Registry.