| Index: ppapi/api/private/ppb_flash_tcp_socket.idl
|
| diff --git a/ppapi/api/private/ppb_flash_tcp_socket.idl b/ppapi/api/private/ppb_flash_tcp_socket.idl
|
| index 1ec9ec49a4224898150a8e0ddba0ad2e25b97084..de9f00e6b62f470a50272edc060111ba780f399e 100644
|
| --- a/ppapi/api/private/ppb_flash_tcp_socket.idl
|
| +++ b/ppapi/api/private/ppb_flash_tcp_socket.idl
|
| @@ -77,6 +77,22 @@ interface PPB_Flash_TCPSocket {
|
| [in] PP_CompletionCallback callback);
|
|
|
| /**
|
| + * Returns the <code>PPB_Flash_X509Certificate</code> for a socket connection
|
| + * if an SSL connection has been established using <code>SSL_Handshake</code>.
|
| + * If no SSL connection has been established, a null resource is returned.
|
| + */
|
| + PP_Resource GetX509Certificate([in] PP_Resource tcp_socket);
|
| +
|
| + /**
|
| + * Add a trusted/untrusted chain building certificate to be used for this
|
| + * connection. The <code>PP_Resource</code> must be a
|
| + * <code>PPB_Flash_X509Certificate<code>. <code>PP_TRUE</code> is returned
|
| + * upon success.
|
| + */
|
| + PP_Bool AddChainBuildingCertificate([in] PP_Resource certificate,
|
| + [in] PP_Bool is_trusted);
|
| +
|
| + /**
|
| * Reads data from the socket. The size of |buffer| must be at least as large
|
| * as |bytes_to_read|. May perform a partial read. Returns the number of bytes
|
| * read or an error code. If the return value is 0, then it indicates that
|
|
|