Interface ValidationErrorListener


public interface ValidationErrorListener
Invoked when there is an error found during certificate chain validation. The implementation class can react to the error in application-defined way. In some circumstances the implementation may even decide that the error should be ignored and that the validation should proceed.
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    Invoked upon validation error during chain processing.
  • Method Details

    • onValidationError

      boolean onValidationError(ValidationError error)
      Invoked upon validation error during chain processing. Implementation MAY change the validation error description. Returned value determines whether the error shall be ignored (true) or not (false).
      Parameters:
      error - the error details
      Returns:
      true if the error shall be ignored, false otherwise.