@@ -55,15 +55,14 @@ msgid ""
5555"version 1.1.1."
5656msgstr ""
5757
58- #: ../../library/ssl.rst:30
5958msgid ""
6059"Don't use this module without reading the :ref:`ssl-security`. Doing so may "
6160"lead to a false sense of security, as the default settings of the ssl module "
6261"are not necessarily appropriate for your application."
6362msgstr ""
64- ":ref:`ssl-security` を読まずにこのモジュールを使用しないでください。SSL のデ "
65- "フォルト設定はアプリケーションに十分ではないので、読まない場合はセキュリティ "
66- "に誤った意識を持ってしまうかもしれません 。"
63+ ":ref:`ssl-security` を読まずにこのモジュールを使用しないでください。\n "
64+ "ssl モジュールのデフォルト設定がアプリケーションに適しているとは限らないた "
65+ "め、読まずに使うと安全だと思い込んでしまうおそれがあります 。"
6766
6867msgid "Availability"
6968msgstr "利用可能な環境"
@@ -482,18 +481,17 @@ msgstr "例外は :exc:`SSLCertVerificationError` の別名になりました。
482481msgid "Random generation"
483482msgstr "乱数生成"
484483
485- #: ../../library/ssl.rst:337
486484msgid ""
487485"Return *num* cryptographically strong pseudo-random bytes. Raises an :class:"
488486"`SSLError` if the PRNG has not been seeded with enough data or if the "
489487"operation is not supported by the current RAND method. :func:`RAND_status` "
490488"can be used to check the status of the PRNG and :func:`RAND_add` can be used "
491489"to seed the PRNG."
492490msgstr ""
493- "暗号学的に強固な擬似乱数の *num* バイトを返します。擬似乱数生成器に十分なデー "
494- "タでシードが与えられていない場合や 、現在の RANDOM メソッドに操作がサポートさ "
495- "れていない場合は :class:`SSLError` を送出します。 :func:`RAND_status` を使っ "
496- "て擬似乱数生成器の状態をチェックできます 。\n"
491+ "暗号学的に強固な擬似乱数の *num* バイトを返します。\n "
492+ "擬似乱数生成器に十分なデータでシードが与えられていない場合や 、現在の RAND メ "
493+ "ソッドに操作がサポートされていない場合は :class:`SSLError` を送出します。\n "
494+ ":func:`RAND_status` を使って擬似乱数生成器の状態をチェックできます 。\n"
497495":func:`RAND_add` を使って擬似乱数生成器にシードを与えることができます。"
498496
499497#: ../../library/ssl.rst:343
@@ -567,15 +565,15 @@ msgstr ""
567565"\" notBefore\" や \" notAfter\" の日付には GMT を使わなければなりません(:rfc:"
568566"`5280`)。"
569567
570- #: ../../library/ssl.rst:396
571568msgid ""
572569"Interpret the input time as a time in UTC as specified by 'GMT' timezone in "
573570"the input string. Local timezone was used previously. Return an integer (no "
574571"fractions of a second in the input format)"
575572msgstr ""
576- "入力文字列に指定された 'GMT' タイムゾーンを UTC として解釈するようになりまし"
577- "た。以前はローカルタイムで解釈していました。また、整数を返すようになりました"
578- "(入力に含まれる秒の端数を含まない)。"
573+ "入力文字列の 'GMT' タイムゾーン指定に従い、入力時刻を UTC として解釈するよう"
574+ "になりました。\n"
575+ "以前はローカルタイムゾーンで解釈していました。\n"
576+ "整数を返します (入力形式には秒の小数部分がありません)。"
579577
580578#: ../../library/ssl.rst:405
581579msgid ""
@@ -649,21 +647,19 @@ msgstr ""
649647":attr:`capath` - capath の解決済みパス、またはディレクトリが存在しない場合は "
650648"``None``"
651649
652- #: ../../library/ssl.rst:445
653650msgid ""
654651":attr:`openssl_cafile_env` - OpenSSL's environment key that points to a "
655652"cafile,"
656- msgstr ":attr:`openssl_cafile_env` - cafile を指す OpenSSL の環境変数 "
653+ msgstr ":attr:`openssl_cafile_env` - cafile を指す OpenSSL の環境変数名 "
657654
658655#: ../../library/ssl.rst:446
659656msgid ":attr:`openssl_cafile` - hard coded path to a cafile,"
660657msgstr ":attr:`openssl_cafile` - OpenSSL にハードコードされた cafile のパス"
661658
662- #: ../../library/ssl.rst:447
663659msgid ""
664660":attr:`openssl_capath_env` - OpenSSL's environment key that points to a "
665661"capath,"
666- msgstr ":attr:`openssl_capath_env` - capath を指す OpenSSL の環境変数 "
662+ msgstr ":attr:`openssl_capath_env` - capath を指す OpenSSL の環境変数名 "
667663
668664#: ../../library/ssl.rst:448
669665msgid ":attr:`openssl_capath` - hard coded path to a capath directory"
@@ -812,19 +808,19 @@ msgstr ""
812808"スト(CRLs)はチェックされません。デフォルトでは OpenSSL は CRLs を必要ともしま"
813809"せんし検証にも使いません。"
814810
815- #: ../../library/ssl.rst:562
816811msgid ""
817812"Possible value for :attr:`SSLContext.verify_flags`. In this mode, only the "
818813"peer cert is checked but none of the intermediate CA certificates. The mode "
819814"requires a valid CRL that is signed by the peer cert's issuer (its direct "
820815"ancestor CA). If no proper CRL has been loaded with :attr:`SSLContext."
821816"load_verify_locations`, validation will fail."
822817msgstr ""
823- ":attr:`SSLContext.verify_flags` に渡せる値です。このモードでは、接続先の証明"
824- "書のみがチェックされ、仲介の CA 証明書はチェックされません。接続先証明書の発"
825- "行者(その CA の直接の祖先)によって署名された妥当な CRL が必要です。 :attr:"
826- "`SSLContext.load_verify_locations` で相応しい CRL をロードしていなければ、検"
827- "証は失敗します。"
818+ ":attr:`SSLContext.verify_flags` に指定できる値です。\n"
819+ "このモードでは接続先の証明書だけを検証し、中間 CA 証明書は検証しません。\n"
820+ "接続先証明書の発行者 (その証明書の直接の上位 CA) が署名した有効な CRL が必要"
821+ "です。\n"
822+ ":attr:`SSLContext.load_verify_locations` で適切な CRL をロードしていない場"
823+ "合、検証に失敗します。"
828824
829825#: ../../library/ssl.rst:572
830826msgid ""
@@ -959,15 +955,15 @@ msgstr ""
959955"チャンネル暗号化プロトコルとしてTLSバージョン 1.2 を選択します。 openssl "
960956"version 1.0.1+ のみで利用可能です。"
961957
962- #: ../../library/ssl.rst:704
963958msgid ""
964959"Enables workarounds for various bugs present in other SSL implementations. "
965960"This option is set by default. It does not necessarily set the same flags "
966961"as OpenSSL's ``SSL_OP_ALL`` constant."
967962msgstr ""
968963"相手にする SSL 実装のさまざまなバグを回避するためのワークアラウンドを有効にし"
969- "ます。このオプションはデフォルトで有効です。これを有効にする場合 OpenSSL 用の"
970- "同じ意味のフラグ ``SSL_OP_ALL`` をセットする必要はありません。"
964+ "ます。\n"
965+ "このオプションはデフォルトで有効です。\n"
966+ "OpenSSL の ``SSL_OP_ALL`` 定数と同じフラグを設定するとは限りません。"
971967
972968#: ../../library/ssl.rst:712
973969msgid ""
@@ -1583,19 +1579,18 @@ msgstr ""
15831579":meth:`~SSLSocket.write` の代わりに :meth:`~SSLSocket.send` を使用してくださ"
15841580"い。"
15851581
1586- #: ../../library/ssl.rst:1181
15871582msgid ""
15881583"The :meth:`~SSLSocket.read` and :meth:`~SSLSocket.write` methods are the low-"
15891584"level methods that read and write unencrypted, application-level data and "
15901585"decrypt/encrypt it to encrypted, wire-level data. These methods require an "
15911586"active SSL connection, i.e. the handshake was completed and :meth:`SSLSocket."
15921587"unwrap` was not called."
15931588msgstr ""
1594- ":meth:`~SSLSocket.read`, :meth:`~SSLSocket.write` メソッドは下位レベルのメ "
1595- "ソッドであり、暗号化されていないアプリケーションレベルのデータを読み書きし、 "
1596- "それを復号/暗号化して暗号化された書き込みレベルのデータにします。これらのメ "
1597- "ソッドはアクティブな SSL 接続つまり、ハンドシェイクが完了していて、 :meth :"
1598- "`SSLSocket.unwrap` が呼ばれていないことを必要とします 。"
1589+ ":meth:`~SSLSocket.read` と :meth:`~SSLSocket.write` は低水準のメソッドで、暗 "
1590+ "号化されていないアプリケーションレベルのデータを読み書きし、通信路上の暗号化 "
1591+ "されたデータとの間で復号・暗号化を行います。\n "
1592+ "これらのメソッドにはアクティブな SSL 接続、つまりハンドシェイクが完了し、 :"
1593+ "meth: `SSLSocket.unwrap` が呼ばれていない接続が必要です 。"
15991594
16001595#: ../../library/ssl.rst:1187
16011596msgid ""
@@ -1954,13 +1949,11 @@ msgstr ""
19541949"``\" TLSv1.1\" ``, ``\" TLSv1.2\" `` などが返ります。最新の OpenSSL はもっと色々"
19551950"な値を定義しているかもしれません。"
19561951
1957- #: ../../library/ssl.rst:1422
19581952msgid ""
19591953"Returns the number of already decrypted bytes available for read, pending on "
19601954"the connection."
19611955msgstr ""
1962- "接続において既に復号済みで読み出し可能で保留になっているバイト列の数を返しま"
1963- "す。"
1956+ "接続上に保留されている、復号済みで読み出し可能なデータのバイト数を返します。"
19641957
19651958#: ../../library/ssl.rst:1427
19661959msgid "The :class:`SSLContext` object this SSL socket is tied to."
@@ -2182,14 +2175,13 @@ msgstr ""
21822175msgid ":class:`SSLContext` objects have the following methods and attributes:"
21832176msgstr ":class:`SSLContext` オブジェクトは以下のメソッドと属性を持っています:"
21842177
2185- #: ../../library/ssl.rst:1555
21862178msgid ""
21872179"Get statistics about quantities of loaded X.509 certificates, count of X.509 "
21882180"certificates flagged as CA certificates and certificate revocation lists as "
21892181"dictionary."
21902182msgstr ""
2191- "ロードされた X.509 証明書の数、CA 証明書で活性の X.509 証明書の数、証明書失効 "
2192- "リストの数、についての統計情報を辞書として取得します 。"
2183+ "ロードされた X.509 証明書の数、CA 証明書としてフラグが設定された X.509 証明書 "
2184+ "の数、証明書失効リストの数を辞書として取得します 。"
21932185
21942186#: ../../library/ssl.rst:1559
21952187msgid "Example for a context with one CA cert and one other cert::"
@@ -2535,7 +2527,6 @@ msgstr ""
25352527"このメソッドは :data:`HAS_ALPN` が ``False`` の場合 :exc:"
25362528"`NotImplementedError` を送出します。"
25372529
2538- #: ../../library/ssl.rst:1809
25392530msgid ""
25402531"Specify which protocols the socket should advertise during the SSL/TLS "
25412532"handshake. It should be a list of strings, like ``['http/1.1', 'spdy/2']``, "
@@ -2546,12 +2537,14 @@ msgid ""
25462537"`SSLSocket.selected_npn_protocol` method will return the agreed-upon "
25472538"protocol."
25482539msgstr ""
2549- "SSL/TLS ハンドシェイク時にソケットが提示すべきプロトコルを指定します。 "
2540+ "SSL/TLS ハンドシェイク時にソケットが提示すべきプロトコルを指定します。\n "
25502541"``['http/1.1', 'spdy/2']`` のような推奨順に並べた文字列のリストでなければなり"
2551- "ません。プロトコルの選択は `Application Layer Protocol Negotiation <https://"
2552- "en.wikipedia.org/wiki/Application-Layer_Protocol_Negotiation>`_ に従いハンド"
2553- "シェイク中に行われます。ハンドシェイクが正常に終了した後、 :meth:`SSLSocket."
2554- "selected_alpn_protocol` メソッドは合意されたプロトコルを返します。"
2542+ "ません。\n"
2543+ "プロトコルの選択は `Application Layer Protocol Negotiation <https://en."
2544+ "wikipedia.org/wiki/Application-Layer_Protocol_Negotiation>`_ に従いハンドシェ"
2545+ "イク中に行われます。\n"
2546+ "ハンドシェイクが正常に終了した後、 :meth:`SSLSocket.selected_npn_protocol` メ"
2547+ "ソッドは合意されたプロトコルを返します。"
25552548
25562549#: ../../library/ssl.rst:1817
25572550msgid ""
@@ -2678,18 +2671,18 @@ msgid ""
26782671"message to the client."
26792672msgstr ""
26802673
2681- #: ../../library/ssl.rst:1901
26822674msgid ""
26832675"Load the key generation parameters for Diffie-Hellman (DH) key exchange. "
26842676"Using DH key exchange improves forward secrecy at the expense of "
26852677"computational resources (both on the server and on the client). The *dhfile* "
26862678"parameter should be the path to a file containing DH parameters in PEM "
26872679"format."
26882680msgstr ""
2689- "ディフィー・ヘルマン(DH)鍵交換のための鍵生成パラメータをロードします。DH 鍵交"
2690- "換を用いることは、(サーバ、クライアントともに)計算機リソースに高い処理負荷を"
2691- "かけますがセキュリティを向上させます。 *dhfile* パラメータは PEM フォーマット"
2692- "の DH パラメータを含んだファイルへのパスでなければなりません。"
2681+ "ディフィー・ヘルマン(DH)鍵交換のための鍵生成パラメータをロードします。\n"
2682+ "DH 鍵交換を用いることは、(サーバ、クライアントともに)計算機リソースに高い処理"
2683+ "負荷をかけますが前方秘匿性を向上させます。\n"
2684+ "*dhfile* パラメータは PEM フォーマットの DH パラメータを含んだファイルへのパ"
2685+ "スでなければなりません。"
26932686
26942687#: ../../library/ssl.rst:1907
26952688msgid ""
@@ -4108,13 +4101,12 @@ msgid ""
41084101"position."
41094102msgstr "メモリ BIOが現在ファイルの末尾にあるかを表す真偽値です。"
41104103
4111- #: ../../library/ssl.rst:2799
41124104msgid ""
41134105"Read up to *n* bytes from the memory buffer. If *n* is not specified or "
41144106"negative, all bytes are returned."
41154107msgstr ""
4116- "メモリバッファから最大 *n* 読み取ります。*n* が指定されていないか、負値の場 "
4117- "合、すべてのバイトが返されます 。"
4108+ "メモリバッファから最大 *n* バイト読み取ります。\n "
4109+ "*n* が指定されていないか負の場合は、すべてのバイトを返します 。"
41184110
41194111#: ../../library/ssl.rst:2804
41204112msgid ""
0 commit comments