Add X509Certificate::IsIssuedByEncoded()

This new method is used to ensure that a given client certificate
is issued by one of the CA names listed by the server, as they appear
in the SSL Handshake "Certificate Request" message.

The patch also adds two new X509CertificateTest unit tests,
moves existing hard-coded DN tables to net/base/test_certificate_data.h to
share them between multiple test sources, and adds a
few new DN tables too.

R=rsleevi@chromium.org,wtc@chromium.org,agl@chromium.org
BUG=134418
NOTRY=true

Review URL: https://chromiumcodereview.appspot.com/11579002

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@176371 0039d316-1c4b-4281-b951-d872f2087c98
13 files changed