Public declaration syntax from forge-swift/Sources/ForgeIdentity/AgentIdentity.swift Original source SHA-256: 1ccdc84332cebfe345cbf1f1602760058fd0ab90971860a2e89da7b7bf91a0a1 Function bodies and constant values are omitted. This is not the complete implementation. Source line 27 public struct ForgeAgentIdentity: Sendable Source line 29 public let did: AgentDid /// The agent's public key bytes (Ed25519, 32 bytes). public let publicKey: [UInt8] /// The lineage depth (0; Source line 31 public let publicKey: [UInt8] /// The lineage depth (0; Source line 33 public let lineageDepth: UInt32 /// The parent's DID (nil for HMR root). public let parentDid: AgentDid? /// The agent's name. public let name: String /// The agent's namespace. public let namespace: String /// Creation timestamp. public let createdAt: Timestamp // Private key stored separately, never exposed in debug output. private let privateKeyBytes: [UInt8] private let document: OasDocument? init( did: AgentDid, publicKey: [UInt8], privateKeyBytes: [UInt8], lineageDepth: UInt32, parentDid: AgentDid?, name: String, namespace: String, createdAt: Timestamp; Source line 35 public let parentDid: AgentDid? /// The agent's name. public let name: String /// The agent's namespace. public let namespace: String /// Creation timestamp. public let createdAt: Timestamp // Private key stored separately, never exposed in debug output. private let privateKeyBytes: [UInt8] private let document: OasDocument? init( did: AgentDid, publicKey: [UInt8], privateKeyBytes: [UInt8], lineageDepth: UInt32, parentDid: AgentDid?, name: String, namespace: String, createdAt: Timestamp; Source line 37 public let name: String /// The agent's namespace. public let namespace: String /// Creation timestamp. public let createdAt: Timestamp // Private key stored separately, never exposed in debug output. private let privateKeyBytes: [UInt8] private let document: OasDocument? init( did: AgentDid, publicKey: [UInt8], privateKeyBytes: [UInt8], lineageDepth: UInt32, parentDid: AgentDid?, name: String, namespace: String, createdAt: Timestamp; Source line 39 public let namespace: String /// Creation timestamp. public let createdAt: Timestamp // Private key stored separately, never exposed in debug output. private let privateKeyBytes: [UInt8] private let document: OasDocument? init( did: AgentDid, publicKey: [UInt8], privateKeyBytes: [UInt8], lineageDepth: UInt32, parentDid: AgentDid?, name: String, namespace: String, createdAt: Timestamp; Source line 41 public let createdAt: Timestamp // Private key stored separately, never exposed in debug output. private let privateKeyBytes: [UInt8] private let document: OasDocument? init( did: AgentDid, publicKey: [UInt8], privateKeyBytes: [UInt8], lineageDepth: UInt32, parentDid: AgentDid?, name: String, namespace: String, createdAt: Timestamp; Source line 73 public func sign(_ data: [UInt8]) throws -> [UInt8] Source line 83 public func verify(signature: [UInt8], data: [UInt8]) throws -> Bool Source line 125 public var debugDescription: String Source line 141 public func createHMRIdentity(namespace: String, name: String) throws -> ForgeAgentIdentity Source line 180 public func deriveAgentIdentity( parent: ForgeAgentIdentity, name: String, namespace: String?;