GetEidasVerificationStatus()

This call retrieves an eIDAS verification status by verification_id and returns one of the EIDAS_STATUS_ states listed immediately above. It can be useful when the response to verifyEidas() contains an IN_PROGRESS status.

// get the verification status (useful if verifyEidas response has IN_PROGRESS status)

    GetEidasVerificationStatusResponse statusResponse = tpp

        .getEidasVerificationStatus(response.getVerificationId())

        .blockingSingle();

The status will be one of the following possible values:

  • EIDAS_STATUS_SUCCESS – the certificate has been verified
  • EIDAS_STATUS_FAILURE – the certificate has failed verification
  • EIDAS_STATUS_ERROR – unable to validate the certificate due to an error
  • EIDAS_STATUS_PENDING – the certificate is pending verification.