use pgpDigGetParams() if available