API Reference

Table of Contents

Class: Context

new Context($contextArgs)

The Context class is the base of all signing and verification actions.

$contextArgs is an associative array of parameters for the context. The following keys are recognised:

Key Name Type Description
keys Array of keys An array of shared secret, public or private key objects
algorithm blah blah
headers blah blah