Hi again,
It seems there was a regression between v2.8 and v3.0 on OCSP support for nonce values.
With v2.8, when I executed:
```
New-Object PKI.OCSP.OCSPRequest $cert, $true
```
I got in return `Nonce=$true` and `NonceValue=random_value` but now with 3.0 `Nonce` is still `$true` but `NonceValue` is now empty.
When looking at the source, `NonceValue` indeed does not seem to be initialized anywhere and the private m_encode method was simplified and does not generate a nonce anymore.
Jordan
Comments: You're very welcome. Does that second issue also cause the returned responses to show a `NonceMismatched` error? If yes, that would teach me to check the raw data before filing a bug to one of our partner which I believed had a bug in its implementation (non-Microsoft OCSP responder which always seemed to return a Nonce=0)... Since it is not a blocking point for me at the moment, I'd prefer to stick with the official release and not publish my own compiled sources... Do you already have an estimated roadmap for future releases of the module?
It seems there was a regression between v2.8 and v3.0 on OCSP support for nonce values.
With v2.8, when I executed:
```
New-Object PKI.OCSP.OCSPRequest $cert, $true
```
I got in return `Nonce=$true` and `NonceValue=random_value` but now with 3.0 `Nonce` is still `$true` but `NonceValue` is now empty.
When looking at the source, `NonceValue` indeed does not seem to be initialized anywhere and the private m_encode method was simplified and does not generate a nonce anymore.
Jordan
Comments: You're very welcome. Does that second issue also cause the returned responses to show a `NonceMismatched` error? If yes, that would teach me to check the raw data before filing a bug to one of our partner which I believed had a bug in its implementation (non-Microsoft OCSP responder which always seemed to return a Nonce=0)... Since it is not a blocking point for me at the moment, I'd prefer to stick with the official release and not publish my own compiled sources... Do you already have an estimated roadmap for future releases of the module?