Public declaration syntax from forge-py/src/forge/identity/agent_identity.py Original source SHA-256: 29772125018bd01be1a924306258f75eaf1bbdcf8b7442ae8ba9861e5cb5bbf9 Function bodies and constant values are omitted. This is not the complete implementation. Source line 32 class OasDocumentRef() Source line 53 def has_proof(self) -> bool Source line 62 def has_lineage(self) -> bool Source line 71 def lineage_generation(self) -> int | None Source line 85 def human_root_did(self) -> str | None Source line 98 def to_json(self) -> str Source line 107 def from_json(data: str) -> OasDocumentRef Source line 128 class WasmKeyRef() Source line 151 class ForgeAgentIdentity() Source line 176 def __init__(self, did: str, kind: str, keypair: WasmKeyRef, document: OasDocumentRef, lineage_depth: int) -> None Source line 218 def did(self) -> str Source line 233 def kind(self) -> str Source line 248 def keypair(self) -> WasmKeyRef Source line 261 def document(self) -> OasDocumentRef Source line 280 def lineage_depth(self) -> int Source line 300 def verifying_key_bytes(self) -> bytes Source line 317 def sign(self, message: bytes) -> bytes Source line 344 def verify(self, message: bytes, signature: bytes) -> bool Source line 372 def to_dict(self) -> dict[str, Any] Source line 390 def from_dict(data: dict[str, Any]) -> ForgeAgentIdentity