Class AcmeValidationRequest

java.lang.Object
com.digicert.validation.methods.acme.validate.AcmeValidationRequest

public class AcmeValidationRequest extends Object
Represents an ACME validation request.

This class is used to create a request for validating a domain using the ACME protocol. All necessary information for the validation is encapsulated in this class: * domain name, * acme type * acme thumbprint * random value * validation state. This class is immutable and uses the builder pattern.

  • Field Details

    • domain

      private final String domain
      The domain to be validated.
    • acmeType

      private final AcmeType acmeType
      The type of ACME protocol to be used for validation.
    • acmeThumbprint

      private final String acmeThumbprint
      The acme thumbprint used for validation.
    • randomValue

      private final String randomValue
      A random value used for validation.
    • validationState

      private final ValidationState validationState
      The current state of the validation process.
  • Constructor Details

    • AcmeValidationRequest

      private AcmeValidationRequest(String domain, AcmeType acmeType, String acmeThumbprint, String randomValue, ValidationState validationState)
      Private constructor to prevent instantiation without using the builder.
      Parameters:
      domain - The domain to be validated.
      acmeType - The type of ACME protocol to be used for validation.
      acmeThumbprint - The ACME thumbprint used for validation.
      randomValue - A random value used for validation.
      validationState - The current validation state.