Class FilePreparationResponse
java.lang.Object
com.digicert.validation.methods.file.prepare.FilePreparationResponse
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 Summary
FieldsModifier and TypeFieldDescriptionprivate final ChallengeType
The type of challenge used for validation.private final String
The domain for which the file validation is being prepared.private final String
The location of the file to be placed on the server.private final String
The random value to be placed in the file.private final ValidationState
The validation state of the preparation response. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprivate
FilePreparationResponse
(String domain, ChallengeType challengeType, String randomValue, String fileLocation, ValidationState validationState) Private constructor to prevent instantiation without using the builder. -
Method Summary
-
Field Details
-
domain
The domain for which the file validation is being prepared. -
challengeType
The type of challenge used 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.
-
-
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.
-