class DataStore implements DataCacheProvider, RolesProvider {

    @SuppressWarnings("rawtypes")
    String getCurveName(org.bouncycastle.jce.spec.ECParameterSpec ecParameterSpec, boolean rfc) {

        String curveName = null;
        for (Enumeration names = ECNamedCurveTable.getNames(); names.hasMoreElements();) {

            final String name = (String) names.nextElement();
            final X9ECParameters params = ECNamedCurveTable.getByName(name);

            if (params.getN().equals(ecParameterSpec.getN())
                    && params.getH().equals(ecParameterSpec.getH())
                    && params.getCurve().equals(ecParameterSpec.getCurve())
                    && params.getG().equals(ecParameterSpec.getG())) {
                curveName = name;
                break;
            }
        }

        return rfc ? rfcEllipticCurveName(curveName) : curveName;
    }

    public  DataStore(ChangeLogStore clogStore, CloudStore cloudStore);

}