add core.keystore interface