Learn how to evaluate and integrate the VNC SDK

We're here if you need help.

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

Constructor summary

Modifier and Type Method and Description

Viewer.PeerVerificationCallback(Viewer.PeerVerificationCallback.VerifyPeerType verifyPeer = null, Viewer.PeerVerificationCallback.CancelPeerVerificationType cancelPeerVerification = null)

Initializes a new PeerVerificationCallback class instance.

Method summary

Modifier and Type Method and Description
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.

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.

×