| 303 | } |
| 304 | |
| 305 | func dumpTlogs(entity *bundle.Bundle) ([]TlogEntryInspection, error) { |
| 306 | inspectedTlogEntries := []TlogEntryInspection{} |
| 307 | |
| 308 | entries, err := entity.TlogEntries() |
| 309 | if err != nil { |
| 310 | return nil, err |
| 311 | } |
| 312 | |
| 313 | for _, entry := range entries { |
| 314 | inspectedEntry := TlogEntryInspection{ |
| 315 | IntegratedTime: entry.IntegratedTime(), |
| 316 | LogID: entry.LogKeyID(), |
| 317 | } |
| 318 | |
| 319 | inspectedTlogEntries = append(inspectedTlogEntries, inspectedEntry) |
| 320 | } |
| 321 | |
| 322 | return inspectedTlogEntries, nil |
| 323 | } |
| 324 | |
| 325 | func dumpSignedTimestamps(entity *bundle.Bundle) ([]time.Time, error) { |
| 326 | timestamps := []time.Time{} |