veraison / services

Attestation verification services based on Veraison components
Apache License 2.0
24 stars 13 forks source link

handler: add GetRefValueIDs to IStoreHandler #216

Closed setrofim closed 4 months ago

setrofim commented 4 months ago

Move reference value ID extraction from evidence into store handler. Prior to this, it was done inside evidence handler as part of claims extraction.

This ensure that ID generation on both provisioning and verification paths is handled in the same place, and is symmetrical with trust anchor ID generation.

This also means that ExtractClaims method is now responsible only for claim extraction. ExtractedClaims structure is removed, and the method now returns the map[string]interface{} claims set (ExtractedClaims combined that with reference IDs).

This addresses: https://github.com/veraison/services/issues/214