This is a feature request. I implemented sending client OCSP requests / parsing OCSP responses after validateDefault in onServerCertificate hook. When an OCSP check fails, the hook returns a single FailedReason. The problem is that there is no appropriate constructor in data FailedReason, and therefore I used CacsheSaysNo "OCSP: ...". Therefore, some OtherReason String constructor would be great for custom validation hooks.
This is a feature request. I implemented sending client OCSP requests / parsing OCSP responses after
validateDefault
inonServerCertificate
hook. When an OCSP check fails, the hook returns a singleFailedReason
. The problem is that there is no appropriate constructor indata FailedReason
, and therefore I usedCacsheSaysNo "OCSP: ..."
. Therefore, someOtherReason String
constructor would be great for custom validation hooks.