Class ConnectionOptions
-
- All Implemented Interfaces:
public class ConnectionOptionsOptions to configure the eMRTD read.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public classConnectionOptions.BuilderA builder to create connection options for the EmrtdConnector.
-
Field Summary
Fields Modifier and Type Field Description public final StringvalidationIdpublic final ChipAccessKeychipAccessKeypublic final Map<String, String>baggagepublic final Map<String, String>httpHeaders
-
Method Summary
Modifier and Type Method Description StringgetValidationId()Gets the validation id, a unique string to identify the session. ChipAccessKeygetChipAccessKey()Gets the chip access key used to authenticate to the eMRTD's chip. Map<String, String>getBaggage()Gets the baggage entries that become the log context of the session in the DocVal server. Map<String, String>getHttpHeaders()Gets the additional http headers for the websocket connection, as they were set. booleanisDiagnosticsEnabled()Returns trueif 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.
-
getBaggage
Map<String, String> getBaggage()
Gets the baggage entries that become the log context of the session in the DocVal server. Holds the entries that are sent, so it leaves out the entries that setBaggage dropped.
- Returns:
The baggage entries. Empty if none are sent.
-
getHttpHeaders
Map<String, String> getHttpHeaders()
Gets the additional http headers for the websocket connection, as they were set.
- Returns:
The http headers. Empty if none are set.
-
isDiagnosticsEnabled
boolean isDiagnosticsEnabled()
Returns
trueif 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.
-
-
-
-