microsoft / c2pa-extension-validator

Browser extension to validate C2PA digital assets
MIT License
6 stars 2 forks source link

Add time stamp tokens (with certs) to validation result #61

Closed ljoy913 closed 2 weeks ago

ljoy913 commented 2 weeks ago

The validation result now has a tstTokens field with an array of time stamp tokens:

interface C2paResult {
  url: 
  certChain:
  tstTokens: TSTInfo[]  // <= NEW
  trustList: 
  editsAndActivity: 
}

interface TSTInfo {
  version:
  policy:
  messageImprint: 
  serialNumber: 
  genTime?: 
  accuracy?:
  ordering?: 
  nonce?: 
  tsa?: 
  certChain: CertificateInfoExtended[]]  // <= CERTS
  signerInfo:
}