EdgeWebrtcConnection.validateFingerprint()
DESCRIPTION
Validate the fingerprint of the device.
WebRTC connections uses one-time private keys meaning normal Nabto fingerprint validation cannot be used. This function will challenge the device to prove it is in possession of the private key used for normal Nabto Connections. The fingerprint to validate is the same as the one configured for the device in the Nabto Cloud Console.
DECLARATION
validateFingerprint(fingerprint: string): Promise<boolean>
PARAMETERS
fingerprint:
- The fingerprint to validate
RETURNS
Promise resolved with true if the fingerprint was valid.