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, Viewer.PeerVerificationCallback.CancelPeerVerificationType)

Initializes a new PeerVerificationCallback class instance.

Method summary

Modifier and Type Method and Description
void

Viewer.PeerVerificationCallback.OnVerifyPeer(Viewer, String, String, ImmutableDataBuffer)

Handles the VerifyPeer event. By default, calls the VerifyPeer delegate.

void

Viewer.PeerVerificationCallback.OnCancelPeerVerification(Viewer)

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.

void Viewer.PeerVerificationCallback.OnCancelPeerVerification (Viewer a)

Handles the CancelPeerVerification event. By default, calls the 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.

×