Added utils and functions for creating and verifying local keystores.