parametize certDigestInfo hash algorithm