@@ -54,15 +54,14 @@ msgid ""
5454"version 1.1.1."
5555msgstr ""
5656
57- #: ../../library/ssl.rst:30
5857msgid ""
5958"Don't use this module without reading the :ref:`ssl-security`. Doing so may "
6059"lead to a false sense of security, as the default settings of the ssl module "
6160"are not necessarily appropriate for your application."
6261msgstr ""
63- ":ref:`ssl-security` を読まずにこのモジュールを使用しないでください。SSL のデ "
64- "フォルト設定はアプリケーションに十分ではないので、読まない場合はセキュリティ "
65- "に誤った意識を持ってしまうかもしれません 。"
62+ ":ref:`ssl-security` を読まずにこのモジュールを使用しないでください。\n "
63+ "ssl モジュールのデフォルト設定がアプリケーションに適しているとは限らないた "
64+ "め、読まずに使うと安全だと思い込んでしまうおそれがあります 。"
6665
6766msgid "Availability"
6867msgstr "利用可能な環境"
@@ -481,18 +480,17 @@ msgstr "例外は :exc:`SSLCertVerificationError` の別名になりました。
481480msgid "Random generation"
482481msgstr "乱数生成"
483482
484- #: ../../library/ssl.rst:337
485483msgid ""
486484"Return *num* cryptographically strong pseudo-random bytes. Raises an :class:"
487485"`SSLError` if the PRNG has not been seeded with enough data or if the "
488486"operation is not supported by the current RAND method. :func:`RAND_status` "
489487"can be used to check the status of the PRNG and :func:`RAND_add` can be used "
490488"to seed the PRNG."
491489msgstr ""
492- "暗号学的に強固な擬似乱数の *num* バイトを返します。擬似乱数生成器に十分なデー "
493- "タでシードが与えられていない場合や 、現在の RANDOM メソッドに操作がサポートさ "
494- "れていない場合は :class:`SSLError` を送出します。 :func:`RAND_status` を使っ "
495- "て擬似乱数生成器の状態をチェックできます 。\n"
490+ "暗号学的に強固な擬似乱数の *num* バイトを返します。\n "
491+ "擬似乱数生成器に十分なデータでシードが与えられていない場合や 、現在の RAND メ "
492+ "ソッドに操作がサポートされていない場合は :class:`SSLError` を送出します。\n "
493+ ":func:`RAND_status` を使って擬似乱数生成器の状態をチェックできます 。\n"
496494":func:`RAND_add` を使って擬似乱数生成器にシードを与えることができます。"
497495
498496#: ../../library/ssl.rst:343
@@ -566,15 +564,15 @@ msgstr ""
566564"\" notBefore\" や \" notAfter\" の日付には GMT を使わなければなりません(:rfc:"
567565"`5280`)。"
568566
569- #: ../../library/ssl.rst:396
570567msgid ""
571568"Interpret the input time as a time in UTC as specified by 'GMT' timezone in "
572569"the input string. Local timezone was used previously. Return an integer (no "
573570"fractions of a second in the input format)"
574571msgstr ""
575- "入力文字列に指定された 'GMT' タイムゾーンを UTC として解釈するようになりまし"
576- "た。以前はローカルタイムで解釈していました。また、整数を返すようになりました"
577- "(入力に含まれる秒の端数を含まない)。"
572+ "入力文字列の 'GMT' タイムゾーン指定に従い、入力時刻を UTC として解釈するよう"
573+ "になりました。\n"
574+ "以前はローカルタイムゾーンで解釈していました。\n"
575+ "整数を返します (入力形式には秒の小数部分がありません)。"
578576
579577#: ../../library/ssl.rst:405
580578msgid ""
@@ -648,21 +646,19 @@ msgstr ""
648646":attr:`capath` - capath の解決済みパス、またはディレクトリが存在しない場合は "
649647"``None``"
650648
651- #: ../../library/ssl.rst:445
652649msgid ""
653650":attr:`openssl_cafile_env` - OpenSSL's environment key that points to a "
654651"cafile,"
655- msgstr ":attr:`openssl_cafile_env` - cafile を指す OpenSSL の環境変数 "
652+ msgstr ":attr:`openssl_cafile_env` - cafile を指す OpenSSL の環境変数名 "
656653
657654#: ../../library/ssl.rst:446
658655msgid ":attr:`openssl_cafile` - hard coded path to a cafile,"
659656msgstr ":attr:`openssl_cafile` - OpenSSL にハードコードされた cafile のパス"
660657
661- #: ../../library/ssl.rst:447
662658msgid ""
663659":attr:`openssl_capath_env` - OpenSSL's environment key that points to a "
664660"capath,"
665- msgstr ":attr:`openssl_capath_env` - capath を指す OpenSSL の環境変数 "
661+ msgstr ":attr:`openssl_capath_env` - capath を指す OpenSSL の環境変数名 "
666662
667663#: ../../library/ssl.rst:448
668664msgid ":attr:`openssl_capath` - hard coded path to a capath directory"
@@ -811,19 +807,19 @@ msgstr ""
811807"スト(CRLs)はチェックされません。デフォルトでは OpenSSL は CRLs を必要ともしま"
812808"せんし検証にも使いません。"
813809
814- #: ../../library/ssl.rst:562
815810msgid ""
816811"Possible value for :attr:`SSLContext.verify_flags`. In this mode, only the "
817812"peer cert is checked but none of the intermediate CA certificates. The mode "
818813"requires a valid CRL that is signed by the peer cert's issuer (its direct "
819814"ancestor CA). If no proper CRL has been loaded with :attr:`SSLContext."
820815"load_verify_locations`, validation will fail."
821816msgstr ""
822- ":attr:`SSLContext.verify_flags` に渡せる値です。このモードでは、接続先の証明"
823- "書のみがチェックされ、仲介の CA 証明書はチェックされません。接続先証明書の発"
824- "行者(その CA の直接の祖先)によって署名された妥当な CRL が必要です。 :attr:"
825- "`SSLContext.load_verify_locations` で相応しい CRL をロードしていなければ、検"
826- "証は失敗します。"
817+ ":attr:`SSLContext.verify_flags` に指定できる値です。\n"
818+ "このモードでは接続先の証明書だけを検証し、中間 CA 証明書は検証しません。\n"
819+ "接続先証明書の発行者 (その証明書の直接の上位 CA) が署名した有効な CRL が必要"
820+ "です。\n"
821+ ":attr:`SSLContext.load_verify_locations` で適切な CRL をロードしていない場"
822+ "合、検証に失敗します。"
827823
828824#: ../../library/ssl.rst:572
829825msgid ""
@@ -958,15 +954,15 @@ msgstr ""
958954"チャンネル暗号化プロトコルとしてTLSバージョン 1.2 を選択します。 openssl "
959955"version 1.0.1+ のみで利用可能です。"
960956
961- #: ../../library/ssl.rst:704
962957msgid ""
963958"Enables workarounds for various bugs present in other SSL implementations. "
964959"This option is set by default. It does not necessarily set the same flags "
965960"as OpenSSL's ``SSL_OP_ALL`` constant."
966961msgstr ""
967962"相手にする SSL 実装のさまざまなバグを回避するためのワークアラウンドを有効にし"
968- "ます。このオプションはデフォルトで有効です。これを有効にする場合 OpenSSL 用の"
969- "同じ意味のフラグ ``SSL_OP_ALL`` をセットする必要はありません。"
963+ "ます。\n"
964+ "このオプションはデフォルトで有効です。\n"
965+ "OpenSSL の ``SSL_OP_ALL`` 定数と同じフラグを設定するとは限りません。"
970966
971967#: ../../library/ssl.rst:712
972968msgid ""
@@ -1582,19 +1578,18 @@ msgstr ""
15821578":meth:`~SSLSocket.write` の代わりに :meth:`~SSLSocket.send` を使用してくださ"
15831579"い。"
15841580
1585- #: ../../library/ssl.rst:1181
15861581msgid ""
15871582"The :meth:`~SSLSocket.read` and :meth:`~SSLSocket.write` methods are the low-"
15881583"level methods that read and write unencrypted, application-level data and "
15891584"decrypt/encrypt it to encrypted, wire-level data. These methods require an "
15901585"active SSL connection, i.e. the handshake was completed and :meth:`SSLSocket."
15911586"unwrap` was not called."
15921587msgstr ""
1593- ":meth:`~SSLSocket.read`, :meth:`~SSLSocket.write` メソッドは下位レベルのメ "
1594- "ソッドであり、暗号化されていないアプリケーションレベルのデータを読み書きし、 "
1595- "それを復号/暗号化して暗号化された書き込みレベルのデータにします。これらのメ "
1596- "ソッドはアクティブな SSL 接続つまり、ハンドシェイクが完了していて、 :meth :"
1597- "`SSLSocket.unwrap` が呼ばれていないことを必要とします 。"
1588+ ":meth:`~SSLSocket.read` と :meth:`~SSLSocket.write` は低水準のメソッドで、暗 "
1589+ "号化されていないアプリケーションレベルのデータを読み書きし、通信路上の暗号化 "
1590+ "されたデータとの間で復号・暗号化を行います。\n "
1591+ "これらのメソッドにはアクティブな SSL 接続、つまりハンドシェイクが完了し、 :"
1592+ "meth: `SSLSocket.unwrap` が呼ばれていない接続が必要です 。"
15981593
15991594#: ../../library/ssl.rst:1187
16001595msgid ""
@@ -1941,13 +1936,11 @@ msgstr ""
19411936"``\" TLSv1.1\" ``, ``\" TLSv1.2\" `` などが返ります。最新の OpenSSL はもっと色々"
19421937"な値を定義しているかもしれません。"
19431938
1944- #: ../../library/ssl.rst:1422
19451939msgid ""
19461940"Returns the number of already decrypted bytes available for read, pending on "
19471941"the connection."
19481942msgstr ""
1949- "接続において既に復号済みで読み出し可能で保留になっているバイト列の数を返しま"
1950- "す。"
1943+ "接続上に保留されている、復号済みで読み出し可能なデータのバイト数を返します。"
19511944
19521945#: ../../library/ssl.rst:1427
19531946msgid "The :class:`SSLContext` object this SSL socket is tied to."
@@ -2169,14 +2162,13 @@ msgstr ""
21692162msgid ":class:`SSLContext` objects have the following methods and attributes:"
21702163msgstr ":class:`SSLContext` オブジェクトは以下のメソッドと属性を持っています:"
21712164
2172- #: ../../library/ssl.rst:1555
21732165msgid ""
21742166"Get statistics about quantities of loaded X.509 certificates, count of X.509 "
21752167"certificates flagged as CA certificates and certificate revocation lists as "
21762168"dictionary."
21772169msgstr ""
2178- "ロードされた X.509 証明書の数、CA 証明書で活性の X.509 証明書の数、証明書失効 "
2179- "リストの数、についての統計情報を辞書として取得します 。"
2170+ "ロードされた X.509 証明書の数、CA 証明書としてフラグが設定された X.509 証明書 "
2171+ "の数、証明書失効リストの数を辞書として取得します 。"
21802172
21812173#: ../../library/ssl.rst:1559
21822174msgid "Example for a context with one CA cert and one other cert::"
@@ -2522,7 +2514,6 @@ msgstr ""
25222514"このメソッドは :data:`HAS_ALPN` が ``False`` の場合 :exc:"
25232515"`NotImplementedError` を送出します。"
25242516
2525- #: ../../library/ssl.rst:1809
25262517msgid ""
25272518"Specify which protocols the socket should advertise during the SSL/TLS "
25282519"handshake. It should be a list of strings, like ``['http/1.1', 'spdy/2']``, "
@@ -2533,12 +2524,14 @@ msgid ""
25332524"`SSLSocket.selected_npn_protocol` method will return the agreed-upon "
25342525"protocol."
25352526msgstr ""
2536- "SSL/TLS ハンドシェイク時にソケットが提示すべきプロトコルを指定します。 "
2527+ "SSL/TLS ハンドシェイク時にソケットが提示すべきプロトコルを指定します。\n "
25372528"``['http/1.1', 'spdy/2']`` のような推奨順に並べた文字列のリストでなければなり"
2538- "ません。プロトコルの選択は `Application Layer Protocol Negotiation <https://"
2539- "en.wikipedia.org/wiki/Application-Layer_Protocol_Negotiation>`_ に従いハンド"
2540- "シェイク中に行われます。ハンドシェイクが正常に終了した後、 :meth:`SSLSocket."
2541- "selected_alpn_protocol` メソッドは合意されたプロトコルを返します。"
2529+ "ません。\n"
2530+ "プロトコルの選択は `Application Layer Protocol Negotiation <https://en."
2531+ "wikipedia.org/wiki/Application-Layer_Protocol_Negotiation>`_ に従いハンドシェ"
2532+ "イク中に行われます。\n"
2533+ "ハンドシェイクが正常に終了した後、 :meth:`SSLSocket.selected_npn_protocol` メ"
2534+ "ソッドは合意されたプロトコルを返します。"
25422535
25432536#: ../../library/ssl.rst:1817
25442537msgid ""
@@ -2665,18 +2658,18 @@ msgid ""
26652658"message to the client."
26662659msgstr ""
26672660
2668- #: ../../library/ssl.rst:1901
26692661msgid ""
26702662"Load the key generation parameters for Diffie-Hellman (DH) key exchange. "
26712663"Using DH key exchange improves forward secrecy at the expense of "
26722664"computational resources (both on the server and on the client). The *dhfile* "
26732665"parameter should be the path to a file containing DH parameters in PEM "
26742666"format."
26752667msgstr ""
2676- "ディフィー・ヘルマン(DH)鍵交換のための鍵生成パラメータをロードします。DH 鍵交"
2677- "換を用いることは、(サーバ、クライアントともに)計算機リソースに高い処理負荷を"
2678- "かけますがセキュリティを向上させます。 *dhfile* パラメータは PEM フォーマット"
2679- "の DH パラメータを含んだファイルへのパスでなければなりません。"
2668+ "ディフィー・ヘルマン(DH)鍵交換のための鍵生成パラメータをロードします。\n"
2669+ "DH 鍵交換を用いることは、(サーバ、クライアントともに)計算機リソースに高い処理"
2670+ "負荷をかけますが前方秘匿性を向上させます。\n"
2671+ "*dhfile* パラメータは PEM フォーマットの DH パラメータを含んだファイルへのパ"
2672+ "スでなければなりません。"
26802673
26812674#: ../../library/ssl.rst:1907
26822675msgid ""
@@ -4065,13 +4058,12 @@ msgid ""
40654058"position."
40664059msgstr "メモリ BIOが現在ファイルの末尾にあるかを表す真偽値です。"
40674060
4068- #: ../../library/ssl.rst:2799
40694061msgid ""
40704062"Read up to *n* bytes from the memory buffer. If *n* is not specified or "
40714063"negative, all bytes are returned."
40724064msgstr ""
4073- "メモリバッファから最大 *n* 読み取ります。*n* が指定されていないか、負値の場 "
4074- "合、すべてのバイトが返されます 。"
4065+ "メモリバッファから最大 *n* バイト読み取ります。\n "
4066+ "*n* が指定されていないか負の場合は、すべてのバイトを返します 。"
40754067
40764068#: ../../library/ssl.rst:2804
40774069msgid ""
0 commit comments