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 |
void |
Handles the CancelPeerVerification event.
By default, calls the |
Constructors¶
-
Viewer.PeerVerificationCallback
(Viewer.PeerVerificationCallback.VerifyPeerType verifyPeer = null, Viewer.PeerVerificationCallback.CancelPeerVerificationType cancelPeerVerification = null)¶ Initializes a new PeerVerificationCallback class instance.
For more information, see
vnc_Viewer_PeerVerificationCallback()
in the C API documentation.
Methods¶
-
void
Viewer.PeerVerificationCallback.OnVerifyPeer
(Viewer viewer, String hexFingerprint, String catchphraseFingerprint, ImmutableDataBuffer serverRsaPublic)¶ Handles the VerifyPeer event. By default, calls the
Viewer.PeerVerificationCallback.VerifyPeer
delegate.
-
void
Viewer.PeerVerificationCallback.OnCancelPeerVerification
(Viewer viewer)¶ Handles the CancelPeerVerification event. By default, calls the
Viewer.PeerVerificationCallback.CancelPeerVerification
delegate.
Fields¶
-
Viewer.PeerVerificationCallback.VerifyPeer
¶ Request to verify the identity of the peer (the server).
For more information, see
vnc_Viewer_PeerVerificationCallback::verifyPeer
in the C API documentation.
-
Viewer.PeerVerificationCallback.CancelPeerVerification
¶ Notification to cancel a prior request for peer verification.
For more information, see
vnc_Viewer_PeerVerificationCallback::cancelPeerVerification
in the C API documentation.