FastATP

DIDDocument

A class in fastatp.did.document (source).

Based on BaseModel.

Attributes

Methods

get_verification_method

get_verification_method(kid: str | None = None) -> VerificationMethod

Find the verification method matching kid (or the single default).

kid may be a full URI (did:...#frag) or a bare fragment (#frag / frag); both match against the method ids.

to_json_dict

to_json_dict() -> dict[str, Any]

from_json_dict

from_json_dict(data: Any) -> DIDDocument