Validates the basic structure and content of a certificate.
The certificate to validate
An array of validation warning messages (empty if valid)
Validates the basic structure and content of a certificate.