Class ConnectionOptions
-
- All Implemented Interfaces:
public class ConnectionOptions
Options to configure the eMRTD read.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public class
ConnectionOptions.Builder
A builder to create connection options for the EmrtdConnector.
-
Field Summary
Fields Modifier and Type Field Description public final String
validationId
public final ChipAccessKey
chipAccessKey
public final Map<String, String>
httpHeaders
-
Method Summary
Modifier and Type Method Description String
getValidationId()
Gets the validation id, a unique string to identify the session. ChipAccessKey
getChipAccessKey()
Gets the chip access key used to authenticate to the eMRTD's chip. Map<String, String>
getHttpHeaders()
Gets additional http headers that will be used for the websocket connection. boolean
isDiagnosticsEnabled()
Returns true
if diagnostics are enabled.-
-
Method Detail
-
getValidationId
String getValidationId()
Gets the validation id, a unique string to identify the session.
- Returns:
The validation id.
-
getChipAccessKey
ChipAccessKey getChipAccessKey()
Gets the chip access key used to authenticate to the eMRTD's chip.
- Returns:
The chip access key.
-
getHttpHeaders
Map<String, String> getHttpHeaders()
Gets additional http headers that will be used for the websocket connection.
- Returns:
The http headers.
-
isDiagnosticsEnabled
boolean isDiagnosticsEnabled()
Returns
true
if diagnostics are enabled.When enabled, the DocVal server will collect and store extra diagnostic information to troubleshoot issues. This data may contain personal information.
- Returns:
Whether diagnostics are enabled.
-
-
-
-