aries_cloudagent.protocols.revocation_notification.v1_0.models package
Submodules
aries_cloudagent.protocols.revocation_notification.v1_0.models.rev_notification_record module
Store revocation notification details until revocation is published.
- class aries_cloudagent.protocols.revocation_notification.v1_0.models.rev_notification_record.RevNotificationRecord(*, revocation_notification_id: Optional[str] = None, rev_reg_id: Optional[str] = None, cred_rev_id: Optional[str] = None, connection_id: Optional[str] = None, thread_id: Optional[str] = None, comment: Optional[str] = None, version: Optional[str] = None, **kwargs)[source]
Bases:
BaseRecord
Revocation Notification Record.
- class Meta[source]
Bases:
object
RevNotificationRecord Meta.
- schema_class = 'RevNotificationRecordSchema'
- RECORD_ID_NAME = 'revocation_notification_id'
- RECORD_TYPE = 'revocation_notification'
- TAG_NAMES = {'connection_id', 'cred_rev_id', 'rev_reg_id', 'version'}
- async classmethod query_by_ids(session: ProfileSession, cred_rev_id: str, rev_reg_id: str) RevNotificationRecord [source]
Retrieve revocation notification record by cred rev id and/or rev reg id.
- Parameters
session – the profile session to use
cred_rev_id – the cred rev id by which to filter
rev_reg_id – the rev reg id by which to filter
- async classmethod query_by_rev_reg_id(session: ProfileSession, rev_reg_id: str) Sequence[RevNotificationRecord] [source]
Retrieve revocation notification records by rev reg id.
- Parameters
session – the profile session to use
rev_reg_id – the rev reg id by which to filter
- class aries_cloudagent.protocols.revocation_notification.v1_0.models.rev_notification_record.RevNotificationRecordSchema(*args: Any, **kwargs: Any)[source]
Bases:
BaseRecordSchema
Revocation Notification Record Schema.