ConnectionInfo

public final class ConnectionInfo extends Object

Information about a connection that is being initiated.

Public Constructor Summary

ConnectionInfo(String endpointName, String authenticationToken, boolean isIncomingConnection)
This constructor is deprecated. Creates a new ConnectionInfo.

Public Method Summary

String
getAuthenticationDigits()
A 4 digit authentication token that has been given to both devices.
int
getAuthenticationStatus()
An authentication status for Authentication handshaking result after uKey2 verification.
String
getAuthenticationToken()
This method is deprecated. Use getAuthenticationDigits() instead.
byte[]
getEndpointInfo()
Information that represents the remote device which is defined by the client or application.
String
getEndpointName()
The name of the remote device we're connecting to.
byte[]
getRawAuthenticationToken()
The raw (significantly longer) version of the authentication token from getAuthenticationToken() -- this is intended for headless authentication, typically on devices with no output capabilities, where the authentication is purely programmatic and does not have the luxury of human intervention.
boolean
isConnectionVerified()
This method is deprecated. This API has been added, but the implementation has never been completed. It always returns false.
boolean
isIncomingConnection()
True if the connection request was initiated from a remote device.

Inherited Method Summary

Public Constructors

public ConnectionInfo (String endpointName, String authenticationToken, boolean isIncomingConnection)

This constructor is deprecated.
Creates a new ConnectionInfo.

Public Methods

public String getAuthenticationDigits ()

A 4 digit authentication token that has been given to both devices.

public int getAuthenticationStatus ()

An authentication status for Authentication handshaking result after uKey2 verification.

public String getAuthenticationToken ()

This method is deprecated.
Use getAuthenticationDigits() instead.

A short human-readable authentication token that has been given to both devices.

public byte[] getEndpointInfo ()

Information that represents the remote device which is defined by the client or application.

public String getEndpointName ()

The name of the remote device we're connecting to.

public byte[] getRawAuthenticationToken ()

The raw (significantly longer) version of the authentication token from getAuthenticationToken() -- this is intended for headless authentication, typically on devices with no output capabilities, where the authentication is purely programmatic and does not have the luxury of human intervention.

public boolean isConnectionVerified ()

This method is deprecated.
This API has been added, but the implementation has never been completed. It always returns false.

True if the connection has been verified by internal verification mechanisms.

public boolean isIncomingConnection ()

True if the connection request was initiated from a remote device. False if this device was the one to try and initiate the connection.