Add documentation for X509_cmp and related APIs