Catch exceptions while decoding certificate fields