Defines validators to check the validity of certificates