Validating GS1 ID Key Credential

This section describes the philosophy and process for validating GS1 ID Key Credentials.

GS1 ID Key Validation Overview

A GS1 ID Key Credential provides proof that a GS1 MC has commissioned a specific GS1 ID Key, possibly with additional specificity like a specific batch/lot or specific serial number. The validation of a GS1 ID Key Credential requires verifying the integrity of the credential itself as well as validating that the Key Credential "extends" from a valid Credential. Validating a GS1 ID Key Credential provide cryptographic proof that the GS1 identifier has been issued in full conformance with the GS1 identification system and its governance.

GS1 ID Key Validation Rules

Denoting the GS1 ID Key Credential as K, K's credentialSubject id as D, and the credential referenced by K's extendsCredential property as P, the following steps MUST be performed to validate a GS1 ID Key Credential:

Key Validation Libraries and Tools

GS1 has developed tools for key and license validation hosted at https://github.com/gs1/vc-data-model-verifier