eu.emi.security.authn.x509
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.

Author:
K. Benedyczak

Method Summary
 boolean onValidationError(ValidationError error)
          Invoked upon validation error during chain processing.
 

Method Detail

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.


Copyright © 2012-2013 European Middleware Initiative. All Rights Reserved.