Class FilePreparationResponse

java.lang.Object
com.digicert.validation.methods.file.prepare.FilePreparationResponse

public class FilePreparationResponse extends Object
Represents the response for a file validation preparation request.

This response contains the necessary information to proceed with the file validation process. It includes details such as the domain for which the authentication is being prepared, the type of challenge used, the random value to be placed in the file, and the validation state of the preparation response.

  • Field Details

    • domain

      private final String domain
      The domain for which the file validation is being prepared.
    • challengeType

      private final ChallengeType challengeType
      The type of challenge used for validation.
    • randomValue

      private final String randomValue
      The random value to be placed in the file.
    • fileLocation

      private final String fileLocation
      The location of the file to be placed on the server.
    • validationState

      private final ValidationState validationState
      The validation state of the preparation response.
  • Constructor Details

    • FilePreparationResponse

      private FilePreparationResponse(String domain, ChallengeType challengeType, String randomValue, String fileLocation, ValidationState validationState)
      Private constructor to prevent instantiation without using the builder.
      Parameters:
      domain - The domain for which the file validation is being prepared.
      challengeType - The type of challenge to use for validation.
      randomValue - The random value to be placed in the file.
      fileLocation - The location of the file to be placed on the server.
      validationState - The validation state of the preparation response.