Add the PPAPI X509 Certificate interface and implementation.

Adds the interface for accessing X509 certificate fields. Note that the interface uses a GetField(field) method for accessing various fields of the certificate and all resuls are returned as pp::Var. This greatly simplifies the implementation of the interface and process of adding/changing fields so it is probably better (at least in the short term for flash).

BUG=114626
TEST=out/Debug/ui_tests --gtest_filter=*PPAPITest.*X509Certificate*
NOTRY=true

Review URL: http://codereview.chromium.org/9693024

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@130654 0039d316-1c4b-4281-b951-d872f2087c98
diff --git a/ppapi/ppapi_sources.gypi b/ppapi/ppapi_sources.gypi
index 19d8919b..3ec8c27 100644
--- a/ppapi/ppapi_sources.gypi
+++ b/ppapi/ppapi_sources.gypi
@@ -109,6 +109,7 @@
       'c/private/ppb_tcp_server_socket_private.h',
       'c/private/ppb_tcp_socket_private.h',
       'c/private/ppb_udp_socket_private.h',
+      'c/private/ppb_x509_certificate_private.h',
 
       # Deprecated interfaces.
       'c/dev/deprecated_bool.h',
@@ -273,6 +274,8 @@
       'cpp/private/udp_socket_private.h',
       'cpp/private/var_private.cc',
       'cpp/private/var_private.h',
+      'cpp/private/x509_certificate_private.cc',
+      'cpp/private/x509_certificate_private.h',
 
       # Trusted interfaces.
       'cpp/trusted/browser_font_trusted.cc',
@@ -441,6 +444,8 @@
       'tests/test_video_decoder.h',
       'tests/test_websocket.cc',
       'tests/test_websocket.h',
+      'tests/test_x509_certificate_private.cc',
+      'tests/test_x509_certificate_private.h',
 
       # Deprecated test cases.
       'tests/test_instance_deprecated.cc',