summaryrefslogtreecommitdiffstats
path: root/ppapi/c
diff options
context:
space:
mode:
authorraymes@chromium.org <raymes@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-04-05 21:55:49 +0000
committerraymes@chromium.org <raymes@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-04-05 21:55:49 +0000
commitadd68c87534edb4b6b50f35e75213f422083d5b9 (patch)
tree61d1ff046ba64384e02758a1068f261fa9493334 /ppapi/c
parent1d702f342ae59faf53741dd3dbf414092a8b0744 (diff)
downloadchromium_src-add68c87534edb4b6b50f35e75213f422083d5b9.zip
chromium_src-add68c87534edb4b6b50f35e75213f422083d5b9.tar.gz
chromium_src-add68c87534edb4b6b50f35e75213f422083d5b9.tar.bz2
Implemented the function which converts a Chrome X509Certificate into a pepper X509 certificate.
This also removes the un-implemented fields for now. It probably makes sense just to add them when we need them. BUG=114626 TEST=Ran X509 Certificate ppapi test. NOTRY=true Review URL: http://codereview.chromium.org/9836024 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@131018 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ppapi/c')
-rw-r--r--ppapi/c/private/ppb_x509_certificate_private.h24
1 files changed, 15 insertions, 9 deletions
diff --git a/ppapi/c/private/ppb_x509_certificate_private.h b/ppapi/c/private/ppb_x509_certificate_private.h
index cd2c2b9..ba7cb0c 100644
--- a/ppapi/c/private/ppb_x509_certificate_private.h
+++ b/ppapi/c/private/ppb_x509_certificate_private.h
@@ -4,7 +4,7 @@
*/
/* From private/ppb_x509_certificate_private.idl,
- * modified Fri Mar 23 09:40:44 2012.
+ * modified Thu Mar 29 16:25:36 2012.
*/
#ifndef PPAPI_C_PRIVATE_PPB_X509_CERTIFICATE_PRIVATE_H_
@@ -52,7 +52,8 @@ typedef enum {
/** This corresponds to a string (<code>PP_VARTYPE_STRING</code>). */
PP_X509CERTIFICATE_PRIVATE_ISSUER_ORGANIZATION_UNIT_NAME = 5,
/**
- * This corresponds to a byte array (<code>PP_VARTYPE_ARRAY_BUFFER</code>).
+ * Note: This field is unimplemented and will return
+ * <code>PP_VARTYPE_NULL</code>.
*/
PP_X509CERTIFICATE_PRIVATE_ISSUER_UNIQUE_ID = 6,
/** This corresponds to a string (<code>PP_VARTYPE_STRING</code>). */
@@ -68,12 +69,13 @@ typedef enum {
/** This corresponds to a string (<code>PP_VARTYPE_STRING</code>). */
PP_X509CERTIFICATE_PRIVATE_SUBJECT_ORGANIZATION_UNIT_NAME = 12,
/**
- * This corresponds to a byte array (<code>PP_VARTYPE_ARRAY_BUFFER</code>).
+ * Note: This field is unimplemented and will return
+ * <code>PP_VARTYPE_NULL</code>.
*/
PP_X509CERTIFICATE_PRIVATE_SUBJECT_UNIQUE_ID = 13,
/**
- * This corresponds to an integer (<code>PP_VARTYPE_INT32</code>) which
- * which can be cast to a <code>PPB_X509Certificate_Private_Version</code>.
+ * Note: This field is unimplemented and will return
+ * <code>PP_VARTYPE_NULL</code>.
*/
PP_X509CERTIFICATE_PRIVATE_VERSION = 14,
/**
@@ -81,11 +83,14 @@ typedef enum {
* The serial number may include a leading 0.
*/
PP_X509CERTIFICATE_PRIVATE_SERIAL_NUMBER = 15,
- /** This corresponds to a string (<code>PP_VARTYPE_STRING</code>). */
+ /**
+ * Note: This field is unimplemented and will return
+ * <code>PP_VARTYPE_NULL</code>.
+ */
PP_X509CERTIFICATE_PRIVATE_ALGORITHM_OID = 16,
/**
- * This corresponds to a byte array (<code>PP_VARTYPE_ARRAY_BUFFER</code>)
- * which is DER-encoded.
+ * Note: This field is unimplemented and will return
+ * <code>PP_VARTYPE_NULL</code>.
*/
PP_X509CERTIFICATE_PRIVATE_ALGORITHM_PARAMATERS_RAW = 17,
/**
@@ -101,7 +106,8 @@ typedef enum {
/** This corresponds to a string (<code>PP_VARTYPE_STRING</code>). */
PP_X509CERTIFICATE_PRIVATE_SUBJECT_PUBLIC_KEY_ALGORITHM_OID = 20,
/**
- * This corresponds to a byte array (<code>PP_VARTYPE_ARRAY_BUFFER</code>).
+ * Note: This field is unimplemented and will return
+ * <code>PP_VARTYPE_NULL</code>.
*/
PP_X509CERTIFICATE_PRIVATE_SUBJECT_PUBLIC_KEY = 21,
/**