Public declaration syntax from forge-go/identity/identity.go Original source SHA-256: e60373a45e426fe4f7bd88a25ad256153f28176eb8730f3e424d302788645dee Function bodies and constant values are omitted. This is not the complete implementation. Source line 25 const DefaultMaxLineageDepth; Source line 28 type IdentityKind string const ( // KindHMR is a Human Root identity. KindHMR IdentityKind; Source line 47 type ForgeAgentIdentity struct Source line 72 func (id *ForgeAgentIdentity) DID() core.AgentDID Source line 77 func (id *ForgeAgentIdentity) Kind() IdentityKind Source line 82 func (id *ForgeAgentIdentity) PublicKey() []byte Source line 89 func (id *ForgeAgentIdentity) LineageDepth() int Source line 94 func (id *ForgeAgentIdentity) CreatedAt() time.Time Source line 102 func (id *ForgeAgentIdentity) Sign(message []byte) ([]byte, error) Source line 110 func (id *ForgeAgentIdentity) Verify(message, signature []byte) bool Source line 115 func (id *ForgeAgentIdentity) String() string Source line 129 func CreateHMRIdentity(namespace string) (*ForgeAgentIdentity, error) Source line 135 func CreateHMRIdentityWithIdentifier(namespace, identifier string) (*ForgeAgentIdentity, error) Source line 142 func CreateMHRIdentity(namespace string) (*ForgeAgentIdentity, error) Source line 148 func CreateMHRIdentityWithIdentifier(namespace, identifier string) (*ForgeAgentIdentity, error) Source line 217 func DeriveAgentIdentity(parent *ForgeAgentIdentity, label, namespace string) (*ForgeAgentIdentity, error) Source line 282 func VerifyLineageChain(chain []*ForgeAgentIdentity) error