# AUTHOR <EMAIL@ADDRESS>, YEAR.
# 
# Translators:
msgid ""
msgstr ""
"Project-Id-Version: Defensive Coding Guide\n"
"POT-Creation-Date: 2013-03-12T03:19:44\n"
"PO-Revision-Date: 2013-03-19 15:32+0000\n"
"Last-Translator: Automatically generated\n"
"Language-Team: Portuguese <trans-pt@lists.fedoraproject.org>\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Language: pt\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"

#. Tag: programlisting
#, no-c-format
msgid ""
"\n"
"// Create the socket and connect it at the TCP layer.\n"
"SSLSocket socket = (SSLSocket) ctx.getSocketFactory()\n"
"    .createSocket(host, port);\n"
"\n"
"// Disable the Nagle algorithm.\n"
"socket.setTcpNoDelay(true);\n"
"\n"
"// Adjust ciphers and protocols.\n"
"socket.setSSLParameters(params);\n"
"\n"
"// Perform the handshake.\n"
"socket.startHandshake();\n"
"\n"
"// Validate the host name.  The match() method throws\n"
"// CertificateException on failure.\n"
"X509Certificate peer = (X509Certificate)\n"
"    socket.getSession().getPeerCertificates()[0];\n"
"// This is the only way to perform host name checking on OpenJDK 6.\n"
"HostnameChecker.getInstance(HostnameChecker.TYPE_TLS).match(\n"
"    host, peer);\n"
msgstr ""
