Public declaration syntax from forge-swift/Sources/ForgeIdentity/Lineage.swift Original source SHA-256: b1c018e5b7725b8258c0f37f2bc91f143782fdf1f9484cd2d53a2fec64d44c64 Function bodies and constant values are omitted. This is not the complete implementation. Source line 16 public struct LineageProof: Codable, Sendable Source line 18 public let childDid: String /// The parent's DID. public let parentDid: String /// The child's public key (hex-encoded). public let childPublicKey: String /// The parent's public key (hex-encoded). public let parentPublicKey: String /// The derivation path used. public let derivationPath: String /// The lineage depth of the child. public let depth: UInt32 /// The parent's signature over the proof payload (hex-encoded). public let parentSignature: String? /// When the proof was created. public let timestamp: Timestamp public init( childDid: String, parentDid: String, childPublicKey: String, parentPublicKey: String, derivationPath: String, depth: UInt32, parentSignature: String?; Source line 20 public let parentDid: String /// The child's public key (hex-encoded). public let childPublicKey: String /// The parent's public key (hex-encoded). public let parentPublicKey: String /// The derivation path used. public let derivationPath: String /// The lineage depth of the child. public let depth: UInt32 /// The parent's signature over the proof payload (hex-encoded). public let parentSignature: String? /// When the proof was created. public let timestamp: Timestamp public init( childDid: String, parentDid: String, childPublicKey: String, parentPublicKey: String, derivationPath: String, depth: UInt32, parentSignature: String?; Source line 22 public let childPublicKey: String /// The parent's public key (hex-encoded). public let parentPublicKey: String /// The derivation path used. public let derivationPath: String /// The lineage depth of the child. public let depth: UInt32 /// The parent's signature over the proof payload (hex-encoded). public let parentSignature: String? /// When the proof was created. public let timestamp: Timestamp public init( childDid: String, parentDid: String, childPublicKey: String, parentPublicKey: String, derivationPath: String, depth: UInt32, parentSignature: String?; Source line 24 public let parentPublicKey: String /// The derivation path used. public let derivationPath: String /// The lineage depth of the child. public let depth: UInt32 /// The parent's signature over the proof payload (hex-encoded). public let parentSignature: String? /// When the proof was created. public let timestamp: Timestamp public init( childDid: String, parentDid: String, childPublicKey: String, parentPublicKey: String, derivationPath: String, depth: UInt32, parentSignature: String?; Source line 26 public let derivationPath: String /// The lineage depth of the child. public let depth: UInt32 /// The parent's signature over the proof payload (hex-encoded). public let parentSignature: String? /// When the proof was created. public let timestamp: Timestamp public init( childDid: String, parentDid: String, childPublicKey: String, parentPublicKey: String, derivationPath: String, depth: UInt32, parentSignature: String?; Source line 28 public let depth: UInt32 /// The parent's signature over the proof payload (hex-encoded). public let parentSignature: String? /// When the proof was created. public let timestamp: Timestamp public init( childDid: String, parentDid: String, childPublicKey: String, parentPublicKey: String, derivationPath: String, depth: UInt32, parentSignature: String?; Source line 30 public let parentSignature: String? /// When the proof was created. public let timestamp: Timestamp public init( childDid: String, parentDid: String, childPublicKey: String, parentPublicKey: String, derivationPath: String, depth: UInt32, parentSignature: String?; Source line 32 public let timestamp: Timestamp public init( childDid: String, parentDid: String, childPublicKey: String, parentPublicKey: String, derivationPath: String, depth: UInt32, parentSignature: String?; Source line 34 public init( childDid: String, parentDid: String, childPublicKey: String, parentPublicKey: String, derivationPath: String, depth: UInt32, parentSignature: String?; Source line 56 public struct LineageChain: Sendable Source line 58 public let proofs: [LineageProof] /// The depth of the chain (number of derivation steps). public var depth: Int Source line 61 public var depth: Int Source line 64 public var isEmpty: Bool Source line 66 public init(proofs: [LineageProof]) Source line 78 public func verifyLineageChain(_ chain: LineageChain) throws -> Bool Source line 152 public func buildLineageProof( parent: ForgeAgentIdentity, child: ForgeAgentIdentity ) -> LineageProof