Validate ChainGraph private-input commitments
validate_private_inputsVerify an artifact's private_inputs[] (ChainGraph Standard §25 ocg-private-input@1) WITHOUT ever seeing the plaintext witness: per RFC 6901 pointer, checks the pointed value inside policy_parameters IS the declared sha256-salted@1 commitment (never the plaintext, §25.2), that the commitment scheme is known, and -- when a §18 compute_proof is present -- that its journal commits the same commitment and binds output_payload. Optionally accepts an out-of-band {pointer, salt, input_value} disclosure package (authorized-verifier path) and recomputes sha256(salt || cgCanon(input_value)) to confirm it equals the commitment. Returns one {pointer, verifiable} record per entry: "proof-only" | "disclosed-verified" | "commitment-only" (no proof yet -- structural + plaintext-exclusion only) | "failed". Pure client-safe compute, zero network, never requires the plaintext.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| artifact | No | A full ChainGraph artifact envelope carrying private_inputs[], policy_parameters, and optionally output_payload + audit_signature.compute_proof. | |
| disclosures | No | OPTIONAL authorized-verifier disclosure packages, keyed by pointer, for the disclosed-verified path. | |
| compute_proof | No | audit_signature.compute_proof (if not passing a full artifact). | |
| output_payload | No | Artifact output_payload (if not passing a full artifact). | |
| private_inputs | No | The private_inputs[] array (if not passing a full artifact). | |
| policy_parameters | No | Artifact policy_parameters (if not passing a full artifact). |