Certificate verification callback.
- Attention
- This callback function must be compatible with OpenSSL and has the same logic as OpenSSL.
- Parameters
-
isPreverifyOk | [IN] Indicates whether the relevant certificate has passed the verification (isPreverifyOk=1) or failed (isPreverifyOk=0) |
storeCtx | [IN] Cert store context |
- Return values
-
1 | indicates success. Other values indicate failure. |