TBR Add bulk caveat validation callback support to ForContext

If a callback function is added to the context with key
"customChainValidator", it will be called when it is necessary to
validate caveats.

This is intended to be used to allow javascript to receive caveats in
bulk for validation.

In addition, this:
- Adds VanadiumContext() to security context
- Fixes naming in javascript gen.go

MultiPart: 1/2

Change-Id: I8d0dd4dda572a7d78b8226cf3030f5fcbcaa64b0
7 files changed
tree: 36f82d8c990d902255f81fd61af4b9b8767a0442
  1. lib/
  2. profiles/
  3. runtimes/
  4. security/
  5. services/
  6. tools/