Home > Language Reference > Classes > SslContext
Verify Event
Event sent when an error occurs while checking the certificat.
Syntax
Public Event Verify(ByRef bIgnore As Boolean, ByVal eCode As HbSslVerify)
| Parameter | Description |
| bIgnore | Set this parameter to True to instruct the SSL library to ignore the error. |
| eCode | A code specifying the exact reason of the failure. |
Remarks
The Verify event may be sent by the Connect method of the StreamSocket object while negociating the SSL connection, if the server provides an invalid certificat. The eCode parameter can be used to determine the exact reason of the failure, as shown in the table below:
| Constant | Value |
| hbSslVerifyBadSignature | &H3980 |
| hbSslVerifyNoTrustedRoot | &H3981 |
| hbSslVerifyNotAfter | &H3982 |
| hbSslVerifyNotBefore | &H3983 |
| hbSslVerifyConstraintViolation | &H3984 |
| hbSslVerifyUnknownExtension | &H3985 |
You can instruct the SSL library to ignore the error and to accept the invalid certificat by setting the bIgnore parameter to True when handling this event.
System requirements
| System | Minimal version | Remarks |
| Palm OS | Palm OS 5.0 | N/A |