Class ConnectionOptions

  • All Implemented Interfaces:

    
    public class ConnectionOptions
    
                        

    Options to configure the eMRTD read.

    • Constructor Detail

    • 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 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.