Verification Policies Reference

This reference documents the verification policies supported by the verifier service. These policies are the rules and checks that the verifier applies to your credentials and presentations during verification.

Available Verification Policies

The verifier service implements the following policies for credential and presentation verification:

PolicyDescriptionKey Function
FormatValidates credential format and structureEnsures credential conforms to supported standards
ProofVerifies cryptographic proofsValidates digital signatures and integrity
SchemaValidates credential content against schemasEnsures data conforms to expected structures
Not BeforeChecks temporal validity (start date)Ensures credential is not used before valid
Not AfterChecks temporal validity (expiration)Ensures credential has not expired
StatusChecks revocation and suspension statusVerifies credential has not been invalidated

Configuration

Each policy can be individually configured through the verifier configuration. For detailed configuration options for all policies, see the Configuration Reference.

TIP

Start with the default configuration and adjust only the options you need to change. This ensures you maintain security while customizing for your specific requirements.

Verification Results

Policy verification results include:

  • Success - The policy check passed
  • Warning - The policy found minor issues that don't necessarily invalidate the credential
  • Error - The policy check failed, indicating the credential is invalid

Error Handling

Each policy defines how to handle different error scenarios, with configurable actions:

ActionDescriptionEffect on Verification
validTreat the scenario as validAllows verification to continue
warningGenerate a warningVerification continues with warning in result
errorGenerate an errorVerification fails with error in result