Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(370)

Side by Side Diff: ppapi/api/private/ppb_x509_certificate_private.idl

Issue 10006048: Fixed some PP_X509Certificate_Private_Field enum values. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 8 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | ppapi/c/private/ppb_x509_certificate_private.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 /* Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 * Use of this source code is governed by a BSD-style license that can be 2 * Use of this source code is governed by a BSD-style license that can be
3 * found in the LICENSE file. 3 * found in the LICENSE file.
4 */ 4 */
5 5
6 /** 6 /**
7 * This file defines the <code>PPB_X509Certificate_Private</code> interface for 7 * This file defines the <code>PPB_X509Certificate_Private</code> interface for
8 * an X509 certificate. 8 * an X509 certificate.
9 */ 9 */
10 10
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after
76 /** 76 /**
77 * This corresponds to a byte array (<code>PP_VARTYPE_ARRAY_BUFFER</code>). 77 * This corresponds to a byte array (<code>PP_VARTYPE_ARRAY_BUFFER</code>).
78 * The serial number may include a leading 0. 78 * The serial number may include a leading 0.
79 */ 79 */
80 PP_X509CERTIFICATE_PRIVATE_SERIAL_NUMBER = 15, 80 PP_X509CERTIFICATE_PRIVATE_SERIAL_NUMBER = 15,
81 81
82 /** 82 /**
83 * Note: This field is unimplemented and will return 83 * Note: This field is unimplemented and will return
84 * <code>PP_VARTYPE_NULL</code>. 84 * <code>PP_VARTYPE_NULL</code>.
85 */ 85 */
86 PP_X509CERTIFICATE_PRIVATE_ALGORITHM_OID = 16, 86 PP_X509CERTIFICATE_PRIVATE_SIGNATURE_ALGORITHM_OID = 16,
87 87
88 /** 88 /**
89 * Note: This field is unimplemented and will return 89 * Note: This field is unimplemented and will return
90 * <code>PP_VARTYPE_NULL</code>. 90 * <code>PP_VARTYPE_NULL</code>.
91 */ 91 */
92 PP_X509CERTIFICATE_PRIVATE_ALGORITHM_PARAMATERS_RAW = 17, 92 PP_X509CERTIFICATE_PRIVATE_SIGNATURE_ALGORITHM_PARAMATERS_RAW = 17,
93 93
94 /** 94 /**
95 * This corresponds to a double (<code>PP_VARTYPE_DOUBLE</code>) which 95 * This corresponds to a double (<code>PP_VARTYPE_DOUBLE</code>) which
96 * can be cast to a <code>PP_TIME</code>. 96 * can be cast to a <code>PP_TIME</code>.
97 */ 97 */
98 PP_X509CERTIFICATE_PRIVATE_VALIDITY_NOT_BEFORE = 18, 98 PP_X509CERTIFICATE_PRIVATE_VALIDITY_NOT_BEFORE = 18,
99 99
100 /** 100 /**
101 * This corresponds to a double (<code>PP_VARTYPE_DOUBLE</code>) which 101 * This corresponds to a double (<code>PP_VARTYPE_DOUBLE</code>) which
102 * can be cast to a <code>PP_TIME</code>. 102 * can be cast to a <code>PP_TIME</code>.
103 */ 103 */
104 PP_X509CERTIFICATE_PRIVATE_VALIDITY_NOT_AFTER = 19, 104 PP_X509CERTIFICATE_PRIVATE_VALIDITY_NOT_AFTER = 19,
105 105
106 /** This corresponds to a string (<code>PP_VARTYPE_STRING</code>). */ 106 /** This corresponds to a string (<code>PP_VARTYPE_STRING</code>). */
107 PP_X509CERTIFICATE_PRIVATE_SUBJECT_PUBLIC_KEY_ALGORITHM_OID = 20, 107 PP_X509CERTIFICATE_PRIVATE_SUBJECT_PUBLIC_KEY_ALGORITHM_OID = 20,
108 108
109 /** 109 /**
110 * Note: This field is unimplemented and will return 110 * Note: This field is unimplemented and will return
111 * <code>PP_VARTYPE_NULL</code>. 111 * <code>PP_VARTYPE_NULL</code>.
112 */ 112 */
113 PP_X509CERTIFICATE_PRIVATE_SUBJECT_PUBLIC_KEY = 21, 113 PP_X509CERTIFICATE_PRIVATE_SUBJECT_PUBLIC_KEY = 21,
114 114
115 /** 115 /**
116 * This corresponds to a byte array (<code>PP_VARTYPE_ARRAY_BUFFER</code>). 116 * This corresponds to a byte array (<code>PP_VARTYPE_ARRAY_BUFFER</code>).
117 * This is the DER-encoded representation of the certificate. 117 * This is the DER-encoded representation of the certificate.
118 */ 118 */
119 PP_X509CERTIFICATE_PRIVATE_RAW = 22 119 PP_X509CERTIFICATE_PRIVATE_RAW = 22,
120
121 /** This corresponds to a string (<code>PP_VARTYPE_STRING</code>). */
122 PP_X509CERTIFICATE_PRIVATE_ISSUER_DISTINGUISHED_NAME = 23,
123
124 /** This corresponds to a string (<code>PP_VARTYPE_STRING</code>). */
125 PP_X509CERTIFICATE_PRIVATE_SUBJECT_DISTINGUISHED_NAME = 24
120 }; 126 };
121 127
122 /** 128 /**
123 * This enumeration defines the different possible values for X5O9 certificate 129 * This enumeration defines the different possible values for X5O9 certificate
124 * versions as returned by: 130 * versions as returned by:
125 * <code>GetField(resource, PP_X509CERTIFICATE_PRIVATE_VERSION)</code>. 131 * <code>GetField(resource, PP_X509CERTIFICATE_PRIVATE_VERSION)</code>.
126 */ 132 */
127 [assert_size(4)] 133 [assert_size(4)]
128 enum PPB_X509Certificate_Private_Version { 134 enum PPB_X509Certificate_Private_Version {
129 PP_X509CERTIFICATE_PRIVATE_V1 = 0, 135 PP_X509CERTIFICATE_PRIVATE_V1 = 0,
(...skipping 28 matching lines...) Expand all
158 [in] str_t bytes, 164 [in] str_t bytes,
159 [in] uint32_t length); 165 [in] uint32_t length);
160 166
161 /** 167 /**
162 * Get a field of the X509Certificate as a <code>PP_Var</code>. A null 168 * Get a field of the X509Certificate as a <code>PP_Var</code>. A null
163 * <code>PP_Var</code> is returned if the field is unavailable. 169 * <code>PP_Var</code> is returned if the field is unavailable.
164 */ 170 */
165 PP_Var GetField([in] PP_Resource resource, 171 PP_Var GetField([in] PP_Resource resource,
166 [in] PP_X509Certificate_Private_Field field); 172 [in] PP_X509Certificate_Private_Field field);
167 }; 173 };
OLDNEW
« no previous file with comments | « no previous file | ppapi/c/private/ppb_x509_certificate_private.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698