add the option to specify the hash algorithm and whether to use nonce in ocsp request