Learn how to evaluate and integrate the VNC SDK
Viewer.PeerVerificationCallback¶
-
class Viewer.PeerVerificationCallback¶ Callback receiving verification requests to check the peer’s identity.
For more information, see
vnc_Viewer_PeerVerificationCallback()in the C API documentation.
Nested classes¶
- Viewer.PeerVerificationCallback.VerifyPeerType
- Viewer.PeerVerificationCallback.CancelPeerVerificationType
Constructor summary
| Modifier and Type | Method and Description |
|---|---|
Initializes a new PeerVerificationCallback class instance. |
Method summary
| Modifier and Type | Method and Description |
|---|---|
void |
Handles the VerifyPeer event. By default, calls the VerifyPeer delegate. |
void |
Handles the CancelPeerVerification event. By default, calls the CancelPeerVerification delegate. |
Constructors¶
-
Viewer.PeerVerificationCallback(Viewer.PeerVerificationCallback.VerifyPeerType a, Viewer.PeerVerificationCallback.CancelPeerVerificationType b)¶ Initializes a new PeerVerificationCallback class instance.
For more information, see
vnc_Viewer_PeerVerificationCallback()in the C API documentation.
Methods¶
-
void
Viewer.PeerVerificationCallback.OnVerifyPeer(Viewer a, String b, String c, ImmutableDataBuffer d)¶ Handles the VerifyPeer event. By default, calls the VerifyPeer delegate.
Fields¶
-
Viewer.PeerVerificationCallback.VerifyPeer¶ Request to verify the identity of the peer (the server).
For more information, see
vnc_Viewer_PeerVerificationCallback::verifyPeerin the C API documentation.
-
Viewer.PeerVerificationCallback.CancelPeerVerification¶ Notification to cancel a prior request for peer verification.
For more information, see
vnc_Viewer_PeerVerificationCallback::cancelPeerVerificationin the C API documentation.