RFC3447 日本語訳

3447 Public-Key Cryptography Standards (PKCS) #1: RSA CryptographySpecifications Version 2.1. J. Jonsson, B. Kaliski. February 2003. (Format: TXT=143173 bytes) (Obsoletes RFC2437) (Status: INFORMATIONAL)
プログラムでの自動翻訳です。
英語原文

Network Working Group                                         J. Jonsson
Request for Comments: 3447                                    B. Kaliski
Obsoletes: 2437                                         RSA Laboratories
Category: Informational                                    February 2003

コメントを求めるワーキンググループJ.イェンソンの要求をネットワークでつないでください: 3447B.Kaliskiは以下を時代遅れにします。 2437年のRSA研究所カテゴリ: 情報の2003年2月

     Public-Key Cryptography Standards (PKCS) #1: RSA Cryptography
                      Specifications Version 2.1

公開鍵暗号化標準(PKCS)#1: RSA暗号仕様バージョン、2.1

Status of this Memo

このMemoの状態

   This memo provides information for the Internet community.  It does
   not specify an Internet standard of any kind.  Distribution of this
   memo is unlimited.

このメモはインターネットコミュニティのための情報を提供します。 それはどんな種類のインターネット標準も指定しません。 このメモの分配は無制限です。

Copyright Notice

版権情報

   Copyright (C) The Internet Society (2003).  All Rights Reserved.

Copyright(C)インターネット協会(2003)。 All rights reserved。

Abstract

要約

   This memo represents a republication of PKCS #1 v2.1 from RSA
   Laboratories' Public-Key Cryptography Standards (PKCS) series, and
   change control is retained within the PKCS process.  The body of this
   document is taken directly from the PKCS #1 v2.1 document, with
   certain corrections made during the publication process.

このメモはRSA研究所の公開鍵暗号化標準(PKCS)シリーズからPKCS#1v2.1の再刊を表します、そして、変化コントロールはPKCSの過程の中で保有されます。 このドキュメントのボディーは直接PKCS#1v2.1ドキュメントから抜粋されます、公表の過程の間、ある修正をしていて。

Table of Contents

目次

   1.       Introduction...............................................2
   2.       Notation...................................................3
   3.       Key types..................................................6
      3.1      RSA public key..........................................6
      3.2      RSA private key.........................................7
   4.       Data conversion primitives.................................8
      4.1      I2OSP...................................................9
      4.2      OS2IP...................................................9
   5.       Cryptographic primitives..................................10
      5.1      Encryption and decryption primitives...................10
      5.2      Signature and verification primitives..................12
   6.       Overview of schemes.......................................14
   7.       Encryption schemes........................................15
      7.1      RSAES-OAEP.............................................16
      7.2      RSAES-PKCS1-v1_5.......................................23
   8.       Signature schemes with appendix...........................27
      8.1      RSASSA-PSS.............................................29
      8.2      RSASSA-PKCS1-v1_5......................................32
   9.       Encoding methods for signatures with appendix.............35

1. 序論…2 2. 記法…3 3. キーはタイプされます…6 3.1RSA公開鍵…6 3.2RSA秘密鍵…7 4. データ変換基関数…8 4.1I2OSP…9 4.2 OS2IP…9 5. 暗号の基関数…10 5.1暗号化と復号化基関数…10 5.2署名と検証基関数…12 6. 計画の概観…14 7. 暗号化は計画されます…15 7.1RSAES-OAEP…16 7.2 RSAES-PKCS1-v1_5…23 8. 署名は付録で計画されます…27 8.1RSASSA-PSS…29 8.2 RSASSA-PKCS1-v1_5…32 9. 付録による署名のための方法をコード化します…35

Jonsson & Kaliski            Informational                      [Page 1]

RFC 3447        PKCS #1: RSA Cryptography Specifications   February 2003

イェンソンとKaliskiの情報[1ページ]のRFC3447PKCS#1: RSA暗号仕様2003年2月

      9.1      EMSA-PSS...............................................36
      9.2      EMSA-PKCS1-v1_5........................................41
   Appendix A. ASN.1 syntax...........................................44
      A.1      RSA key representation.................................44
      A.2      Scheme identification..................................46
   Appendix B. Supporting techniques..................................52
      B.1      Hash functions.........................................52
      B.2      Mask generation functions..............................54
   Appendix C. ASN.1 module...........................................56
   Appendix D. Intellectual Property Considerations...................63
   Appendix E. Revision history.......................................64
   Appendix F. References.............................................65
   Appendix G. About PKCS.............................................70
   Appendix H. Corrections Made During RFC Publication Process........70
   Security Considerations............................................70
   Acknowledgements...................................................71
   Authors' Addresses.................................................71
   Full Copyright Statement...........................................72

9.1EMSA-PSS…36 9.2 EMSA-PKCS1-v1_5…41 付録A. ASN.1構文…44 A.1 RSAの主要な表現…44 A.2は識別を計画します…46 付録B.Supportingのテクニック…52 B.1は機能を論じ尽くします…52B.2マスク世代は機能します…54 付録C. ASN.1モジュール…56 付録D.知的所有権問題…63 付録E.Revision歴史…64 付録F.参照…65 PKCSに関する付録G.…70 付録H.修正はRFCの間、公表の過程を作りました…70 セキュリティ問題…70の承認…71人の作者のアドレス…71 完全な著作権宣言文…72

1. Introduction

1. 序論

   This document provides recommendations for the implementation of
   public-key cryptography based on the RSA algorithm [42], covering the
   following aspects:

このドキュメントは以下の局面をカバーしていて、RSAアルゴリズム[42]に基づく公開カギ暗号の実現のための推薦を提供します:

    * Cryptographic primitives

* 暗号の基関数

    * Encryption schemes

* 暗号化計画

    * Signature schemes with appendix

* 付録がある署名計画

    * ASN.1 syntax for representing keys and for identifying the schemes

* キーを表して、計画を特定するためのASN.1構文

   The recommendations are intended for general application within
   computer and communications systems, and as such include a fair
   amount of flexibility.  It is expected that application standards
   based on these specifications may include additional constraints.
   The recommendations are intended to be compatible with the standard
   IEEE-1363-2000 [26] and draft standards currently being developed by
   the ANSI X9F1 [1] and IEEE P1363 [27] working groups.

推薦は、コンピュータの中の一般的適用と通信網のために意図して、そういうものとして公正な量の柔軟性を含んでいます。 これらの仕様に基づくアプリケーション規格が追加規制を含むかもしれないと予想されます。 ANSI X9F1[1]とIEEE P1363[27]ワーキンググループによって開発されながら、推薦は現在標準のIEEE-1363-2000[26]と草稿規格と互換性があることを意図します。

   This document supersedes PKCS #1 version 2.0 [35][44] but includes
   compatible techniques.

このドキュメントは、PKCS#1バージョン2.0[35][44]に取って代わりますが、コンパチブルテクニックを含んでいます。

Jonsson & Kaliski            Informational                      [Page 2]

RFC 3447        PKCS #1: RSA Cryptography Specifications   February 2003

イェンソンとKaliskiの情報[2ページ]のRFC3447PKCS#1: RSA暗号仕様2003年2月

   The organization of this document is as follows:

このドキュメントの組織は以下の通りです:

    * Section 1 is an introduction.

* セクション1は序論です。

    * Section 2 defines some notation used in this document.

* セクション2は本書では使用される何らかの記法を定義します。

    * Section 3 defines the RSA public and private key types.

* セクション3はRSA公衆と秘密鍵タイプを定義します。

    * Sections 4 and 5 define several primitives, or basic mathematical
      operations.  Data conversion primitives are in Section 4, and
      cryptographic primitives (encryption-decryption, signature-
      verification) are in Section 5.

* セクション4と5はいくつかの基関数、または基本的な数学の操作を定義します。 データ変換基関数がセクション4にあります、そして、暗号の基関数(暗号化復号化、署名検証)がセクション5にあります。

    * Sections 6, 7, and 8 deal with the encryption and signature
      schemes in this document.  Section 6 gives an overview.  Along
      with the methods found in PKCS #1 v1.5, Section 7 defines an
      OAEP-based [3] encryption scheme and Section 8 defines a PSS-based
      [4][5] signature scheme with appendix.

* セクション6、7、および8 本書では暗号化と署名計画に対処してください。 セクション6は概観を与えます。 PKCS#1v1.5で見つけられた方法と共にセクション7はOAEPベースの[3]暗号化計画を定義します、そして、セクション8は付録でPSSベースの[4][5]署名計画を定義します。

    * Section 9 defines the encoding methods for the signature schemes
      in Section 8.

* セクション9は署名計画のためにセクション8でコード化方法を定義します。

    * Appendix A defines the ASN.1 syntax for the keys defined in
      Section 3 and the schemes in Sections 7 and 8.

* 付録Aはセクション3で定義されたキーと計画のためにセクション7と8でASN.1構文を定義します。

    * Appendix B defines the hash functions and the mask generation
      function used in this document, including ASN.1 syntax for the
      techniques.

* 付録Bは機能が本書では費やしたハッシュ関数とマスク世代を定義します、テクニックのためのASN.1構文を含んでいて。

    * Appendix C gives an ASN.1 module.

* 付録CはASN.1モジュールを与えます。

    * Appendices D, E, F and G cover intellectual property issues,
      outline the revision history of PKCS #1, give references to other
      publications and standards, and provide general information about
      the Public-Key Cryptography Standards.

* 付録D、E、F、およびGは、知的所有権問題をカバーしていて、PKCS#1に関する改訂履歴について概説して、他の刊行物と規格に参照を与えて、公開鍵暗号化標準に関して一般情報を提供します。

2. Notation

2. 記法

   c              ciphertext representative, an integer between 0 and
                  n-1

c暗号文代表、0とn-1の間の整数

   C              ciphertext, an octet string

C暗号文、八重奏ストリング

   d              RSA private exponent

d RSAの個人的な解説者

Jonsson & Kaliski            Informational                      [Page 3]

RFC 3447        PKCS #1: RSA Cryptography Specifications   February 2003

イェンソンとKaliskiの情報[3ページ]のRFC3447PKCS#1: RSA暗号仕様2003年2月

   d_i            additional factor r_i's CRT exponent, a positive
                  integer such that

d_i追加要素r_iによるCRT解説者であり、a正の整数がそのようなものである、それ

                    e * d_i == 1 (mod (r_i-1)), i = 3, ..., u

e*d_i=1(モッズ(r_i-1))、i=3…, u

   dP             p's CRT exponent, a positive integer such that

dP pのCRT解説者、正の整数

                    e * dP == 1 (mod (p-1))

e*dP=1(モッズ(p-1))

   dQ             q's CRT exponent, a positive integer such that

dQ qのCRT解説者、正の整数

                    e * dQ == 1 (mod (q-1))

e*dQ=1(モッズ(q-1))

   e              RSA public exponent

e RSAの公共の解説者

   EM             encoded message, an octet string

EMはメッセージ、八重奏ストリングをコード化しました。

   emBits         (intended) length in bits of an encoded message EM

コード化されたメッセージEMのビットのemBits(意図する)の長さ

   emLen          (intended) length in octets of an encoded message EM

コード化されたメッセージEMの八重奏におけるemLenな(意図している)長さ

   GCD(. , .)     greatest common divisor of two nonnegative integers

GCD、()、2つの非負整数の最大公約数

   Hash           hash function

細切れ肉料理ハッシュ関数

   hLen           output length in octets of hash function Hash

ハッシュ関数Hashの八重奏におけるhLen出力の長さ

   k              length in octets of the RSA modulus n

RSA係数nの八重奏におけるkの長さ

   K              RSA private key

K RSA秘密鍵

   L              optional RSAES-OAEP label, an octet string

L任意のRSAES-OAEPラベル、八重奏ストリング

   LCM(., ..., .) least common multiple of a list of nonnegative
                  integers

LCM、(…、)、非負整数のリストの最小公倍数

   m              message representative, an integer between 0 and n-1

mはメッセージ代表、0とn-1の間の整数です。

   M              message, an octet string

Mはメッセージ、八重奏ストリングです。

   mask           MGF output, an octet string

マスクMGF出力、八重奏ストリング

   maskLen        (intended) length of the octet string mask

八重奏ストリングマスクのmaskLenな(意図している)長さ

   MGF            mask generation function

MGFマスク世代機能

   mgfSeed        seed from which mask is generated, an octet string

マスクがどれであるかから発生する種子、八重奏ストリングをmgfSeedしました。

Jonsson & Kaliski            Informational                      [Page 4]

RFC 3447        PKCS #1: RSA Cryptography Specifications   February 2003

イェンソンとKaliskiの情報[4ページ]のRFC3447PKCS#1: RSA暗号仕様2003年2月

   mLen           length in octets of a message M

メッセージMの八重奏におけるmLenの長さ

   n              RSA modulus, n = r_1 * r_2 * ... * r_u , u >= 2

n RSA係数、nはr_1*r_2*と等しいです… * r_u、u>=2

   (n, e)         RSA public key

(n、e) RSA公開鍵

   p, q           first two prime factors of the RSA modulus n

p、RSA係数nに関するq最初の2つの主要因

   qInv           CRT coefficient, a positive integer less than p such
                  that

qInv CRT係数的、そして、a積極的な整数pより少ないそのようなもの、それ

                    q * qInv == 1 (mod p)

q*qInv=1(モッズp)

   r_i            prime factors of the RSA modulus n, including r_1 = p,
                  r_2 = q, and additional factors if any

もしあればr_2つのr_1=p、=q、および追加要素を含むRSA係数nに関するr_i主要因

   s              signature representative, an integer between 0 and n-1

s署名代表、0とn-1の間の整数

   S              signature, an octet string

S署名、八重奏ストリング

   sLen           length in octets of the EMSA-PSS salt

EMSA-PSS塩の八重奏におけるsLenの長さ

   t_i            additional prime factor r_i's CRT coefficient, a
                  positive integer less than r_i such that

t_i追加第1はr_iのCRT係数を因数分解して、正の整数のr_iより少ないそのようなものはそれです。

                    r_1 * r_2 * ... * r_(i-1) * t_i == 1 (mod r_i) ,

r_1*r_2*… * r_(i-1)*t_i=1(モッズr_i)

                  i = 3, ... , u

i=3… , u

   u              number of prime factors of the RSA modulus, u >= 2

RSA係数、u>=2に関する主要因のu番号

   x              a nonnegative integer

xは非負整数です。

   X              an octet string corresponding to x

Xはxに対応する八重奏ストリングです。

   xLen           (intended) length of the octet string X

八重奏ストリングXのxLen(意図する)の長さ

   0x             indicator of hexadecimal representation of an octet or
                  an octet string; "0x48" denotes the octet with
                  hexadecimal value 48; "(0x)48 09 0e" denotes the
                  string of three consecutive octets with hexadecimal
                  value 48, 09, and 0e, respectively

八重奏の16進表現か八重奏ストリングの0xインディケータ。 「0×48」 16進値48で八重奏を指示します。 「(0x)48 09 0e」はそれぞれ16進値48、09がある3つの連続した八重奏のストリング、および0eを指示します。

   \lambda(n)     LCM(r_1-1, r_2-1, ... , r_u-1)

\λ(n)LCM(r_1-1、r_2-1、…、r_u-1)

   \xor           bit-wise exclusive-or of two octet strings

2八重奏のxorのビット的な排他的論理和が結ぶ\

Jonsson & Kaliski            Informational                      [Page 5]

RFC 3447        PKCS #1: RSA Cryptography Specifications   February 2003

イェンソンとKaliskiの情報[5ページ]のRFC3447PKCS#1: RSA暗号仕様2003年2月

   \ceil(.)       ceiling function; \ceil(x) is the smallest integer
                  larger than or equal to the real number x

\ceil、()、天井機能。 \ceil(x)がより多くの本物が付番する中で最もわずかな整数である、x

   ||             concatenation operator

|| 連結オペレータ

   ==             congruence symbol; a == b (mod n) means that the
                  integer n divides the integer a - b

== 適合シンボル。 =b(モッズn)が、整数nが整数を分割することを意味する、a--b

   Note.  The CRT can be applied in a non-recursive as well as a
   recursive way.  In this document a recursive approach following
   Garner's algorithm [22] is used.  See also Note 1 in Section 3.2.

注意します。 非リカーシブに再帰的な方法でCRTを適用できます。 本書ではガーナーのアルゴリズム[22]に従う再帰的なアプローチは使用されています。 また、セクション3.2でNote1を見てください。

3. Key types

3. 主要なタイプ

   Two key types are employed in the primitives and schemes defined in
   this document: RSA public key and RSA private key.  Together, an RSA
   public key and an RSA private key form an RSA key pair.

2つの主要なタイプが本書では定義された基関数と計画で雇われます: RSA公開鍵とRSA秘密鍵。 RSA公開鍵とRSA秘密鍵はRSA主要な組を一緒に、形成します。

   This specification supports so-called "multi-prime" RSA where the
   modulus may have more than two prime factors.  The benefit of multi-
   prime RSA is lower computational cost for the decryption and
   signature primitives, provided that the CRT (Chinese Remainder
   Theorem) is used.  Better performance can be achieved on single
   processor platforms, but to a greater extent on multiprocessor
   platforms, where the modular exponentiations involved can be done in
   parallel.

この仕様は係数が2つ以上の主要因を持っているかもしれないいわゆる「マルチ主要な」RSAを支持します。 CRT(中国のRemainder Theorem)が使用されていれば、マルチ主要なRSAの利益は復号化と署名基関数のための低いコンピュータの費用です。 より良い性能は、単一のプロセッサプラットホームで達成されますが、マルチプロセッサプラットホームの、より大きい程度まで達成できます。そこでは、平行でかかわったモジュールの羃法をできます。

   For a discussion on how multi-prime affects the security of the RSA
   cryptosystem, the reader is referred to [49].

マルチ第1がどうRSA暗号系のセキュリティに影響するかについての議論について、読者は[49]を参照されます。

3.1 RSA public key

3.1 RSA公開鍵

   For the purposes of this document, an RSA public key consists of two
   components:

このドキュメントの目的のために、RSA公開鍵は2つのコンポーネントから成ります:

      n        the RSA modulus, a positive integer
      e        the RSA public exponent, a positive integer

RSA係数と、a積極的なRSA公衆の整数eのn解説者、正の整数

   In a valid RSA public key, the RSA modulus n is a product of u
   distinct odd primes r_i, i = 1, 2, ..., u, where u >= 2, and the RSA
   public exponent e is an integer between 3 and n - 1 satisfying GCD(e,
   \lambda(n)) = 1, where \lambda(n) = LCM(r_1 - 1, ..., r_u - 1).  By
   convention, the first two primes r_1 and r_2 may also be denoted p
   and q respectively.

有効なRSA公開鍵では、RSA係数nはu異なった変な盛りr_iの製品です、i=1、2…, u(u>は2、およびRSAの公共の解説者eと等しい)は3とn--1の間のGCDを満たす整数です。(e、\λ(n))は1と等しいです。そこでは、\λ(n)はLCM(r_1--1、…、r_u--1)と等しいです。 また、コンベンションが、最初の2盛りr_1とr_2が指示されるかもしれない、pとq、それぞれ。

   A recommended syntax for interchanging RSA public keys between
   implementations is given in Appendix A.1.1; an implementation's
   internal representation may differ.

Appendix A.1.1で実現の間のRSA公開鍵を交換するためのお勧めの構文を与えます。 実現の内部の表現は異なるかもしれません。

Jonsson & Kaliski            Informational                      [Page 6]

RFC 3447        PKCS #1: RSA Cryptography Specifications   February 2003

イェンソンとKaliskiの情報[6ページ]のRFC3447PKCS#1: RSA暗号仕様2003年2月

3.2 RSA private key

3.2 RSA秘密鍵

   For the purposes of this document, an RSA private key may have either
   of two representations.

このドキュメントの目的のために、RSA秘密鍵には、2つの表現のどちらかがあるかもしれません。

   1. The first representation consists of the pair (n, d), where the
      components have the following meanings:

1. 最初の表現は組(n、d)から成ります:(そこでは、コンポーネントが以下の意味を持っています)。

         n        the RSA modulus, a positive integer
         d        the RSA private exponent, a positive integer

RSA係数と、a積極的なRSA兵卒の整数dのn解説者、正の整数

   2. The second representation consists of a quintuple (p, q, dP, dQ,
      qInv) and a (possibly empty) sequence of triplets (r_i, d_i, t_i),
      i = 3, ..., u, one for each prime not in the quintuple, where the
      components have the following meanings:

2. 2番目の表現は5倍(p、q、dP、dQ、qInv)と三つ子の(ことによると空)の系列(r_i、d_i、t_i)から成ります、i=3…, u、5倍でないのにおける各主要あたりのもの:そこでは、コンポーネントが以下の意味を持っています。

         p        the first factor, a positive integer
         q        the second factor, a positive integer
         dP       the first factor's CRT exponent, a positive integer
         dQ       the second factor's CRT exponent, a positive integer
         qInv     the (first) CRT coefficient, a positive integer
         r_i      the i-th factor, a positive integer
         d_i      the i-th factor's CRT exponent, a positive integer
         t_i      the i-th factor's CRT coefficient, a positive integer

p、最初の要素、2番目が因数分解する正の整数q、a正の整数dP、最初の要素のCRT解説者、正の整数dQ、2番目の要素のCRT解説者、正の整数qInv、(1番目)のCRT係数、正の整数r_i、i、-、陽の整数d_iに第因数分解、i、-、要素のCRT解説者、第正の整数t_i、i、-、要素のCRT係数、第正の整数

   In a valid RSA private key with the first representation, the RSA
   modulus n is the same as in the corresponding RSA public key and is
   the product of u distinct odd primes r_i, i = 1, 2, ..., u, where u
   >= 2.  The RSA private exponent d is a positive integer less than n
   satisfying

最初の表現がある有効なRSA秘密鍵では、RSA係数nは、対応するRSA公開鍵と同じであり、u異なった変な盛りr_iの製品です、i=1、2…, u、どこu>=2。 RSAの個人的な解説者dはnの満足させるより少ない正の整数です。

      e * d == 1 (mod \lambda(n)),

e*d=、1 (モッズ\λ(n))

   where e is the corresponding RSA public exponent and \lambda(n) is
   defined as in Section 3.1.

eが(n)がセクション3.1で定義される対応するRSA公共の解説者と\λであるところ。

   In a valid RSA private key with the second representation, the two
   factors p and q are the first two prime factors of the RSA modulus n
   (i.e., r_1 and r_2), the CRT exponents dP and dQ are positive
   integers less than p and q respectively satisfying

2番目の表現がある有効なRSA秘密鍵では、2つの要素pとqがRSA係数n(すなわち、r_1とr_2)に関する最初の2つの主要因である、CRT解説者のdPとdQはpよりそれほど正の整数であり、qはそれぞれ満足させることです。

      e * dP == 1 (mod (p-1))
      e * dQ == 1 (mod (q-1)) ,

1(モッズ(p-1))e*dQ=e*dP=1(モッズ(q-1))

   and the CRT coefficient qInv is a positive integer less than p
   satisfying

そして、CRT係数qInvはpの満足させるより少ない正の整数です。

      q * qInv == 1 (mod p).

q*qInv=1(モッズp)。

Jonsson & Kaliski            Informational                      [Page 7]

RFC 3447        PKCS #1: RSA Cryptography Specifications   February 2003

イェンソンとKaliskiの情報[7ページ]のRFC3447PKCS#1: RSA暗号仕様2003年2月

   If u > 2, the representation will include one or more triplets (r_i,
   d_i, t_i), i = 3, ..., u.  The factors r_i are the additional prime
   factors of the RSA modulus n.  Each CRT exponent d_i (i = 3, ..., u)
   satisfies

u>2であるなら、表現は1人以上の三つ子(r_i、d_i、t_i)、i=3を含むでしょう…, u。 要素r_iはRSA係数nの追加主要因です。 それぞれのCRT解説者d_i(iは3、…、uと等しいです)は満足させます。

      e * d_i == 1 (mod (r_i - 1)).

e*d_i=1(モッズ(r_i--1))。

   Each CRT coefficient t_i (i = 3, ..., u) is a positive integer less
   than r_i satisfying

それぞれのCRT係数t_i(iは3、…、uと等しいです)はr_iの満足させるより少ない正の整数です。

      R_i * t_i == 1 (mod r_i) ,

R_i*t_i=1(モッズr_i)

   where R_i = r_1 * r_2 * ... * r_(i-1).

R_iがr_1*r_2*と等しいところ… * r_(i-1)。

   A recommended syntax for interchanging RSA private keys between
   implementations, which includes components from both representations,
   is given in Appendix A.1.2; an implementation's internal
   representation may differ.

Appendix A.1.2で実現の間のRSA秘密鍵を交換するためのお勧めの構文(両方の表現からのコンポーネントを含んでいる)を与えます。 実現の内部の表現は異なるかもしれません。

   Notes.

注意。

   1. The definition of the CRT coefficients here and the formulas that
      use them in the primitives in Section 5 generally follow Garner's
      algorithm [22] (see also Algorithm 14.71 in [37]). However, for
      compatibility with the representations of RSA private keys in PKCS
      #1 v2.0 and previous versions, the roles of p and q are reversed
      compared to the rest of the primes.  Thus, the first CRT
      coefficient, qInv, is defined as the inverse of q mod p, rather
      than as the inverse of R_1 mod r_2, i.e., of p mod q.

1. 一般に、セクション5の基関数でそれらを使用するここのCRT係数と定石の定義はガーナーのアルゴリズム[22]に従います。(また、[37])でAlgorithm14.71を見てください。 しかしながら、PKCS#1v2.0と旧バージョンにおける、RSA秘密鍵の表現との互換性において、盛りの残りと比べて、pとqの役割は逆にされます。 したがって、最初のCRT係数(qInv)はすなわち、R_1モッズr_2、pモッズqの逆としてというよりむしろqモッズpの逆と定義されます。

   2. Quisquater and Couvreur [40] observed the benefit of applying the
      Chinese Remainder Theorem to RSA operations.

2. Quisquaterとクブルール[40]は中国のRemainder TheoremをRSA操作に適用する利益を観測しました。

4. Data conversion primitives

4. データ変換基関数

   Two data conversion primitives are employed in the schemes defined in
   this document:

2つのデータ変換基関数が本書では定義された計画で使われます:

      * I2OSP - Integer-to-Octet-String primitive

* I2OSP--整数から八重奏ストリングへの基関数

      * OS2IP - Octet-String-to-Integer primitive

* OS2IP--八重奏ストリングから整数への基関数

   For the purposes of this document, and consistent with ASN.1 syntax,
   an octet string is an ordered sequence of octets (eight-bit bytes).
   The sequence is indexed from first (conventionally, leftmost) to last
   (rightmost).  For purposes of conversion to and from integers, the
   first octet is considered the most significant in the following
   conversion primitives.

このドキュメント、ASN.1構文と一致することの目的のために、八重奏ストリングは八重奏(8ビットのバイト)の規則正しい系列です。 系列は、持続する(一番右の)ように最初に(慣習上と、一番左)から索引をつけられます。 整数と整数からの変換の目的のために、最初の八重奏は以下の変換基関数で最も重要であると考えられます。

Jonsson & Kaliski            Informational                      [Page 8]

RFC 3447        PKCS #1: RSA Cryptography Specifications   February 2003

イェンソンとKaliskiの情報[8ページ]のRFC3447PKCS#1: RSA暗号仕様2003年2月

4.1 I2OSP

4.1 I2OSP

   I2OSP converts a nonnegative integer to an octet string of a
   specified length.

I2OSPは非負の整数に指定された長さの八重奏ストリングに変えます。

   I2OSP (x, xLen)

I2OSP(x、xLen)

   Input:
   x        nonnegative integer to be converted
   xLen     intended length of the resulting octet string

以下を入力してください。 変換されたxLenが結果として起こる八重奏ストリングの長さを意図したということであるx非負整数

   Output:
   X        corresponding octet string of length xLen

出力: 長さのxLenのX対応する八重奏ストリング

   Error: "integer too large"

誤り: 「整数、大き過ぎる、」

   Steps:

以下のステップ:

   1. If x >= 256^xLen, output "integer too large" and stop.

1. x>が256^xLen、出力と等しい、「整数、大き過ぎる、」 止まってください。

   2. Write the integer x in its unique xLen-digit representation in
      base 256:

2. ベース256におけるユニークなxLen-ケタ表現で整数xを書いてください:

         x = x_(xLen-1) 256^(xLen-1) + x_(xLen-2) 256^(xLen-2) + ...
         + x_1 256 + x_0,

xはx_(xLen-1)256^(xLen-1)+x_(xLen-2)256^(xLen-2)+と等しいです… + x_1 256+x_0

      where 0 <= x_i < 256 (note that one or more leading digits will be
      zero if x is less than 256^(xLen-1)).

0<がx_i<256と等しい(複数の主なケタがxが256未満^(xLen-1)であるならゼロになることに注意してください)ところ。

   3. Let the octet X_i have the integer value x_(xLen-i) for 1 <= i <=
      xLen.  Output the octet string

3. 八重奏X_iで、1<のための整数価値xの_(xLen-i)をi<=xLenとの等しさにしてください。 八重奏ストリングを出力してください。

         X = X_1 X_2 ... X_xLen.

XはX_1X_2と等しいです… X_xLen。

4.2 OS2IP

4.2 OS2IP

   OS2IP converts an octet string to a nonnegative integer.

OS2IPは八重奏ストリングを非負整数に変換します。

   OS2IP (X)

OS2IP(X)

   Input:
   X        octet string to be converted

以下を入力してください。 変換されるべきX八重奏ストリング

   Output:
   x        corresponding nonnegative integer

出力: x対応する非負整数

Jonsson & Kaliski            Informational                      [Page 9]

RFC 3447        PKCS #1: RSA Cryptography Specifications   February 2003

イェンソンとKaliskiの情報[9ページ]のRFC3447PKCS#1: RSA暗号仕様2003年2月

   Steps:

以下のステップ:

   1. Let X_1 X_2 ... X_xLen be the octets of X from first to last,
      and let x_(xLen-i) be the integer value of the octet X_i for
      1 <= i <= xLen.

1. X_1X_2をさせてください… X_xLenは、最初から最後まで間のXの八重奏であり、i1<=<=xLenのためにx_(xLen-i)が八重奏X_iの整数値であることをさせます。

   2. Let x = x_(xLen-1) 256^(xLen-1) + x_(xLen-2) 256^(xLen-2) + ...
      + x_1 256 + x_0.

2. xをx_(xLen-1)256^(xLen-1)+x_(xLen-2)256^(xLen-2)+との等しさにしてください… + x_1 256+x_0。

   3. Output x.

3. xを出力してください。

5. Cryptographic primitives

5. 暗号の基関数

   Cryptographic primitives are basic mathematical operations on which
   cryptographic schemes can be built.  They are intended for
   implementation in hardware or as software modules, and are not
   intended to provide security apart from a scheme.

暗号の基関数は暗合方式を築き上げることができる基本的な数学の操作です。 彼らは、ハードウェアかソフトウェア・モジュールとして実現のために意図して、計画は別としてセキュリティを提供することを意図しません。

   Four types of primitive are specified in this document, organized in
   pairs: encryption and decryption; and signature and verification.

原始の4つのタイプが、このドキュメントで指定されていて、対になって組織化されています: 暗号化と復号化。 署名と検証。

   The specifications of the primitives assume that certain conditions
   are met by the inputs, in particular that RSA public and private keys
   are valid.

基関数の仕様はある条件が入力で満たされて、RSA公衆と秘密鍵が特に、有効であると仮定します。

5.1 Encryption and decryption primitives

5.1 暗号化と復号化基関数

   An encryption primitive produces a ciphertext representative from a
   message representative under the control of a public key, and a
   decryption primitive recovers the message representative from the
   ciphertext representative under the control of the corresponding
   private key.

暗号化基関数はメッセージ代表から公開鍵のコントロールの下で暗号文代表を生産します、そして、復号化基関数は対応する秘密鍵のコントロールの下でメッセージ代表を暗号文代表から取り戻します。

   One pair of encryption and decryption primitives is employed in the
   encryption schemes defined in this document and is specified here:
   RSAEP/RSADP.  RSAEP and RSADP involve the same mathematical
   operation, with different keys as input.

1組の暗号化と復号化基関数は、本書では定義された暗号化計画で使われて、ここで指定されます: RSAEP/RSADP。 RSAEPとRSADPは入力されるように異なったキーによる同じ数学の操作にかかわります。

   The primitives defined here are the same as IFEP-RSA/IFDP-RSA in IEEE
   Std 1363-2000 [26] (except that support for multi-prime RSA has been
   added) and are compatible with PKCS #1 v1.5.

ここで定義された基関数は、IEEE Std1363-2000[26](マルチ主要なRSAのサポートが加えられるのを除いて)でIFEP-RSA/IFDP-RSAと同じであり、PKCS#1v1.5と互換性があります。

   The main mathematical operation in each primitive is exponentiation.

それぞれの原始の主な数学の操作は羃法です。

Jonsson & Kaliski            Informational                     [Page 10]

RFC 3447        PKCS #1: RSA Cryptography Specifications   February 2003

イェンソンとKaliskiの情報[10ページ]のRFC3447PKCS#1: RSA暗号仕様2003年2月

5.1.1 RSAEP

5.1.1 RSAEP

   RSAEP ((n, e), m)

RSAEP(n、e)、m)

   Input:
   (n, e)   RSA public key
   m        message representative, an integer between 0 and n - 1

以下を入力してください。 (n、e) RSA公開鍵mはメッセージ代表、0とn--1の間の整数です。

   Output:
   c        ciphertext representative, an integer between 0 and n - 1

出力: c暗号文代表、0とnの間の整数--1

   Error: "message representative out of range"

誤り: 「範囲からのメッセージ代表」

   Assumption: RSA public key (n, e) is valid

仮定: RSA公開鍵(n、e)は有効です。

   Steps:

以下のステップ:

   1. If the message representative m is not between 0 and n - 1, output
      "message representative out of range" and stop.

1. 0とn--1の間には、メッセージ代表mがないなら、「範囲からのメッセージ代表」を出力してください、そして、止まってください。

   2. Let c = m^e mod n.

2. cをm^eモッズnとの等しさにしてください。

   3. Output c.

3. cを出力してください。

5.1.2   RSADP

5.1.2 RSADP

   RSADP (K, c)

RSADP(K、c)

   Input:
   K        RSA private key, where K has one of the following forms:
            - a pair (n, d)
            - a quintuple (p, q, dP, dQ, qInv) and a possibly empty
              sequence of triplets (r_i, d_i, t_i), i = 3, ..., u
   c        ciphertext representative, an integer between 0 and n - 1

以下を入力してください。 Kには以下のフォームの1つがあるところのK RSA秘密鍵 - 1組(n、d)--5倍(p、q、dP、dQ、qInv)と三つ子(r_i、d_i、t_i)、i=3のことによると空の系列…, u c暗号文代表、0とnの間の整数--1

   Output:
   m        message representative, an integer between 0 and n - 1

出力: mはメッセージ代表、0とn--1の間の整数です。

   Error: "ciphertext representative out of range"

誤り: 「範囲からの暗号文代表」

   Assumption: RSA private key K is valid

仮定: RSA秘密鍵Kは有効です。

Jonsson & Kaliski            Informational                     [Page 11]

RFC 3447        PKCS #1: RSA Cryptography Specifications   February 2003

イェンソンとKaliskiの情報[11ページ]のRFC3447PKCS#1: RSA暗号仕様2003年2月

   Steps:

以下のステップ:

   1. If the ciphertext representative c is not between 0 and n - 1,
      output "ciphertext representative out of range" and stop.

1. 0とn--1の間には、暗号文代表cがないなら、「範囲からの暗号文代表」を出力してください、そして、止まってください。

   2. The message representative m is computed as follows.

2. メッセージ代表mは以下の通り計算されます。

      a. If the first form (n, d) of K is used, let m = c^d mod n.

a。 最初のフォーム(n、d)のKが使用されているなら、mをc^dモッズnとの等しさにしてください。

      b. If the second form (p, q, dP, dQ, qInv) and (r_i, d_i, t_i)
         of K is used, proceed as follows:

b。 Kの2番目のフォーム(p、q、dP、dQ、qInv)と(r_i、d_i、t_i)が使用されているなら、以下の通り続いてください:

         i.    Let m_1 = c^dP mod p and m_2 = c^dQ mod q.

i。 m_1をc^dPモッズpとm_2=c^dQモッズqとの等しさにしてください。

         ii.   If u > 2, let m_i = c^(d_i) mod r_i, i = 3, ..., u.

ii。 u>2であるなら、m_iをc^(d_i)モッズr_i、i=3との等しさにしてください…, u。

         iii.  Let h = (m_1 - m_2) * qInv mod p.

iii。 hを*qInvモッズpとの等しさにしてください(m_1--m_2)。

         iv.   Let m = m_2 + q * h.

iv。 mをm_2+q*hとの等しさにしてください。

         v.    If u > 2, let R = r_1 and for i = 3 to u do

v。 u>2、Rをr_1との等しさにしてくださいといって、uへのi=3に関して、してくださいなら

                  1. Let R = R * r_(i-1).

1. RをR*r_(i-1)との等しさにしてください。

                  2. Let h = (m_i - m) * t_i mod r_i.

2. hを*t_iモッズr_iとの等しさにしてください(m_i--m)。

                  3. Let m = m + R * h.

3. mをm+R*hとの等しさにしてください。

   3.   Output m.

3. mを出力してください。

   Note.  Step 2.b can be rewritten as a single loop, provided that one
   reverses the order of p and q.  For consistency with PKCS #1 v2.0,
   however, the first two primes p and q are treated separately from
   the additional primes.

注意します。 1つがpとqの注文を逆にすれば、シングル・ループとしてステップ2.bを書き直すことができます。 しかしながら、PKCS#1v2.0がある一貫性において、最初の2盛りpとqは別々に追加盛りから扱われます。

5.2 Signature and verification primitives

5.2 署名と検証基関数

   A signature primitive produces a signature representative from a
   message representative under the control of a private key, and a
   verification primitive recovers the message representative from the
   signature representative under the control of the corresponding
   public key.  One pair of signature and verification primitives is
   employed in the signature schemes defined in this document and is
   specified here: RSASP1/RSAVP1.

署名基関数はメッセージ代表から秘密鍵のコントロールの下で署名代表を生産します、そして、検証基関数は対応する公開鍵のコントロールの下でメッセージ代表を署名代表から取り戻します。 1組の署名と検証基関数は、本書では定義された署名計画で使われて、ここで指定されます: RSASP1/RSAVP1。

   The primitives defined here are the same as IFSP-RSA1/IFVP-RSA1 in
   IEEE 1363-2000 [26] (except that support for multi-prime RSA has
   been added) and are compatible with PKCS #1 v1.5.

ここで定義された基関数は、IEEE1363-2000[26](マルチ主要なRSAのサポートが加えられるのを除いて)でIFSP-RSA1/IFVP-RSA1と同じであり、PKCS#1v1.5と互換性があります。

Jonsson & Kaliski            Informational                     [Page 12]

RFC 3447        PKCS #1: RSA Cryptography Specifications   February 2003

イェンソンとKaliskiの情報[12ページ]のRFC3447PKCS#1: RSA暗号仕様2003年2月

   The main mathematical operation in each primitive is
   exponentiation, as in the encryption and decryption primitives of
   Section 5.1.  RSASP1 and RSAVP1 are the same as RSADP and RSAEP
   except for the names of their input and output arguments; they are
   distinguished as they are intended for different purposes.

それぞれの原始の主な数学の操作はセクション5.1に関する暗号化と復号化基関数のように羃法です。 RSASP1とRSAVP1はRSADPと彼らの入出力議論の名前以外のRSAEPと同じです。 彼らは、異なる役割のために意図するので、顕著です。

5.2.1 RSASP1

5.2.1 RSASP1

   RSASP1 (K, m)

RSASP1(K、m)

   Input:
   K        RSA private key, where K has one of the following forms:
            - a pair (n, d)
            - a quintuple (p, q, dP, dQ, qInv) and a (possibly empty)
              sequence of triplets (r_i, d_i, t_i), i = 3, ..., u
   m        message representative, an integer between 0 and n - 1

以下を入力してください。 Kには以下のフォームの1つがあるところのK RSA秘密鍵 - 1組(n、d)--5倍(p、q、dP、dQ、qInv)と三つ子(r_i、d_i、t_i)、i=3の(ことによると空)の系列…, u mはメッセージ代表、0とn--1の間の整数です。

   Output:
   s        signature representative, an integer between 0 and n - 1

出力: s署名代表、0とnの間の整数--1

   Error: "message representative out of range"

誤り: 「範囲からのメッセージ代表」

   Assumption: RSA private key K is valid

仮定: RSA秘密鍵Kは有効です。

   Steps:

以下のステップ:

   1. If the message representative m is not between 0 and n - 1,
      output "message representative out of range" and stop.

1. 0とn--1の間には、メッセージ代表mがないなら、「範囲からのメッセージ代表」を出力してください、そして、止まってください。

   2. The signature representative s is computed as follows.

2. 署名代表sは以下の通り計算されます。

      a. If the first form (n, d) of K is used, let s = m^d mod n.

a。 最初のフォーム(n、d)のKが使用されているなら、sをm^dモッズnとの等しさにしてください。

         b. If the second form (p, q, dP, dQ, qInv) and (r_i, d_i, t_i)
         of K is used, proceed as follows:

b。 Kの2番目のフォーム(p、q、dP、dQ、qInv)と(r_i、d_i、t_i)が使用されているなら、以下の通り続いてください:

         i.    Let s_1 = m^dP mod p and s_2 = m^dQ mod q.

i。 s_1をm^dPモッズpとs_2=m^dQモッズqとの等しさにしてください。

         ii.   If u > 2, let s_i = m^(d_i) mod r_i, i = 3, ..., u.

ii。 u>2であるなら、s_iをmの^(d_i)のモッズ風のr_i、i=3との等しさにしてください…, u。

         iii.  Let h = (s_1 - s_2) * qInv mod p.

iii。 hを*qInvモッズpとの等しさにしてください(s_1--s_2)。

         iv.   Let s = s_2 + q * h.

iv。 sをs_2+q*hとの等しさにしてください。

         v.    If u > 2, let R = r_1 and for i = 3 to u do

v。 u>2、Rをr_1との等しさにしてくださいといって、uへのi=3に関して、してくださいなら

                  1. Let R = R * r_(i-1).

1. RをR*r_(i-1)との等しさにしてください。

Jonsson & Kaliski            Informational                     [Page 13]

RFC 3447        PKCS #1: RSA Cryptography Specifications   February 2003

イェンソンとKaliskiの情報[13ページ]のRFC3447PKCS#1: RSA暗号仕様2003年2月

                  2. Let h = (s_i - s) * t_i mod r_i.

2. hを*t_iモッズr_iとの等しさにしてください(s_i--s)。

                  3. Let s = s + R * h.

3. sをs+R*hとの等しさにしてください。

   3. Output s.

3. sを出力してください。

   Note.  Step 2.b can be rewritten as a single loop, provided that one
   reverses the order of p and q.  For consistency with PKCS #1 v2.0,
   however, the first two primes p and q are treated separately from the
   additional primes.

注意します。 1つがpとqの注文を逆にすれば、シングル・ループとしてステップ2.bを書き直すことができます。 しかしながら、PKCS#1v2.0がある一貫性において、最初の2盛りpとqは別々に追加盛りから扱われます。

5.2.2 RSAVP1

5.2.2 RSAVP1

   RSAVP1 ((n, e), s)

RSAVP1(n、e)、s)

   Input:
   (n, e)   RSA public key
   s        signature representative, an integer between 0 and n - 1

Input: (n, e) RSA public key s signature representative, an integer between 0 and n - 1

   Output:
   m        message representative, an integer between 0 and n - 1

Output: m message representative, an integer between 0 and n - 1

   Error: "signature representative out of range"

Error: "signature representative out of range"

   Assumption: RSA public key (n, e) is valid

Assumption: RSA public key (n, e) is valid

   Steps:

Steps:

   1. If the signature representative s is not between 0 and n - 1,
      output "signature representative out of range" and stop.

1. If the signature representative s is not between 0 and n - 1, output "signature representative out of range" and stop.

   2. Let m = s^e mod n.

2. Let m = s^e mod n.

   3. Output m.

3. Output m.

6. Overview of schemes

6. Overview of schemes

   A scheme combines cryptographic primitives and other techniques to
   achieve a particular security goal.  Two types of scheme are
   specified in this document: encryption schemes and signature schemes
   with appendix.

A scheme combines cryptographic primitives and other techniques to achieve a particular security goal. Two types of scheme are specified in this document: encryption schemes and signature schemes with appendix.

   The schemes specified in this document are limited in scope in that
   their operations consist only of steps to process data with an RSA
   public or private key, and do not include steps for obtaining or
   validating the key.  Thus, in addition to the scheme operations, an
   application will typically include key management operations by which

The schemes specified in this document are limited in scope in that their operations consist only of steps to process data with an RSA public or private key, and do not include steps for obtaining or validating the key. Thus, in addition to the scheme operations, an application will typically include key management operations by which

Jonsson & Kaliski            Informational                     [Page 14]

RFC 3447        PKCS #1: RSA Cryptography Specifications   February 2003

Jonsson & Kaliski Informational [Page 14] RFC 3447 PKCS #1: RSA Cryptography Specifications February 2003

   parties may select RSA public and private keys for a scheme
   operation.  The specific additional operations and other details are
   outside the scope of this document.

parties may select RSA public and private keys for a scheme operation. The specific additional operations and other details are outside the scope of this document.

   As was the case for the cryptographic primitives (Section 5), the
   specifications of scheme operations assume that certain conditions
   are met by the inputs, in particular that RSA public and private keys
   are valid.  The behavior of an implementation is thus unspecified
   when a key is invalid.  The impact of such unspecified behavior
   depends on the application.  Possible means of addressing key
   validation include explicit key validation by the application; key
   validation within the public-key infrastructure; and assignment of
   liability for operations performed with an invalid key to the party
   who generated the key.

As was the case for the cryptographic primitives (Section 5), the specifications of scheme operations assume that certain conditions are met by the inputs, in particular that RSA public and private keys are valid. The behavior of an implementation is thus unspecified when a key is invalid. The impact of such unspecified behavior depends on the application. Possible means of addressing key validation include explicit key validation by the application; key validation within the public-key infrastructure; and assignment of liability for operations performed with an invalid key to the party who generated the key.

   A generally good cryptographic practice is to employ a given RSA key
   pair in only one scheme.  This avoids the risk that vulnerability in
   one scheme may compromise the security of the other, and may be
   essential to maintain provable security.  While RSAES-PKCS1-v1_5
   (Section 7.2) and RSASSA-PKCS1-v1_5 (Section 8.2) have traditionally
   been employed together without any known bad interactions (indeed,
   this is the model introduced by PKCS #1 v1.5), such a combined use of
   an RSA key pair is not recommended for new applications.

A generally good cryptographic practice is to employ a given RSA key pair in only one scheme. This avoids the risk that vulnerability in one scheme may compromise the security of the other, and may be essential to maintain provable security. While RSAES-PKCS1-v1_5 (Section 7.2) and RSASSA-PKCS1-v1_5 (Section 8.2) have traditionally been employed together without any known bad interactions (indeed, this is the model introduced by PKCS #1 v1.5), such a combined use of an RSA key pair is not recommended for new applications.

   To illustrate the risks related to the employment of an RSA key pair
   in more than one scheme, suppose an RSA key pair is employed in both
   RSAES-OAEP (Section 7.1) and RSAES-PKCS1-v1_5.  Although RSAES-OAEP
   by itself would resist attack, an opponent might be able to exploit a
   weakness in the implementation of RSAES-PKCS1-v1_5 to recover
   messages encrypted with either scheme.  As another example, suppose
   an RSA key pair is employed in both RSASSA-PSS (Section 8.1) and
   RSASSA-PKCS1-v1_5.  Then the security proof for RSASSA-PSS would no
   longer be sufficient since the proof does not account for the
   possibility that signatures might be generated with a second scheme.
   Similar considerations may apply if an RSA key pair is employed in
   one of the schemes defined here and in a variant defined elsewhere.

To illustrate the risks related to the employment of an RSA key pair in more than one scheme, suppose an RSA key pair is employed in both RSAES-OAEP (Section 7.1) and RSAES-PKCS1-v1_5. Although RSAES-OAEP by itself would resist attack, an opponent might be able to exploit a weakness in the implementation of RSAES-PKCS1-v1_5 to recover messages encrypted with either scheme. As another example, suppose an RSA key pair is employed in both RSASSA-PSS (Section 8.1) and RSASSA-PKCS1-v1_5. Then the security proof for RSASSA-PSS would no longer be sufficient since the proof does not account for the possibility that signatures might be generated with a second scheme. Similar considerations may apply if an RSA key pair is employed in one of the schemes defined here and in a variant defined elsewhere.

7. Encryption schemes

7. Encryption schemes

   For the purposes of this document, an encryption scheme consists of
   an encryption operation and a decryption operation, where the
   encryption operation produces a ciphertext from a message with a
   recipient's RSA public key, and the decryption operation recovers the
   message from the ciphertext with the recipient's corresponding RSA
   private key.

For the purposes of this document, an encryption scheme consists of an encryption operation and a decryption operation, where the encryption operation produces a ciphertext from a message with a recipient's RSA public key, and the decryption operation recovers the message from the ciphertext with the recipient's corresponding RSA private key.

Jonsson & Kaliski            Informational                     [Page 15]

RFC 3447        PKCS #1: RSA Cryptography Specifications   February 2003

Jonsson & Kaliski Informational [Page 15] RFC 3447 PKCS #1: RSA Cryptography Specifications February 2003

   An encryption scheme can be employed in a variety of applications.  A
   typical application is a key establishment protocol, where the
   message contains key material to be delivered confidentially from one
   party to another.  For instance, PKCS #7 [45] employs such a protocol
   to deliver a content-encryption key from a sender to a recipient; the
   encryption schemes defined here would be suitable key-encryption
   algorithms in that context.

An encryption scheme can be employed in a variety of applications. A typical application is a key establishment protocol, where the message contains key material to be delivered confidentially from one party to another. For instance, PKCS #7 [45] employs such a protocol to deliver a content-encryption key from a sender to a recipient; the encryption schemes defined here would be suitable key-encryption algorithms in that context.

   Two encryption schemes are specified in this document: RSAES-OAEP and
   RSAES-PKCS1-v1_5.  RSAES-OAEP is recommended for new applications;
   RSAES-PKCS1-v1_5 is included only for compatibility with existing
   applications, and is not recommended for new applications.

Two encryption schemes are specified in this document: RSAES-OAEP and RSAES-PKCS1-v1_5. RSAES-OAEP is recommended for new applications; RSAES-PKCS1-v1_5 is included only for compatibility with existing applications, and is not recommended for new applications.

   The encryption schemes given here follow a general model similar to
   that employed in IEEE Std 1363-2000 [26], combining encryption and
   decryption primitives with an encoding method for encryption.  The
   encryption operations apply a message encoding operation to a message
   to produce an encoded message, which is then converted to an integer
   message representative.  An encryption primitive is applied to the
   message representative to produce the ciphertext.  Reversing this,
   the decryption operations apply a decryption primitive to the
   ciphertext to recover a message representative, which is then
   converted to an octet string encoded message.  A message decoding
   operation is applied to the encoded message to recover the message
   and verify the correctness of the decryption.

The encryption schemes given here follow a general model similar to that employed in IEEE Std 1363-2000 [26], combining encryption and decryption primitives with an encoding method for encryption. The encryption operations apply a message encoding operation to a message to produce an encoded message, which is then converted to an integer message representative. An encryption primitive is applied to the message representative to produce the ciphertext. Reversing this, the decryption operations apply a decryption primitive to the ciphertext to recover a message representative, which is then converted to an octet string encoded message. A message decoding operation is applied to the encoded message to recover the message and verify the correctness of the decryption.

   To avoid implementation weaknesses related to the way errors are
   handled within the decoding operation (see [6] and [36]), the
   encoding and decoding operations for RSAES-OAEP and RSAES-PKCS1-v1_5
   are embedded in the specifications of the respective encryption
   schemes rather than defined in separate specifications.  Both
   encryption schemes are compatible with the corresponding schemes in
   PKCS #1 v2.0.

To avoid implementation weaknesses related to the way errors are handled within the decoding operation (see [6] and [36]), the encoding and decoding operations for RSAES-OAEP and RSAES-PKCS1-v1_5 are embedded in the specifications of the respective encryption schemes rather than defined in separate specifications. Both encryption schemes are compatible with the corresponding schemes in PKCS #1 v2.0.

7.1 RSAES-OAEP

7.1 RSAES-OAEP

   RSAES-OAEP combines the RSAEP and RSADP primitives (Sections 5.1.1
   and 5.1.2) with the EME-OAEP encoding method (step 1.b in Section
   7.1.1 and step 3 in Section 7.1.2).  EME-OAEP is based on Bellare and
   Rogaway's Optimal Asymmetric Encryption scheme [3].  (OAEP stands for
   "Optimal Asymmetric Encryption Padding.").  It is compatible with the
   IFES scheme defined in IEEE Std 1363-2000 [26], where the encryption
   and decryption primitives are IFEP-RSA and IFDP-RSA and the message
   encoding method is EME-OAEP.  RSAES-OAEP can operate on messages of
   length up to k - 2hLen - 2 octets, where hLen is the length of the
   output from the underlying hash function and k is the length in
   octets of the recipient's RSA modulus.

RSAES-OAEP combines the RSAEP and RSADP primitives (Sections 5.1.1 and 5.1.2) with the EME-OAEP encoding method (step 1.b in Section 7.1.1 and step 3 in Section 7.1.2). EME-OAEP is based on Bellare and Rogaway's Optimal Asymmetric Encryption scheme [3]. (OAEP stands for "Optimal Asymmetric Encryption Padding."). It is compatible with the IFES scheme defined in IEEE Std 1363-2000 [26], where the encryption and decryption primitives are IFEP-RSA and IFDP-RSA and the message encoding method is EME-OAEP. RSAES-OAEP can operate on messages of length up to k - 2hLen - 2 octets, where hLen is the length of the output from the underlying hash function and k is the length in octets of the recipient's RSA modulus.

Jonsson & Kaliski            Informational                     [Page 16]

RFC 3447        PKCS #1: RSA Cryptography Specifications   February 2003

Jonsson & Kaliski Informational [Page 16] RFC 3447 PKCS #1: RSA Cryptography Specifications February 2003

   Assuming that computing e-th roots modulo n is infeasible and the
   mask generation function in RSAES-OAEP has appropriate properties,
   RSAES-OAEP is semantically secure against adaptive chosen-ciphertext
   attacks.  This assurance is provable in the sense that the difficulty
   of breaking RSAES-OAEP can be directly related to the difficulty of
   inverting the RSA function, provided that the mask generation
   function is viewed as a black box or random oracle; see [21] and the
   note below for further discussion.

Assuming that computing e-th roots modulo n is infeasible and the mask generation function in RSAES-OAEP has appropriate properties, RSAES-OAEP is semantically secure against adaptive chosen-ciphertext attacks. This assurance is provable in the sense that the difficulty of breaking RSAES-OAEP can be directly related to the difficulty of inverting the RSA function, provided that the mask generation function is viewed as a black box or random oracle; see [21] and the note below for further discussion.

   Both the encryption and the decryption operations of RSAES-OAEP take
   the value of a label L as input.  In this version of PKCS #1, L is
   the empty string; other uses of the label are outside the scope of
   this document.  See Appendix A.2.1 for the relevant ASN.1 syntax.

Both the encryption and the decryption operations of RSAES-OAEP take the value of a label L as input. In this version of PKCS #1, L is the empty string; other uses of the label are outside the scope of this document. See Appendix A.2.1 for the relevant ASN.1 syntax.

   RSAES-OAEP is parameterized by the choice of hash function and mask
   generation function.  This choice should be fixed for a given RSA
   key.  Suggested hash and mask generation functions are given in
   Appendix B.

RSAES-OAEP is parameterized by the choice of hash function and mask generation function. This choice should be fixed for a given RSA key. Suggested hash and mask generation functions are given in Appendix B.

   Note.  Recent results have helpfully clarified the security
   properties of the OAEP encoding method [3] (roughly the procedure
   described in step 1.b in Section 7.1.1).  The background is as
   follows.  In 1994, Bellare and Rogaway [3] introduced a security
   concept that they denoted plaintext awareness (PA94).  They proved
   that if a deterministic public-key encryption primitive (e.g., RSAEP)
   is hard to invert without the private key, then the corresponding
   OAEP-based encryption scheme is plaintext-aware (in the random oracle
   model), meaning roughly that an adversary cannot produce a valid
   ciphertext without actually "knowing" the underlying plaintext.
   Plaintext awareness of an encryption scheme is closely related to the
   resistance of the scheme against chosen-ciphertext attacks.  In such
   attacks, an adversary is given the opportunity to send queries to an
   oracle simulating the decryption primitive.  Using the results of
   these queries, the adversary attempts to decrypt a challenge
   ciphertext.

Note. Recent results have helpfully clarified the security properties of the OAEP encoding method [3] (roughly the procedure described in step 1.b in Section 7.1.1). The background is as follows. In 1994, Bellare and Rogaway [3] introduced a security concept that they denoted plaintext awareness (PA94). They proved that if a deterministic public-key encryption primitive (e.g., RSAEP) is hard to invert without the private key, then the corresponding OAEP-based encryption scheme is plaintext-aware (in the random oracle model), meaning roughly that an adversary cannot produce a valid ciphertext without actually "knowing" the underlying plaintext. Plaintext awareness of an encryption scheme is closely related to the resistance of the scheme against chosen-ciphertext attacks. In such attacks, an adversary is given the opportunity to send queries to an oracle simulating the decryption primitive. Using the results of these queries, the adversary attempts to decrypt a challenge ciphertext.

   However, there are two flavors of chosen-ciphertext attacks, and PA94
   implies security against only one of them.  The difference relies on
   what the adversary is allowed to do after she is given the challenge
   ciphertext.  The indifferent attack scenario (denoted CCA1) does not
   admit any queries to the decryption oracle after the adversary is
   given the challenge ciphertext, whereas the adaptive scenario
   (denoted CCA2) does (except that the decryption oracle refuses to
   decrypt the challenge ciphertext once it is published).  In 1998,
   Bellare and Rogaway, together with Desai and Pointcheval [2], came up
   with a new, stronger notion of plaintext awareness (PA98) that does
   imply security against CCA2.

However, there are two flavors of chosen-ciphertext attacks, and PA94 implies security against only one of them. The difference relies on what the adversary is allowed to do after she is given the challenge ciphertext. The indifferent attack scenario (denoted CCA1) does not admit any queries to the decryption oracle after the adversary is given the challenge ciphertext, whereas the adaptive scenario (denoted CCA2) does (except that the decryption oracle refuses to decrypt the challenge ciphertext once it is published). In 1998, Bellare and Rogaway, together with Desai and Pointcheval [2], came up with a new, stronger notion of plaintext awareness (PA98) that does imply security against CCA2.

Jonsson & Kaliski            Informational                     [Page 17]

RFC 3447        PKCS #1: RSA Cryptography Specifications   February 2003

Jonsson & Kaliski Informational [Page 17] RFC 3447 PKCS #1: RSA Cryptography Specifications February 2003

   To summarize, there have been two potential sources for
   misconception: that PA94 and PA98 are equivalent concepts; or that
   CCA1 and CCA2 are equivalent concepts.  Either assumption leads to
   the conclusion that the Bellare-Rogaway paper implies security of
   OAEP against CCA2, which it does not.

To summarize, there have been two potential sources for misconception: that PA94 and PA98 are equivalent concepts; or that CCA1 and CCA2 are equivalent concepts. Either assumption leads to the conclusion that the Bellare-Rogaway paper implies security of OAEP against CCA2, which it does not.

   (Footnote: It might be fair to mention that PKCS #1 v2.0 cites [3]
   and claims that "a chosen ciphertext attack is ineffective against a
   plaintext-aware encryption scheme such as RSAES-OAEP" without
   specifying the kind of plaintext awareness or chosen ciphertext
   attack considered.)

(Footnote: It might be fair to mention that PKCS #1 v2.0 cites [3] and claims that "a chosen ciphertext attack is ineffective against a plaintext-aware encryption scheme such as RSAES-OAEP" without specifying the kind of plaintext awareness or chosen ciphertext attack considered.)

   OAEP has never been proven secure against CCA2; in fact, Victor Shoup
   [48] has demonstrated that such a proof does not exist in the general
   case.  Put briefly, Shoup showed that an adversary in the CCA2
   scenario who knows how to partially invert the encryption primitive
   but does not know how to invert it completely may well be able to
   break the scheme.  For example, one may imagine an attacker who is
   able to break RSAES-OAEP if she knows how to recover all but the
   first 20 bytes of a random integer encrypted with RSAEP.  Such an
   attacker does not need to be able to fully invert RSAEP, because she
   does not use the first 20 octets in her attack.

OAEP has never been proven secure against CCA2; in fact, Victor Shoup [48] has demonstrated that such a proof does not exist in the general case. Put briefly, Shoup showed that an adversary in the CCA2 scenario who knows how to partially invert the encryption primitive but does not know how to invert it completely may well be able to break the scheme. For example, one may imagine an attacker who is able to break RSAES-OAEP if she knows how to recover all but the first 20 bytes of a random integer encrypted with RSAEP. Such an attacker does not need to be able to fully invert RSAEP, because she does not use the first 20 octets in her attack.

   Still, RSAES-OAEP is secure against CCA2, which was proved by
   Fujisaki, Okamoto, Pointcheval, and Stern [21] shortly after the
   announcement of Shoup's result.  Using clever lattice reduction
   techniques, they managed to show how to invert RSAEP completely given
   a sufficiently large part of the pre-image.  This observation,
   combined with a proof that OAEP is secure against CCA2 if the
   underlying encryption primitive is hard to partially invert, fills
   the gap between what Bellare and Rogaway proved about RSAES-OAEP and
   what some may have believed that they proved.  Somewhat
   paradoxically, we are hence saved by an ostensible weakness in RSAEP
   (i.e., the whole inverse can be deduced from parts of it).

Still, RSAES-OAEP is secure against CCA2, which was proved by Fujisaki, Okamoto, Pointcheval, and Stern [21] shortly after the announcement of Shoup's result. Using clever lattice reduction techniques, they managed to show how to invert RSAEP completely given a sufficiently large part of the pre-image. This observation, combined with a proof that OAEP is secure against CCA2 if the underlying encryption primitive is hard to partially invert, fills the gap between what Bellare and Rogaway proved about RSAES-OAEP and what some may have believed that they proved. Somewhat paradoxically, we are hence saved by an ostensible weakness in RSAEP (i.e., the whole inverse can be deduced from parts of it).

   Unfortunately however, the security reduction is not efficient for
   concrete parameters.  While the proof successfully relates an
   adversary Adv against the CCA2 security of RSAES-OAEP to an algorithm
   Inv inverting RSA, the probability of success for Inv is only
   approximately \epsilon^2 / 2^18, where \epsilon is the probability of
   success for Adv.

Unfortunately however, the security reduction is not efficient for concrete parameters. While the proof successfully relates an adversary Adv against the CCA2 security of RSAES-OAEP to an algorithm Inv inverting RSA, the probability of success for Inv is only approximately \epsilon^2 / 2^18, where \epsilon is the probability of success for Adv.

   (Footnote: In [21] the probability of success for the inverter was
   \epsilon^2 / 4.  The additional factor 1 / 2^16 is due to the eight
   fixed zero bits at the beginning of the encoded message EM, which are
   not present in the variant of OAEP considered in [21] (Inv must apply
   Adv twice to invert RSA, and each application corresponds to a factor
   1 / 2^8).)

(Footnote: In [21] the probability of success for the inverter was \epsilon^2 / 4. The additional factor 1 / 2^16 is due to the eight fixed zero bits at the beginning of the encoded message EM, which are not present in the variant of OAEP considered in [21] (Inv must apply Adv twice to invert RSA, and each application corresponds to a factor 1 / 2^8).)

Jonsson & Kaliski            Informational                     [Page 18]

RFC 3447        PKCS #1: RSA Cryptography Specifications   February 2003

Jonsson & Kaliski Informational [Page 18] RFC 3447 PKCS #1: RSA Cryptography Specifications February 2003

   In addition, the running time for Inv is approximately t^2, where t
   is the running time of the adversary.  The consequence is that we
   cannot exclude the possibility that attacking RSAES-OAEP is
   considerably easier than inverting RSA for concrete parameters.
   Still, the existence of a security proof provides some assurance that
   the RSAES-OAEP construction is sounder than ad hoc constructions such
   as RSAES-PKCS1-v1_5.

In addition, the running time for Inv is approximately t^2, where t is the running time of the adversary. The consequence is that we cannot exclude the possibility that attacking RSAES-OAEP is considerably easier than inverting RSA for concrete parameters. Still, the existence of a security proof provides some assurance that the RSAES-OAEP construction is sounder than ad hoc constructions such as RSAES-PKCS1-v1_5.

   Hybrid encryption schemes based on the RSA-KEM key encapsulation
   paradigm offer tight proofs of security directly applicable to
   concrete parameters; see [30] for discussion.  Future versions of
   PKCS #1 may specify schemes based on this paradigm.

Hybrid encryption schemes based on the RSA-KEM key encapsulation paradigm offer tight proofs of security directly applicable to concrete parameters; see [30] for discussion. Future versions of PKCS #1 may specify schemes based on this paradigm.

7.1.1 Encryption operation

7.1.1 Encryption operation

   RSAES-OAEP-ENCRYPT ((n, e), M, L)

RSAES-OAEP-ENCRYPT ((n, e), M, L)

   Options:
   Hash     hash function (hLen denotes the length in octets of the hash
            function output)
   MGF      mask generation function

Options: Hash hash function (hLen denotes the length in octets of the hash function output) MGF mask generation function

   Input:
   (n, e)   recipient's RSA public key (k denotes the length in octets
            of the RSA modulus n)
   M        message to be encrypted, an octet string of length mLen,
            where mLen <= k - 2hLen - 2
   L        optional label to be associated with the message; the
            default value for L, if L is not provided, is the empty
            string

Input: (n, e) recipient's RSA public key (k denotes the length in octets of the RSA modulus n) M message to be encrypted, an octet string of length mLen, where mLen <= k - 2hLen - 2 L optional label to be associated with the message; the default value for L, if L is not provided, is the empty string

   Output:
   C        ciphertext, an octet string of length k

Output: C ciphertext, an octet string of length k

   Errors:  "message too long"; "label too long"

Errors: "message too long"; "label too long"

   Assumption: RSA public key (n, e) is valid

Assumption: RSA public key (n, e) is valid

   Steps:

Steps:

   1. Length checking:

1. Length checking:

      a. If the length of L is greater than the input limitation for the
         hash function (2^61 - 1 octets for SHA-1), output "label too
         long" and stop.

a. If the length of L is greater than the input limitation for the hash function (2^61 - 1 octets for SHA-1), output "label too long" and stop.

      b. If mLen > k - 2hLen - 2, output "message too long" and stop.

b. If mLen > k - 2hLen - 2, output "message too long" and stop.

Jonsson & Kaliski            Informational                     [Page 19]

RFC 3447        PKCS #1: RSA Cryptography Specifications   February 2003

Jonsson & Kaliski Informational [Page 19] RFC 3447 PKCS #1: RSA Cryptography Specifications February 2003

   2. EME-OAEP encoding (see Figure 1 below):

2. EME-OAEP encoding (see Figure 1 below):

      a. If the label L is not provided, let L be the empty string. Let
         lHash = Hash(L), an octet string of length hLen (see the note
         below).

a. If the label L is not provided, let L be the empty string. Let lHash = Hash(L), an octet string of length hLen (see the note below).

      b. Generate an octet string PS consisting of k - mLen - 2hLen - 2
         zero octets.  The length of PS may be zero.

b. Generate an octet string PS consisting of k - mLen - 2hLen - 2 zero octets. The length of PS may be zero.

      c. Concatenate lHash, PS, a single octet with hexadecimal value
         0x01, and the message M to form a data block DB of length k -
         hLen - 1 octets as

c. Concatenate lHash, PS, a single octet with hexadecimal value 0x01, and the message M to form a data block DB of length k - hLen - 1 octets as

            DB = lHash || PS || 0x01 || M.

DB = lHash || PS || 0x01 || M.

      d. Generate a random octet string seed of length hLen.

d. Generate a random octet string seed of length hLen.

      e. Let dbMask = MGF(seed, k - hLen - 1).

e. Let dbMask = MGF(seed, k - hLen - 1).

      f. Let maskedDB = DB \xor dbMask.

f. Let maskedDB = DB \xor dbMask.

      g. Let seedMask = MGF(maskedDB, hLen).

g. Let seedMask = MGF(maskedDB, hLen).

      h. Let maskedSeed = seed \xor seedMask.

h. Let maskedSeed = seed \xor seedMask.

      i. Concatenate a single octet with hexadecimal value 0x00,
         maskedSeed, and maskedDB to form an encoded message EM of
         length k octets as

i. Concatenate a single octet with hexadecimal value 0x00, maskedSeed, and maskedDB to form an encoded message EM of length k octets as

            EM = 0x00 || maskedSeed || maskedDB.

EM = 0x00 || maskedSeed || maskedDB.

   3. RSA encryption:

3. RSA encryption:

      a. Convert the encoded message EM to an integer message
         representative m (see Section 4.2):

a. Convert the encoded message EM to an integer message representative m (see Section 4.2):

            m = OS2IP (EM).

m = OS2IP (EM).

      b. Apply the RSAEP encryption primitive (Section 5.1.1) to the RSA
         public key (n, e) and the message representative m to produce
         an integer ciphertext representative c:

b. Apply the RSAEP encryption primitive (Section 5.1.1) to the RSA public key (n, e) and the message representative m to produce an integer ciphertext representative c:

            c = RSAEP ((n, e), m).

c = RSAEP ((n, e), m).

      c. Convert the ciphertext representative c to a ciphertext C of
         length k octets (see Section 4.1):

c. Convert the ciphertext representative c to a ciphertext C of length k octets (see Section 4.1):

            C = I2OSP (c, k).

C = I2OSP (c, k).

Jonsson & Kaliski            Informational                     [Page 20]

RFC 3447        PKCS #1: RSA Cryptography Specifications   February 2003

Jonsson & Kaliski Informational [Page 20] RFC 3447 PKCS #1: RSA Cryptography Specifications February 2003

   4. Output the ciphertext C.

4. Output the ciphertext C.

   Note.  If L is the empty string, the corresponding hash value lHash
   has the following hexadecimal representation for different choices of
   Hash:

Note. If L is the empty string, the corresponding hash value lHash has the following hexadecimal representation for different choices of Hash:

   SHA-1:   (0x)da39a3ee 5e6b4b0d 3255bfef 95601890 afd80709
   SHA-256: (0x)e3b0c442 98fc1c14 9afbf4c8 996fb924 27ae41e4 649b934c
                a495991b 7852b855
   SHA-384: (0x)38b060a7 51ac9638 4cd9327e b1b1e36a 21fdb711 14be0743
                4c0cc7bf 63f6e1da 274edebf e76f65fb d51ad2f1 4898b95b
   SHA-512: (0x)cf83e135 7eefb8bd f1542850 d66d8007 d620e405 0b5715dc
                83f4a921 d36ce9ce 47d0d13c 5d85f2b0 ff8318d2 877eec2f
                63b931bd 47417a81 a538327a f927da3e

SHA-1: (0x)da39a3ee 5e6b4b0d 3255bfef 95601890 afd80709 SHA-256: (0x)e3b0c442 98fc1c14 9afbf4c8 996fb924 27ae41e4 649b934c a495991b 7852b855 SHA-384: (0x)38b060a7 51ac9638 4cd9327e b1b1e36a 21fdb711 14be0743 4c0cc7bf 63f6e1da 274edebf e76f65fb d51ad2f1 4898b95b SHA-512: (0x)cf83e135 7eefb8bd f1542850 d66d8007 d620e405 0b5715dc 83f4a921 d36ce9ce 47d0d13c 5d85f2b0 ff8318d2 877eec2f 63b931bd 47417a81 a538327a f927da3e

   __________________________________________________________________

__________________________________________________________________

                             +----------+---------+-------+
                        DB = |  lHash   |    PS   |   M   |
                             +----------+---------+-------+
                                            |
                  +----------+              V
                  |   seed   |--> MGF ---> xor
                  +----------+              |
                        |                   |
               +--+     V                   |
               |00|    xor <----- MGF <-----|
               +--+     |                   |
                 |      |                   |
                 V      V                   V
               +--+----------+----------------------------+
         EM =  |00|maskedSeed|          maskedDB          |
               +--+----------+----------------------------+
   __________________________________________________________________

+----------+---------+-------+ DB = | lHash | PS | M | +----------+---------+-------+ | +----------+ V | seed |--> MGF ---> xor +----------+ | | | +--+ V | |00| xor <----- MGF <-----| +--+ | | | | | V V V +--+----------+----------------------------+ EM = |00|maskedSeed| maskedDB | +--+----------+----------------------------+ __________________________________________________________________

   Figure 1: EME-OAEP encoding operation.  lHash is the hash of the
   optional label L.  Decoding operation follows reverse steps to
   recover M and verify lHash and PS.

Figure 1: EME-OAEP encoding operation. lHash is the hash of the optional label L. Decoding operation follows reverse steps to recover M and verify lHash and PS.

7.1.2 Decryption operation

7.1.2 Decryption operation

   RSAES-OAEP-DECRYPT (K, C, L)

RSAES-OAEP-DECRYPT (K, C, L)

   Options:
   Hash     hash function (hLen denotes the length in octets of the hash
            function output)
   MGF      mask generation function

Options: Hash hash function (hLen denotes the length in octets of the hash function output) MGF mask generation function

Jonsson & Kaliski            Informational                     [Page 21]

RFC 3447        PKCS #1: RSA Cryptography Specifications   February 2003

Jonsson & Kaliski Informational [Page 21] RFC 3447 PKCS #1: RSA Cryptography Specifications February 2003

   Input:
   K        recipient's RSA private key (k denotes the length in octets
            of the RSA modulus n)
   C        ciphertext to be decrypted, an octet string of length k,
            where k = 2hLen + 2
   L        optional label whose association with the message is to be
            verified; the default value for L, if L is not provided, is
            the empty string

Input: K recipient's RSA private key (k denotes the length in octets of the RSA modulus n) C ciphertext to be decrypted, an octet string of length k, where k = 2hLen + 2 L optional label whose association with the message is to be verified; the default value for L, if L is not provided, is the empty string

   Output:
   M        message, an octet string of length mLen, where mLen <= k -
            2hLen - 2

Output: M message, an octet string of length mLen, where mLen <= k - 2hLen - 2

   Error: "decryption error"

Error: "decryption error"

   Steps:

Steps:

   1. Length checking:

1. Length checking:

      a. If the length of L is greater than the input limitation for the
         hash function (2^61 - 1 octets for SHA-1), output "decryption
         error" and stop.

a. If the length of L is greater than the input limitation for the hash function (2^61 - 1 octets for SHA-1), output "decryption error" and stop.

      b. If the length of the ciphertext C is not k octets, output
         "decryption error" and stop.

b. If the length of the ciphertext C is not k octets, output "decryption error" and stop.

      c. If k < 2hLen + 2, output "decryption error" and stop.

c. If k < 2hLen + 2, output "decryption error" and stop.

   2.    RSA decryption:

2. RSA decryption:

      a. Convert the ciphertext C to an integer ciphertext
         representative c (see Section 4.2):

a. Convert the ciphertext C to an integer ciphertext representative c (see Section 4.2):

            c = OS2IP (C).

c = OS2IP (C).

         b. Apply the RSADP decryption primitive (Section 5.1.2) to the
         RSA private key K and the ciphertext representative c to
         produce an integer message representative m:

b. Apply the RSADP decryption primitive (Section 5.1.2) to the RSA private key K and the ciphertext representative c to produce an integer message representative m:

            m = RSADP (K, c).

m = RSADP (K, c).

         If RSADP outputs "ciphertext representative out of range"
         (meaning that c >= n), output "decryption error" and stop.

If RSADP outputs "ciphertext representative out of range" (meaning that c >= n), output "decryption error" and stop.

      c. Convert the message representative m to an encoded message EM
         of length k octets (see Section 4.1):

c. Convert the message representative m to an encoded message EM of length k octets (see Section 4.1):

            EM = I2OSP (m, k).

EM = I2OSP (m, k).

Jonsson & Kaliski            Informational                     [Page 22]

RFC 3447        PKCS #1: RSA Cryptography Specifications   February 2003

Jonsson & Kaliski Informational [Page 22] RFC 3447 PKCS #1: RSA Cryptography Specifications February 2003

   3. EME-OAEP decoding:

3. EME-OAEP decoding:

      a. If the label L is not provided, let L be the empty string. Let
         lHash = Hash(L), an octet string of length hLen (see the note
         in Section 7.1.1).

a. If the label L is not provided, let L be the empty string. Let lHash = Hash(L), an octet string of length hLen (see the note in Section 7.1.1).

      b. Separate the encoded message EM into a single octet Y, an octet
         string maskedSeed of length hLen, and an octet string maskedDB
         of length k - hLen - 1 as

b. Separate the encoded message EM into a single octet Y, an octet string maskedSeed of length hLen, and an octet string maskedDB of length k - hLen - 1 as

            EM = Y || maskedSeed || maskedDB.

EM = Y || maskedSeed || maskedDB.

      c. Let seedMask = MGF(maskedDB, hLen).

c. Let seedMask = MGF(maskedDB, hLen).

      d. Let seed = maskedSeed \xor seedMask.

d. Let seed = maskedSeed \xor seedMask.

      e. Let dbMask = MGF(seed, k - hLen - 1).

e. Let dbMask = MGF(seed, k - hLen - 1).

      f. Let DB = maskedDB \xor dbMask.

f. Let DB = maskedDB \xor dbMask.

      g. Separate DB into an octet string lHash' of length hLen, a
         (possibly empty) padding string PS consisting of octets with
         hexadecimal value 0x00, and a message M as

g. Separate DB into an octet string lHash' of length hLen, a (possibly empty) padding string PS consisting of octets with hexadecimal value 0x00, and a message M as

            DB = lHash' || PS || 0x01 || M.

DB = lHash' || PS || 0x01 || M.

         If there is no octet with hexadecimal value 0x01 to separate PS
         from M, if lHash does not equal lHash', or if Y is nonzero,
         output "decryption error" and stop.  (See the note below.)

If there is no octet with hexadecimal value 0x01 to separate PS from M, if lHash does not equal lHash', or if Y is nonzero, output "decryption error" and stop. (See the note below.)

   4. Output the message M.

4. Output the message M.

   Note.  Care must be taken to ensure that an opponent cannot
   distinguish the different error conditions in Step 3.g, whether by
   error message or timing, or, more generally, learn partial
   information about the encoded message EM.  Otherwise an opponent may
   be able to obtain useful information about the decryption of the
   ciphertext C, leading to a chosen-ciphertext attack such as the one
   observed by Manger [36].

Note. Care must be taken to ensure that an opponent cannot distinguish the different error conditions in Step 3.g, whether by error message or timing, or, more generally, learn partial information about the encoded message EM. Otherwise an opponent may be able to obtain useful information about the decryption of the ciphertext C, leading to a chosen-ciphertext attack such as the one observed by Manger [36].

7.2 RSAES-PKCS1-v1_5

7.2 RSAES-PKCS1-v1_5

   RSAES-PKCS1-v1_5 combines the RSAEP and RSADP primitives (Sections
   5.1.1 and 5.1.2) with the EME-PKCS1-v1_5 encoding method (step 1 in
   Section 7.2.1 and step 3 in Section 7.2.2).  It is mathematically
   equivalent to the encryption scheme in PKCS #1 v1.5.  RSAES-PKCS1-
   v1_5 can operate on messages of length up to k - 11 octets (k is the
   octet length of the RSA modulus), although care should be taken to

RSAES-PKCS1-v1_5 combines the RSAEP and RSADP primitives (Sections 5.1.1 and 5.1.2) with the EME-PKCS1-v1_5 encoding method (step 1 in Section 7.2.1 and step 3 in Section 7.2.2). It is mathematically equivalent to the encryption scheme in PKCS #1 v1.5. RSAES-PKCS1- v1_5 can operate on messages of length up to k - 11 octets (k is the octet length of the RSA modulus), although care should be taken to

Jonsson & Kaliski            Informational                     [Page 23]

RFC 3447        PKCS #1: RSA Cryptography Specifications   February 2003

Jonsson & Kaliski Informational [Page 23] RFC 3447 PKCS #1: RSA Cryptography Specifications February 2003

   avoid certain attacks on low-exponent RSA due to Coppersmith,
   Franklin, Patarin, and Reiter when long messages are encrypted (see
   the third bullet in the notes below and [10]; [14] contains an
   improved attack).  As a general rule, the use of this scheme for
   encrypting an arbitrary message, as opposed to a randomly generated
   key, is not recommended.

avoid certain attacks on low-exponent RSA due to Coppersmith, Franklin, Patarin, and Reiter when long messages are encrypted (see the third bullet in the notes below and [10]; [14] contains an improved attack). As a general rule, the use of this scheme for encrypting an arbitrary message, as opposed to a randomly generated key, is not recommended.

   It is possible to generate valid RSAES-PKCS1-v1_5 ciphertexts without
   knowing the corresponding plaintexts, with a reasonable probability
   of success.  This ability can be exploited in a chosen- ciphertext
   attack as shown in [6].  Therefore, if RSAES-PKCS1-v1_5 is to be
   used, certain easily implemented countermeasures should be taken to
   thwart the attack found in [6].  Typical examples include the
   addition of structure to the data to be encoded, rigorous checking of
   PKCS #1 v1.5 conformance (and other redundancy) in decrypted
   messages, and the consolidation of error messages in a client-server
   protocol based on PKCS #1 v1.5.  These can all be effective
   countermeasures and do not involve changes to a PKCS #1 v1.5-based
   protocol.  See [7] for a further discussion of these and other
   countermeasures.  It has recently been shown that the security of the
   SSL/TLS handshake protocol [17], which uses RSAES-PKCS1-v1_5 and
   certain countermeasures, can be related to a variant of the RSA
   problem; see [32] for discussion.

It is possible to generate valid RSAES-PKCS1-v1_5 ciphertexts without knowing the corresponding plaintexts, with a reasonable probability of success. This ability can be exploited in a chosen- ciphertext attack as shown in [6]. Therefore, if RSAES-PKCS1-v1_5 is to be used, certain easily implemented countermeasures should be taken to thwart the attack found in [6]. Typical examples include the addition of structure to the data to be encoded, rigorous checking of PKCS #1 v1.5 conformance (and other redundancy) in decrypted messages, and the consolidation of error messages in a client-server protocol based on PKCS #1 v1.5. These can all be effective countermeasures and do not involve changes to a PKCS #1 v1.5-based protocol. See [7] for a further discussion of these and other countermeasures. It has recently been shown that the security of the SSL/TLS handshake protocol [17], which uses RSAES-PKCS1-v1_5 and certain countermeasures, can be related to a variant of the RSA problem; see [32] for discussion.

   Note.  The following passages describe some security recommendations
   pertaining to the use of RSAES-PKCS1-v1_5.  Recommendations from
   version 1.5 of this document are included as well as new
   recommendations motivated by cryptanalytic advances made in the
   intervening years.

Note. The following passages describe some security recommendations pertaining to the use of RSAES-PKCS1-v1_5. Recommendations from version 1.5 of this document are included as well as new recommendations motivated by cryptanalytic advances made in the intervening years.

    * It is recommended that the pseudorandom octets in step 2 in
      Section 7.2.1 be generated independently for each encryption
      process, especially if the same data is input to more than one
      encryption process.  Haastad's results [24] are one motivation for
      this recommendation.

* It is recommended that the pseudorandom octets in step 2 in Section 7.2.1 be generated independently for each encryption process, especially if the same data is input to more than one encryption process. Haastad's results [24] are one motivation for this recommendation.

    * The padding string PS in step 2 in Section 7.2.1 is at least eight
      octets long, which is a security condition for public-key
      operations that makes it difficult for an attacker to recover data
      by trying all possible encryption blocks.

* The padding string PS in step 2 in Section 7.2.1 is at least eight octets long, which is a security condition for public-key operations that makes it difficult for an attacker to recover data by trying all possible encryption blocks.

    * The pseudorandom octets can also help thwart an attack due to
      Coppersmith et al. [10] (see [14] for an improvement of the
      attack) when the size of the message to be encrypted is kept
      small.  The attack works on low-exponent RSA when similar messages
      are encrypted with the same RSA public key.  More specifically, in
      one flavor of the attack, when two inputs to RSAEP agree on a
      large fraction of bits (8/9) and low-exponent RSA (e = 3) is used

* また、擬似ランダム八重奏は邪魔するCoppersmith他による攻撃助けることができます。 コード化されるべきメッセージのサイズが小さく保たれる[10](攻撃の改良のための[14]を見ます)。 同様のメッセージが同じRSA公開鍵でコード化されるとき、攻撃は低い解説者RSAに働いています。 RSAEPへの2つの入力がビットの大きい何分の一に同意するとき、より明確に、攻撃の1つの風味(8/9)と低い解説者RSA(e=3)は使用されています。

Jonsson & Kaliski            Informational                     [Page 24]

RFC 3447        PKCS #1: RSA Cryptography Specifications   February 2003

イェンソンとKaliskiの情報[24ページ]のRFC3447PKCS#1: RSA暗号仕様2003年2月

      to encrypt both of them, it may be possible to recover both inputs
      with the attack.  Another flavor of the attack is successful in
      decrypting a single ciphertext when a large fraction (2/3) of the
      input to RSAEP is already known.  For typical applications, the
      message to be encrypted is short (e.g., a 128-bit symmetric key)
      so not enough information will be known or common between two
      messages to enable the attack.  However, if a long message is
      encrypted, or if part of a message is known, then the attack may
      be a concern.  In any case, the RSAES-OAEP scheme overcomes the
      attack.

それらの両方をコード化するために、攻撃で両方の入力を回復するのは可能であるかもしれません。 攻撃の別の風味はRSAEPへの入力の大きい部分(2/3)が既に知られているとただ一つの暗号文を解読するのに成功しています。 十分な情報は、どんな攻撃を可能にする2つのメッセージの間で主用途に、コード化されるべきメッセージが短く(例えば、128ビットの対称鍵)、知られるので一般的にならないでしょう。 しかしながら、長いメッセージがコード化されているか、またはメッセージの一部が知られているなら、攻撃は関心であるかもしれません。 どのような場合でも、RSAES-OAEP計画は攻撃に打ち勝ちます。

7.2.1 Encryption operation

7.2.1 暗号化操作

   RSAES-PKCS1-V1_5-ENCRYPT ((n, e), M)

RSAES-PKCS1-V1_5、-、コード化(n、e)、M)

   Input:
   (n, e)   recipient's RSA public key (k denotes the length in octets
            of the modulus n)
   M        message to be encrypted, an octet string of length mLen,
            where mLen <= k - 11

以下を入力してください。 (n、e) コード化されています、長さのmLenの八重奏ストリング、どこmLen<がkと等しいかということである受取人のRSA公開鍵(kは係数nの八重奏における長さを指示します)Mメッセージ--11

   Output:
   C        ciphertext, an octet string of length k

出力: C暗号文、長さkの八重奏ストリング

   Error: "message too long"

誤り: 「あまりに長い間、通信してください」

   Steps:

以下のステップ:

   1. Length checking: If mLen > k - 11, output "message too long" and
      stop.

1. 長さの照合: --mLen>kであるなら11、出力は、「あまりに長い間、通信し」て、止まります。

   2. EME-PKCS1-v1_5 encoding:

2. EME-PKCS1-v1_5コード化:

      a. Generate an octet string PS of length k - mLen - 3 consisting
         of pseudo-randomly generated nonzero octets.  The length of PS
         will be at least eight octets.

a。 長さkの八重奏ストリングPS--mLen--3の成ることを発生させる、疑似である、無作為である、発生している非零八重奏。 PSの長さは少なくとも8つの八重奏になるでしょう。

      b. Concatenate PS, the message M, and other padding to form an
         encoded message EM of length k octets as

b。 長さのk八重奏のコード化されたメッセージEMを形成するためにそっと歩くPS、メッセージM、およびもう片方を連結します。

            EM = 0x00 || 0x02 || PS || 0x00 || M.

EM=0x00|| 0×02|| PS|| 0×00|| M。

Jonsson & Kaliski            Informational                     [Page 25]

RFC 3447        PKCS #1: RSA Cryptography Specifications   February 2003

イェンソンとKaliskiの情報[25ページ]のRFC3447PKCS#1: RSA暗号仕様2003年2月

   3. RSA encryption:

3. RSA暗号化:

      a. Convert the encoded message EM to an integer message
         representative m (see Section 4.2):

a。 整数メッセージ代表mにコード化されたメッセージEMを変換してください(セクション4.2を見てください):

            m = OS2IP (EM).

mはOS2IP(EM)と等しいです。

      b. Apply the RSAEP encryption primitive (Section 5.1.1) to the RSA
         public key (n, e) and the message representative m to produce
         an integer ciphertext representative c:

b。 RSAEPの暗号化のRSAへの原始(セクション5.1.1)の公開鍵(n、e)と整数暗号文代表cを生産するメッセージ代表しているmを適用してください:

            c = RSAEP ((n, e), m).

cはRSAEP(n、e)、m)と等しいです。

      c. Convert the ciphertext representative c to a ciphertext C of
         length k octets (see Section 4.1):

c。 長さのk八重奏(セクション4.1を見る)の暗号文Cに暗号文代表cを変換してください:

               C = I2OSP (c, k).

CはI2OSP(c、k)と等しいです。

   4. Output the ciphertext C.

4. 暗号文Cを出力してください。

7.2.2 Decryption operation

7.2.2 復号化操作

   RSAES-PKCS1-V1_5-DECRYPT (K, C)

RSAES-PKCS1-V1_5、-、解読する。(K、C)

   Input:
   K        recipient's RSA private key
   C        ciphertext to be decrypted, an octet string of length k,
            where k is the length in octets of the RSA modulus n

以下を入力してください。 解読されるK受取人のRSA秘密鍵C暗号文、長さkの八重奏ストリング。(そこでは、kがRSA係数nの八重奏で長さです)。

   Output:
   M        message, an octet string of length at most k - 11

出力: Mメッセージ、ほとんどのkにおける長さの八重奏ストリング--11

   Error: "decryption error"

誤り: 「復号化誤り」

   Steps:

以下のステップ:

   1. Length checking: If the length of the ciphertext C is not k octets
      (or if k < 11), output "decryption error" and stop.

1. 長さの照合: 暗号文Cの長さがk八重奏(k<11であるなら)でないなら、「復号化誤り」を出力してください、そして、止まってください。

   2. RSA decryption:

2. RSA復号化:

      a. Convert the ciphertext C to an integer ciphertext
         representative c (see Section 4.2):

a。 整数暗号文代表c(セクション4.2を見る)に暗号文Cを変換してください:

            c = OS2IP (C).

cはOS2IP(C)と等しいです。

Jonsson & Kaliski            Informational                     [Page 26]

RFC 3447        PKCS #1: RSA Cryptography Specifications   February 2003

イェンソンとKaliskiの情報[26ページ]のRFC3447PKCS#1: RSA暗号仕様2003年2月

      b. Apply the RSADP decryption primitive (Section 5.1.2) to the RSA
         private key (n, d) and the ciphertext representative c to
         produce an integer message representative m:

b。 RSADPの復号化のRSAへの原始(セクション5.1.2)の秘密鍵(n、d)と整数メッセージ代表mを生産する暗号文代表cを適用してください:

            m = RSADP ((n, d), c).

mはRSADP(n、d)、c)と等しいです。

         If RSADP outputs "ciphertext representative out of range"
         (meaning that c >= n), output "decryption error" and stop.

RSADPが「範囲からの暗号文代表」を出力するなら(c>がnと等しいことを意味して)、「復号化誤り」を出力してください、そして、止まってください。

      c. Convert the message representative m to an encoded message EM
         of length k octets (see Section 4.1):

c。 長さのk八重奏のコード化されたメッセージEMにメッセージ代表mを変換してください(セクション4.1を見てください):

            EM = I2OSP (m, k).

EMはI2OSP(m、k)と等しいです。

   3. EME-PKCS1-v1_5 decoding: Separate the encoded message EM into an
      octet string PS consisting of nonzero octets and a message M as

3. EME-PKCS1-v1_5解読: 八重奏へのEMが非零八重奏から成るPSとメッセージMを結ぶコード化されたメッセージを切り離してください。

         EM = 0x00 || 0x02 || PS || 0x00 || M.

EM=0x00|| 0×02|| PS|| 0×00|| M。

      If the first octet of EM does not have hexadecimal value 0x00, if
      the second octet of EM does not have hexadecimal value 0x02, if
      there is no octet with hexadecimal value 0x00 to separate PS from
      M, or if the length of PS is less than 8 octets, output
      "decryption error" and stop.  (See the note below.)

EMの2番目の八重奏に16進値0x02がないならEMの最初の八重奏で16進値0x00がないか、MとPSを切り離すために16進値0x00がある八重奏が全くないか、またはPSの長さが8つ未満の八重奏であるなら、「復号化誤り」を出力してください、そして、止まってください。 (以下での注意を見てください。)

   4. Output M.

4. Mを出力してください。

   Note.  Care shall be taken to ensure that an opponent cannot
   distinguish the different error conditions in Step 3, whether by
   error message or timing.  Otherwise an opponent may be able to obtain
   useful information about the decryption of the ciphertext C, leading
   to a strengthened version of Bleichenbacher's attack [6]; compare to
   Manger's attack [36].

注意します。 相手がStep3で異なったエラー条件を区別できないのを保証するために注意するでしょう、エラーメッセージかタイミングにかかわらず。 さもなければ、相手は暗号文Cの復号化に関する役に立つ情報を得ることができるかもしれません、Bleichenbacherの攻撃[6]の強まっているバージョンに通じて。 Mangerの攻撃[36]と比較してください。

8. Signature schemes with appendix

8. 付録がある署名計画

   For the purposes of this document, a signature scheme with appendix
   consists of a signature generation operation and a signature
   verification operation, where the signature generation operation
   produces a signature from a message with a signer's RSA private key,
   and the signature verification operation verifies the signature on
   the message with the signer's corresponding RSA public key.  To
   verify a signature constructed with this type of scheme it is
   necessary to have the message itself.  In this way, signature schemes
   with appendix are distinguished from signature schemes with message
   recovery, which are not supported in this document.

このドキュメントの目的のために、付録がある署名計画は署名世代操作と署名照合操作から成ります、署名世代操作が署名者のRSA秘密鍵でメッセージから署名を起こして、署名照合操作がメッセージで署名者の対応するRSA公開鍵で署名について確かめるところで。 このタイプの計画で構成された署名について確かめるために、メッセージ自体を持つのが必要です。 このように、付録がある署名計画はメッセージ回復に伴う署名計画と区別されます。(計画は本書では支持されません)。

Jonsson & Kaliski            Informational                     [Page 27]

RFC 3447        PKCS #1: RSA Cryptography Specifications   February 2003

イェンソンとKaliskiの情報[27ページ]のRFC3447PKCS#1: RSA暗号仕様2003年2月

   A signature scheme with appendix can be employed in a variety of
   applications.  For instance, the signature schemes with appendix
   defined here would be suitable signature algorithms for X.509
   certificates [28].  Related signature schemes could be employed in
   PKCS #7 [45], although for technical reasons the current version of
   PKCS #7 separates a hash function from a signature scheme, which is
   different than what is done here; see the note in Appendix A.2.3 for
   more discussion.

さまざまなアプリケーションで付録がある署名計画を使うことができます。 例えば、付録がここで定義されている署名計画はX.509証明書[28]のための適当な署名アルゴリズムでしょう。 PKCS#7の最新版は技術的な理由でハッシュ関数を切り離しますが、PKCS#7[45]で署名計画から関連署名計画を使うことができました。(それは、ここで行われることと異なっています)。 より多くの議論に関してAppendix A.2.3の注意を見てください。

   Two signature schemes with appendix are specified in this document:
   RSASSA-PSS and RSASSA-PKCS1-v1_5.  Although no attacks are known
   against RSASSA-PKCS1-v1_5, in the interest of increased robustness,
   RSASSA-PSS is recommended for eventual adoption in new applications.
   RSASSA-PKCS1-v1_5 is included for compatibility with existing
   applications, and while still appropriate for new applications, a
   gradual transition to RSASSA-PSS is encouraged.

付録がある2つの署名計画が本書では指定されます: RSASSA-PSSとRSASSA-PKCS1-v1_5。 攻撃は全くRSASSA-PKCS1-v1_5に対して知られていませんが、増加する丈夫さのために、RSASSA-PSSは新しいアプリケーションにおける最後の採用のために推薦されます。 RSASSA-PKCS1-v1_5は既存のアプリケーションとの互換性のために含まれています、そして、新しいアプリケーションにはまだ適切である間、RSASSA-PSSへのゆるやかな変遷は奨励されます。

   The signature schemes with appendix given here follow a general model
   similar to that employed in IEEE Std 1363-2000 [26], combining
   signature and verification primitives with an encoding method for
   signatures.  The signature generation operations apply a message
   encoding operation to a message to produce an encoded message, which
   is then converted to an integer message representative.  A signature
   primitive is applied to the message representative to produce the
   signature.  Reversing this, the signature verification operations
   apply a signature verification primitive to the signature to recover
   a message representative, which is then converted to an octet string
   encoded message.  A verification operation is applied to the message
   and the encoded message to determine whether they are consistent.

付録をここに与えている署名計画はIEEE Std1363-2000[26]で使われたそれと同様の一般的なモデルに従います、署名と検証基関数を署名のためのコード化方法に結合して。 署名世代操作は次に整数メッセージ代表に変換されるコード化されたメッセージを出すメッセージに操作をコード化するメッセージを適用します。 署名基関数は、署名を起こすためにメッセージ代表に適用されます。 これを逆にして、署名照合操作はメッセージ代表を回復するために署名への原始の署名照合を適用して、次に、どれが八重奏ストリングに変換されるかがメッセージをコード化しました。 検証操作はメッセージとそれらが一貫しているかどうか決定するコード化されたメッセージに適用されます。

   If the encoding method is deterministic (e.g., EMSA-PKCS1-v1_5), the
   verification operation may apply the message encoding operation to
   the message and compare the resulting encoded message to the
   previously derived encoded message.  If there is a match, the
   signature is considered valid.  If the method is randomized (e.g.,
   EMSA-PSS), the verification operation is typically more complicated.
   For example, the verification operation in EMSA-PSS extracts the
   random salt and a hash output from the encoded message and checks
   whether the hash output, the salt, and the message are consistent;
   the hash output is a deterministic function in terms of the message
   and the salt.

コード化方法が決定論的であるなら(例えば、EMSA-PKCS1-v1_5)、検証操作は、操作をコード化するメッセージをメッセージに適用して、以前に派生しているコード化されたメッセージに結果として起こるコード化されたメッセージをたとえるかもしれません。 マッチがあれば、署名は有効であると考えられます。 方法がランダマイズされるなら(例えば、EMSA-PSS)、検証操作は通常複雑です。 例えば、EMSA-PSSでの検証操作は、コード化されたメッセージから無作為の塩と細切れ肉料理出力を抽出して、細切れ肉料理出力、塩、およびメッセージが一貫しているかどうかチェックします。 細切れ肉料理出力はメッセージと塩に関する決定論的な機能です。

   For both signature schemes with appendix defined in this document,
   the signature generation and signature verification operations are
   readily implemented as "single-pass" operations if the signature is
   placed after the message.  See PKCS #7 [45] for an example format in
   the case of RSASSA-PKCS1-v1_5.

付録が本書では定義されている両方の署名計画において、署名がメッセージの後に置かれるなら、署名世代と署名照合操作は「単一のパス」操作として容易に実行されます。 例の形式のためのRSASSA-PKCS1-v1_5の場合におけるPKCS#7[45]を見てください。

Jonsson & Kaliski            Informational                     [Page 28]

RFC 3447        PKCS #1: RSA Cryptography Specifications   February 2003

イェンソンとKaliskiの情報[28ページ]のRFC3447PKCS#1: RSA暗号仕様2003年2月

8.1 RSASSA-PSS

8.1 RSASSA-PSS

   RSASSA-PSS combines the RSASP1 and RSAVP1 primitives with the EMSA-
   PSS encoding method.  It is compatible with the IFSSA scheme as
   amended in the IEEE P1363a draft [27], where the signature and
   verification primitives are IFSP-RSA1 and IFVP-RSA1 as defined in
   IEEE Std 1363-2000 [26] and the message encoding method is EMSA4.
   EMSA4 is slightly more general than EMSA-PSS as it acts on bit
   strings rather than on octet strings.  EMSA-PSS is equivalent to
   EMSA4 restricted to the case that the operands as well as the hash
   and salt values are octet strings.

RSASSA-PSSはRSASP1とRSAVP1基関数を方法をコード化するEMSA- PSSに結合します。 それはIEEE P1363a草稿[27](署名と検証基関数は、IEEE Std1363-2000[26]で定義されるようにIFSP-RSA1とIFVP-RSA1です、そして、方法をコード化するメッセージはEMSA4である)で修正されるようにIFSSA計画と互換性があります。 八重奏ストリングに関してというよりむしろビット列に行動するとき、EMSA4はEMSA-PSSよりわずかに一般的です。 EMSA-PSSはケースに制限された細切れ肉料理と塩と同様にオペランドが八重奏ストリングであることを評価するEMSA4に同等です。

   The length of messages on which RSASSA-PSS can operate is either
   unrestricted or constrained by a very large number, depending on the
   hash function underlying the EMSA-PSS encoding method.

RSASSA-PSSが作動させることができるメッセージの長さは、無制限であり、非常に大きい数によって抑制されます、方法をコード化するEMSA-PSSの基礎となるハッシュ関数によって。

   Assuming that computing e-th roots modulo n is infeasible and the
   hash and mask generation functions in EMSA-PSS have appropriate
   properties, RSASSA-PSS provides secure signatures.  This assurance is
   provable in the sense that the difficulty of forging signatures can
   be directly related to the difficulty of inverting the RSA function,
   provided that the hash and mask generation functions are viewed as
   black boxes or random oracles.  The bounds in the security proof are
   essentially "tight", meaning that the success probability and running
   time for the best forger against RSASSA-PSS are very close to the
   corresponding parameters for the best RSA inversion algorithm; see
   [4][13][31] for further discussion.

そのコンピューティングを仮定する、電子、ルーツの法nは実行不可能です、そして、EMSA-PSSでの機能にはいる細切れ肉料理とマスク世代は特性を当てます、とRSASSA-PSSが安全な署名を第前提とします。 署名を鍛造するという困難が直接RSA機能を逆にするという困難に関連する場合があるというこの保証は意味で証明可能です、細切れ肉料理とマスク世代機能がブラックボックスか無作為の神託として見なされれば。 セキュリティ証拠における領域は本質的には「きついです」、RSASSA-PSSに対する最も良い捏造者のための成功確率と実行時間が最も良いRSA逆アルゴリズムのための対応するパラメタの非常に近くにあることを意味して。 さらなる議論のための[4][13][31]を見てください。

   In contrast to the RSASSA-PKCS1-v1_5 signature scheme, a hash
   function identifier is not embedded in the EMSA-PSS encoded message,
   so in theory it is possible for an adversary to substitute a
   different (and potentially weaker) hash function than the one
   selected by the signer.  Therefore, it is recommended that the EMSA-
   PSS mask generation function be based on the same hash function.  In
   this manner the entire encoded message will be dependent on the hash
   function and it will be difficult for an opponent to substitute a
   different hash function than the one intended by the signer.  This
   matching of hash functions is only for the purpose of preventing hash
   function substitution, and is not necessary if hash function
   substitution is addressed by other means (e.g., the verifier accepts
   only a designated hash function).  See [34] for further discussion of
   these points.  The provable security of RSASSA-PSS does not rely on
   the hash function in the mask generation function being the same as
   the hash function applied to the message.

RSASSA-PKCS1-v1_5署名計画と対照して埋め込まれなかったハッシュ関数識別子がEMSA-PSSでメッセージをコード化したので、理論上、敵が異なって(潜在的に署名者によって選択されたものより弱い)のハッシュ関数を代入するのは、可能です。 したがって、EMSA- PSSマスク世代機能が同じハッシュ関数に基づいているのは、お勧めです。 この様に、全体のコード化されたメッセージがハッシュ関数に依存するようになって、相手が異なったハッシュ関数を代入するのは、署名者で意図するものより難しいでしょう。 ハッシュ関数のこのマッチングは、ハッシュ関数代替を防ぐ目的のためだけにあって、ハッシュ関数代替が他の手段で記述されるなら、必要ではありません(例えば、検証は指定されたハッシュ関数だけを受け入れます)。 これらのポイントのさらなる議論のための[34]を見てください。 RSASSA-PSSの証明可能なセキュリティはメッセージに適用されたハッシュ関数と同じマスク世代機能におけるハッシュ関数を当てにしません。

   RSASSA-PSS is different from other RSA-based signature schemes in
   that it is probabilistic rather than deterministic, incorporating a
   randomly generated salt value.  The salt value enhances the security

RSASSA-PSSは他のRSAベースの署名計画と決定論的であるというよりむしろそれが確率的であるという点において異なっています、手当たりしだいに発生している塩の値を取り入れて。 塩の値はセキュリティを高めます。

Jonsson & Kaliski            Informational                     [Page 29]

RFC 3447        PKCS #1: RSA Cryptography Specifications   February 2003

イェンソンとKaliskiの情報[29ページ]のRFC3447PKCS#1: RSA暗号仕様2003年2月

   of the scheme by affording a "tighter" security proof than
   deterministic alternatives such as Full Domain Hashing (FDH); see [4]
   for discussion.  However, the randomness is not critical to security.
   In situations where random generation is not possible, a fixed value
   or a sequence number could be employed instead, with the resulting
   provable security similar to that of FDH [12].

「Full Domain Hashing(FDH)などの決定論的な代替手段よりきつい」セキュリティ証拠を提供するのによる計画について。 議論のための[4]を見てください。 しかしながら、偶発性はセキュリティに重要ではありません。 無作為の世代が可能でない状況で、代わりに一定の価値か一連番号を使うことができました、FDH[12]のものと同様の結果として起こる証明可能なセキュリティで。

8.1.1 Signature generation operation

8.1.1 署名世代操作

   RSASSA-PSS-SIGN (K, M)

RSASSA-PSS-サイン(K、M)

   Input:
   K        signer's RSA private key
   M        message to be signed, an octet string

以下を入力してください。 K署名者のRSA秘密鍵Mはサインされるために通信して、八重奏はストリングです。

   Output:
   S        signature, an octet string of length k, where k is the
            length in octets of the RSA modulus n

出力: S署名、長さkの八重奏ストリング。(そこでは、kがRSA係数nの八重奏で長さです)。

   Errors: "message too long;" "encoding error"

誤り: 「あまりに長い間、通信してください」。 「誤りをコード化します」

   Steps:

以下のステップ:

   1. EMSA-PSS encoding: Apply the EMSA-PSS encoding operation (Section
      9.1.1) to the message M to produce an encoded message EM of length
      \ceil ((modBits - 1)/8) octets such that the bit length of the
      integer OS2IP (EM) (see Section 4.2) is at most modBits - 1, where
      modBits is the length in bits of the RSA modulus n:

1. EMSA-PSSコード化: 整数OS2IP(EM)(セクション4.2を見る)の噛み付いている長さが高々modBitsであるように長さの\ceil(modBits--1)/8)八重奏のコード化されたメッセージEMを生産するメッセージMに操作(セクション9.1.1)をコード化するEMSA-PSSを適用してください--1、どこmodBitsはRSA係数nのビットの長さであるか:

         EM = EMSA-PSS-ENCODE (M, modBits - 1).

イエムがEMSA-PSS-エンコードと等しい、(M、modBits--1)。

      Note that the octet length of EM will be one less than k if
      modBits - 1 is divisible by 8 and equal to k otherwise.  If the
      encoding operation outputs "message too long," output "message too
      long" and stop.  If the encoding operation outputs "encoding
      error," output "encoding error" and stop.

EMの八重奏の長さがmodBitsであるならkよりそれほど1になることに注意してください--そうでなければ、1は、8で分割可能であってkと等しいです。 コード化作業であるなら、出力は、「あまりに長い間、通信してください」を出力されて、「あまりに長い間、通信し」て、止まります。 コード化作業が「誤りをコード化します」を出力するなら、「誤りをコード化します」を出力してください、そして、止まってください。

   2. RSA signature:

2. RSA署名:

      a. Convert the encoded message EM to an integer message
         representative m (see Section 4.2):

a。 整数メッセージ代表mにコード化されたメッセージEMを変換してください(セクション4.2を見てください):

            m = OS2IP (EM).

mはOS2IP(EM)と等しいです。

Jonsson & Kaliski            Informational                     [Page 30]

RFC 3447        PKCS #1: RSA Cryptography Specifications   February 2003

イェンソンとKaliskiの情報[30ページ]のRFC3447PKCS#1: RSA暗号仕様2003年2月

      b. Apply the RSASP1 signature primitive (Section 5.2.1) to the RSA
         private key K and the message representative m to produce an
         integer signature representative s:

b。 整数署名代表sを生産するRSA秘密鍵Kとメッセージ代表しているmに原始的に(セクション5.2.1)RSASP1署名を適用してください:

            s = RSASP1 (K, m).

sはRSASP1(K、m)と等しいです。

      c. Convert the signature representative s to a signature S of
         length k octets (see Section 4.1):

c。 長さのk八重奏(セクション4.1を見る)の署名Sに署名代表sを変換してください:

            S = I2OSP (s, k).

SはI2OSP(s、k)と等しいです。

   3. Output the signature S.

3. 署名Sを出力してください。

8.1.2 Signature verification operation

8.1.2 署名照合操作

   RSASSA-PSS-VERIFY ((n, e), M, S)

RSASSA-PSS確かめます。(n、e)、M、S)

   Input:
   (n, e)   signer's RSA public key
   M        message whose signature is to be verified, an octet string
   S        signature to be verified, an octet string of length k, where
            k is the length in octets of the RSA modulus n

以下を入力してください。 (n、e) 確かめられる署名がことである署名者のRSA公開鍵Mメッセージ、八重奏は確かめられるためにS署名を結びます、長さkの八重奏ストリング、kがRSA係数nの八重奏で長さであるところで

   Output:
   "valid signature" or "invalid signature"

出力: 「有効な署名」か「無効の署名」

   Steps:

以下のステップ:

   1. Length checking: If the length of the signature S is not k octets,
      output "invalid signature" and stop.

1. 長さの照合: 署名Sの長さがk八重奏でないなら、「無効の署名」を出力してください、そして、止まってください。

   2. RSA verification:

2. RSA検証:

      a. Convert the signature S to an integer signature representative
         s (see Section 4.2):

a。 整数署名代表s(セクション4.2を見る)に署名Sを変換してください:

            s = OS2IP (S).

sはOS2IP(S)と等しいです。

      b. Apply the RSAVP1 verification primitive (Section 5.2.2) to the
         RSA public key (n, e) and the signature representative s to
         produce an integer message representative m:

b。 RSAVP1の検証のRSAへの原始(セクション5.2.2)の公開鍵(n、e)と整数メッセージ代表mを生産する署名代表sを適用してください:

            m = RSAVP1 ((n, e), s).

mはRSAVP1(n、e)、s)と等しいです。

         If RSAVP1 output "signature representative out of range,"
         output "invalid signature" and stop.

RSAVP1が「範囲からの署名代表」を出力するなら、「無効の署名」を出力してください、そして、止まってください。

Jonsson & Kaliski            Informational                     [Page 31]

RFC 3447        PKCS #1: RSA Cryptography Specifications   February 2003

イェンソンとKaliskiの情報[31ページ]のRFC3447PKCS#1: RSA暗号仕様2003年2月

      c. Convert the message representative m to an encoded message EM
         of length emLen = \ceil ((modBits - 1)/8) octets, where modBits
         is the length in bits of the RSA modulus n (see Section 4.1):

c。 長さのemLenのEMが\ceil(modBits--1)/8)八重奏と等しいというコード化されたメッセージにメッセージ代表mを変換してください:(そこでは、modBitsがRSA係数nのビットの長さ(セクション4.1を見る)です)。

            EM = I2OSP (m, emLen).

EMはI2OSP(m、emLen)と等しいです。

         Note that emLen will be one less than k if modBits - 1 is
         divisible by 8 and equal to k otherwise.  If I2OSP outputs
         "integer too large," output "invalid signature" and stop.

emLenがmodBitsであるならkよりそれほど1歳になることに注意してください--そうでなければ、1は、8で分割可能であってkと等しいです。 I2OSP出力である、「整数、大き過ぎる、」、「無効の署名」を出力してください、そして、止まってください。

   3. EMSA-PSS verification: Apply the EMSA-PSS verification operation
      (Section 9.1.2) to the message M and the encoded message EM to
      determine whether they are consistent:

3. EMSA-PSS検証: EMSA-PSS検証操作(セクション9.1.2)をメッセージMと彼らが一貫しているかどうか決定するコード化されたメッセージEMに適用してください:

         Result = EMSA-PSS-VERIFY (M, EM, modBits - 1).

結果=がEMSA-PSS確かめる、(M、EM、modBits--1)。

   4. If Result = "consistent," output "valid signature." Otherwise,
      output "invalid signature."

4. Result=「一貫している」なら、「有効な署名」を出力してください。 さもなければ、「無効の署名」を出力してください。

8.2. RSASSA-PKCS1-v1_5

8.2. RSASSA-PKCS1-v1_5

   RSASSA-PKCS1-v1_5 combines the RSASP1 and RSAVP1 primitives with the
   EMSA-PKCS1-v1_5 encoding method.  It is compatible with the IFSSA
   scheme defined in IEEE Std 1363-2000 [26], where the signature and
   verification primitives are IFSP-RSA1 and IFVP-RSA1 and the message
   encoding method is EMSA-PKCS1-v1_5 (which is not defined in IEEE Std
   1363-2000, but is in the IEEE P1363a draft [27]).

RSASSA-PKCS1-v1_5は方法をコード化するEMSA-PKCS1-v1_5にRSASP1とRSAVP1基関数を結合します。 (IEEE Std1363-2000では定義されませんでしたが、IEEE P1363a草稿[27])中であることの。それはIEEE Std1363-2000[26]で定義されるIFSSA計画と互換性があります。((そこでは、署名と検証基関数は、IFSP-RSA1とIFVP-RSA1であり、方法をコード化するメッセージはEMSA-PKCS1-v1_5です))。

   The length of messages on which RSASSA-PKCS1-v1_5 can operate is
   either unrestricted or constrained by a very large number, depending
   on the hash function underlying the EMSA-PKCS1-v1_5 method.

RSASSA-PKCS1-v1_5が作動できるメッセージの長さは、無制限であり、非常に大きい数によって抑制されます、EMSA-PKCS1-v1_5方法の基礎となるハッシュ関数によって。

   Assuming that computing e-th roots modulo n is infeasible and the
   hash function in EMSA-PKCS1-v1_5 has appropriate properties, RSASSA-
   PKCS1-v1_5 is conjectured to provide secure signatures.  More
   precisely, forging signatures without knowing the RSA private key is
   conjectured to be computationally infeasible.  Also, in the encoding
   method EMSA-PKCS1-v1_5, a hash function identifier is embedded in the
   encoding.  Because of this feature, an adversary trying to find a
   message with the same signature as a previously signed message must
   find collisions of the particular hash function being used; attacking
   a different hash function than the one selected by the signer is not
   useful to the adversary.  See [34] for further discussion.

そのコンピューティングを仮定する、電子、ルーツの法nは実行不可能であり、EMSA-PKCS1-v1_5におけるハッシュ関数に、適切な特性があって、RSASSA- PKCS1-v1_5は、安全な署名を提供するために第推測されます。 より正確に、RSA秘密鍵を知らないで署名を鍛造するのは、計算上実行不可能になるように推測されます。 また、コード化方法EMSA-PKCS1-v1_5で、ハッシュ関数識別子はコード化に埋め込まれています。 この特徴のために、以前にサインされたメッセージと同じ署名でメッセージを見つけようとする敵は使用される特定のハッシュ関数の衝突を見つけなければなりません。 異なった細切れ肉料理を攻撃するのは署名者によって選択されたのが敵の役に立たないより機能します。 さらなる議論のための[34]を見てください。

   Note.  As noted in PKCS #1 v1.5, the EMSA-PKCS1-v1_5 encoding method
   has the property that the encoded message, converted to an integer
   message representative, is guaranteed to be large and at least
   somewhat "random".  This prevents attacks of the kind proposed by

注意します。 PKCS#1v1.5、方法をコード化すると持たれているEMSA-PKCS1-v1_5で整数メッセージ代表に変換されたコード化されたメッセージが保証される特性が大きく少なくともいくらか「無作為である」と述べるので。 これは提案された種類の攻撃を防ぎます。

Jonsson & Kaliski            Informational                     [Page 32]

RFC 3447        PKCS #1: RSA Cryptography Specifications   February 2003

イェンソンとKaliskiの情報[32ページ]のRFC3447PKCS#1: RSA暗号仕様2003年2月

   Desmedt and Odlyzko [16] where multiplicative relationships between
   message representatives are developed by factoring the message
   representatives into a set of small values (e.g., a set of small
   primes).  Coron, Naccache, and Stern [15] showed that a stronger form
   of this type of attack could be quite effective against some
   instances of the ISO/IEC 9796-2 signature scheme.  They also analyzed
   the complexity of this type of attack against the EMSA-PKCS1-v1_5
   encoding method and concluded that an attack would be impractical,
   requiring more operations than a collision search on the underlying
   hash function (i.e., more than 2^80 operations).  Coppersmith,
   Halevi, and Jutla [11] subsequently extended Coron et al.'s attack to
   break the ISO/IEC 9796-1 signature scheme with message recovery.  The
   various attacks illustrate the importance of carefully constructing
   the input to the RSA signature primitive, particularly in a signature
   scheme with message recovery.  Accordingly, the EMSA-PKCS-v1_5
   encoding method explicitly includes a hash operation and is not
   intended for signature schemes with message recovery.  Moreover,
   while no attack is known against the EMSA-PKCS-v1_5 encoding method,
   a gradual transition to EMSA-PSS is recommended as a precaution
   against future developments.

メッセージ代表の間の乗法的な関係がメッセージ代表を1セットの小さい値(例えば、1セットの小さい盛り)の要因として考慮することによって育まれるDesmedtとOdlyzko[16]。 Coron、Naccache、およびスターン[15]は、より強い形式のこのタイプの攻撃がISO/IEC9796-2署名計画のいくつかの例に対してかなり効果的であるかもしれないことを示しました。 彼らは、また、方法をコード化するEMSA-PKCS1-v1_5に対してこのタイプの攻撃の複雑さを分析して、攻撃が非実用的であると結論を下しました、基本的なハッシュ関数(すなわち、2つ以上の^80操作)で衝突検索より多くの操作を必要として。 銅細工師(ハレビ)とJutla[11]は次に、他のものがメッセージ回復に伴うISO/IEC9796-1署名計画を壊すために攻撃するCoronを広げました。 様々な攻撃は慎重にRSA署名に入力を原始的に構成する重要性を例証します、メッセージ回復に伴う特に署名計画で。 それに従って、明らかに方法をコード化するEMSA-PKCS-v1_5は、細切れ肉料理操作を含んで、メッセージ回復に伴う署名計画のために意図しません。 そのうえ、攻撃は全く方法をコード化するEMSA-PKCS-v1_5に対して知られていませんが、EMSA-PSSへのゆるやかな変遷は未来の発展に対する注意としてお勧めです。

8.2.1 Signature generation operation

8.2.1 署名世代操作

   RSASSA-PKCS1-V1_5-SIGN (K, M)

RSASSA-PKCS1-V1_5サイン(K、M)

   Input:
   K        signer's RSA private key
   M        message to be signed, an octet string

以下を入力してください。 K署名者のRSA秘密鍵Mはサインされるために通信して、八重奏はストリングです。

   Output:
   S        signature, an octet string of length k, where k is the
            length in octets of the RSA modulus n

出力: S署名、長さkの八重奏ストリング。(そこでは、kがRSA係数nの八重奏で長さです)。

   Errors: "message too long"; "RSA modulus too short"

誤り: 「あまりに長い間、通信してください」。 「RSA係数もショートします」

   Steps:

以下のステップ:

   1. EMSA-PKCS1-v1_5 encoding: Apply the EMSA-PKCS1-v1_5 encoding
      operation (Section 9.2) to the message M to produce an encoded
      message EM of length k octets:

1. EMSA-PKCS1-v1_5コード化: 長さのk八重奏のコード化されたメッセージEMを生産するメッセージMに操作(セクション9.2)をコード化するEMSA-PKCS1-v1_5を適用してください:

         EM = EMSA-PKCS1-V1_5-ENCODE (M, k).

イエムはEMSA-PKCS1-V1_5-ENCODE(M、k)と等しいです。

      If the encoding operation outputs "message too long," output
      "message too long" and stop.  If the encoding operation outputs
      "intended encoded message length too short," output "RSA modulus
      too short" and stop.

コード化作業であるなら、出力は、「あまりに長い間、通信してください」を出力されて、「あまりに長い間、通信し」て、止まります。 コード化作業であるなら、出力は、「あまりに急にコード化されたメッセージ長を意図し」て、「係数もショートするRSA」を出力して、止まります。

Jonsson & Kaliski            Informational                     [Page 33]

RFC 3447        PKCS #1: RSA Cryptography Specifications   February 2003

イェンソンとKaliskiの情報[33ページ]のRFC3447PKCS#1: RSA暗号仕様2003年2月

   2. RSA signature:

2. RSA署名:

      a. Convert the encoded message EM to an integer message
         representative m (see Section 4.2):

a。 整数メッセージ代表mにコード化されたメッセージEMを変換してください(セクション4.2を見てください):

            m = OS2IP (EM).

mはOS2IP(EM)と等しいです。

      b. Apply the RSASP1 signature primitive (Section 5.2.1) to the RSA
         private key K and the message representative m to produce an
         integer signature representative s:

b。 整数署名代表sを生産するRSA秘密鍵Kとメッセージ代表しているmに原始的に(セクション5.2.1)RSASP1署名を適用してください:

            s = RSASP1 (K, m).

sはRSASP1(K、m)と等しいです。

      c. Convert the signature representative s to a signature S of
         length k octets (see Section 4.1):

c。 長さのk八重奏(セクション4.1を見る)の署名Sに署名代表sを変換してください:

            S = I2OSP (s, k).

SはI2OSP(s、k)と等しいです。

   3. Output the signature S.

3. 署名Sを出力してください。

8.2.2 Signature verification operation

8.2.2 署名照合操作

   RSASSA-PKCS1-V1_5-VERIFY ((n, e), M, S)

RSASSA-PKCS1-V1_5、-、検証(n、e)、M、S)

   Input:
   (n, e)   signer's RSA public key
   M        message whose signature is to be verified, an octet string
   S        signature to be verified, an octet string of length k, where
            k is the length in octets of the RSA modulus n

以下を入力してください。 (n、e) 確かめられる署名がことである署名者のRSA公開鍵Mメッセージ、八重奏は確かめられるためにS署名を結びます、長さkの八重奏ストリング、kがRSA係数nの八重奏で長さであるところで

   Output:
   "valid signature" or "invalid signature"

出力: 「有効な署名」か「無効の署名」

   Errors: "message too long"; "RSA modulus too short"

誤り: 「あまりに長い間、通信してください」。 「RSA係数もショートします」

   Steps:

以下のステップ:

   1. Length checking: If the length of the signature S is not k octets,
      output "invalid signature" and stop.

1. 長さの照合: 署名Sの長さがk八重奏でないなら、「無効の署名」を出力してください、そして、止まってください。

   2. RSA verification:

2. RSA検証:

      a. Convert the signature S to an integer signature representative
         s (see Section 4.2):

a。 整数署名代表s(セクション4.2を見る)に署名Sを変換してください:

            s = OS2IP (S).

sはOS2IP(S)と等しいです。

Jonsson & Kaliski            Informational                     [Page 34]

RFC 3447        PKCS #1: RSA Cryptography Specifications   February 2003

イェンソンとKaliskiの情報[34ページ]のRFC3447PKCS#1: RSA暗号仕様2003年2月

      b. Apply the RSAVP1 verification primitive (Section 5.2.2) to the
         RSA public key (n, e) and the signature representative s to
         produce an integer message representative m:

b。 RSAVP1の検証のRSAへの原始(セクション5.2.2)の公開鍵(n、e)と整数メッセージ代表mを生産する署名代表sを適用してください:

            m = RSAVP1 ((n, e), s).

mはRSAVP1(n、e)、s)と等しいです。

         If RSAVP1 outputs "signature representative out of range,"
         output "invalid signature" and stop.

RSAVP1が「範囲からの署名代表」を出力するなら、「無効の署名」を出力してください、そして、止まってください。

      c. Convert the message representative m to an encoded message EM
         of length k octets (see Section 4.1):

c。 長さのk八重奏のコード化されたメッセージEMにメッセージ代表mを変換してください(セクション4.1を見てください):

            EM' = I2OSP (m, k).

'EM'はI2OSP(m、k)と等しいです。

         If I2OSP outputs "integer too large," output "invalid
         signature" and stop.

I2OSP出力である、「整数、大き過ぎる、」、「無効の署名」を出力してください、そして、止まってください。

   3. EMSA-PKCS1-v1_5 encoding: Apply the EMSA-PKCS1-v1_5 encoding
      operation (Section 9.2) to the message M to produce a second
      encoded message EM' of length k octets:

3. EMSA-PKCS1-v1_5コード化: 長さのk八重奏の'コード化された1秒間、メッセージEMを生産するメッセージMに操作(セクション9.2)をコード化するEMSA-PKCS1-v1_5を適用してください':

            EM' = EMSA-PKCS1-V1_5-ENCODE (M, k).

'イエム'はEMSA-PKCS1-V1_5-ENCODE(M、k)と等しいです。

      If the encoding operation outputs "message too long," output
      "message too long" and stop.  If the encoding operation outputs
      "intended encoded message length too short," output "RSA modulus
      too short" and stop.

コード化作業であるなら、出力は、「あまりに長い間、通信してください」を出力されて、「あまりに長い間、通信し」て、止まります。 コード化作業であるなら、出力は、「あまりに急にコード化されたメッセージ長を意図し」て、「係数もショートするRSA」を出力して、止まります。

   4. Compare the encoded message EM and the second encoded message EM'.
      If they are the same, output "valid signature"; otherwise, output
      "invalid signature."

4. 'コード化されたメッセージEMと2番目のコード化されたメッセージEMを比較してください'。 それらが同じであるなら、「有効な署名」を出力してください。 さもなければ、「無効の署名」を出力してください。

   Note.  Another way to implement the signature verification operation
   is to apply a "decoding" operation (not specified in this document)
   to the encoded message to recover the underlying hash value, and then
   to compare it to a newly computed hash value.  This has the advantage
   that it requires less intermediate storage (two hash values rather
   than two encoded messages), but the disadvantage that it requires
   additional code.

注意します。 署名照合操作を実行する別の方法は基本的なハッシュ値を回復して、そして、新たに計算されたハッシュ値とそれを比較するコード化されたメッセージに「解読」操作(本書では指定されない)を適用することです。 これには、利点があります。追加コードを必要とするのが、より少ない中間的格納(2よりむしろ2つのハッシュ値がメッセージをコード化した)を必要として、不都合を必要とします。

9. Encoding methods for signatures with appendix

9. 付録による署名のための方法をコード化します。

   Encoding methods consist of operations that map between octet string
   messages and octet string encoded messages, which are converted to
   and from integer message representatives in the schemes.  The integer
   message representatives are processed via the primitives.  The
   encoding methods thus provide the connection between the schemes,
   which process messages, and the primitives.

コード化方法は八重奏ストリングメッセージと八重奏ストリングの間で代表と計画における整数メッセージ代表から変換されるコード化されたメッセージを写像する操作から成ります。 整数メッセージ代表は基関数で処理されます。 その結果、コード化方法はメッセージを処理する計画と基関数との関係を提供します。

Jonsson & Kaliski            Informational                     [Page 35]

RFC 3447        PKCS #1: RSA Cryptography Specifications   February 2003

イェンソンとKaliskiの情報[35ページ]のRFC3447PKCS#1: RSA暗号仕様2003年2月

   An encoding method for signatures with appendix, for the purposes of
   this document, consists of an encoding operation and optionally a
   verification operation.  An encoding operation maps a message M to an
   encoded message EM of a specified length.  A verification operation
   determines whether a message M and an encoded message EM are
   consistent, i.e., whether the encoded message EM is a valid encoding
   of the message M.

付録による署名、このドキュメントの目的のためのコード化方法はコード化作業から任意に成ります。検証操作。 コード化作業は指定された長さのコード化されたメッセージEMにメッセージMを写像します。 検証操作は、メッセージMとコード化されたメッセージEMが一貫しているかどうか決定します、すなわち、コード化されたメッセージEMがメッセージMの有効なコード化であるか否かに関係なく。

   The encoding operation may introduce some randomness, so that
   different applications of the encoding operation to the same message
   will produce different encoded messages, which has benefits for
   provable security.  For such an encoding method, both an encoding and
   a verification operation are needed unless the verifier can reproduce
   the randomness (e.g., by obtaining the salt value from the signer).
   For a deterministic encoding method only an encoding operation is
   needed.

コード化作業は何らかの偶発性を導入するかもしれません、同じメッセージへのコード化作業の異なった応用が異なったコード化されたメッセージを出すように(証明可能なセキュリティのための利益があります)。 そのようなコード化方法において、検証が偶発性(例えば、署名者から塩の値を得るのによる)を再生させることができないなら、コード化と検証操作の両方が必要です。 決定論的なコード化方法だけにおいて、コード化作業が必要です。

   Two encoding methods for signatures with appendix are employed in the
   signature schemes and are specified here: EMSA-PSS and EMSA-PKCS1-
   v1_5.

付録による署名のための方法をコード化する2が、署名計画で使われて、ここで指定されます: EMSA-PSSとEMSA-PKCS1- v1_5。

9.1 EMSA-PSS

9.1 EMSA-PSS

   This encoding method is parameterized by the choice of hash function,
   mask generation function, and salt length.  These options should be
   fixed for a given RSA key, except that the salt length can be
   variable (see [31] for discussion).  Suggested hash and mask
   generation functions are given in Appendix B.  The encoding method is
   based on Bellare and Rogaway's Probabilistic Signature Scheme (PSS)
   [4][5].  It is randomized and has an encoding operation and a
   verification operation.

このコード化方法はハッシュ関数、マスク世代機能、および塩の長さの選択でparameterizedされます。 これらのオプションは与えられたRSAキーのために修理されるべきです、塩の長さが可変である場合があるのを除いて(議論のための[31]を見てください)。 Appendix B.で提案された細切れ肉料理とマスク世代機能を与えます。コード化方法をBellareとRogawayのProbabilistic Signature Scheme(PSS)[4][5]に基礎づけます。 それは、ランダマイズされて、コード化作業と検証操作を持っています。

Jonsson & Kaliski            Informational                     [Page 36]

RFC 3447        PKCS #1: RSA Cryptography Specifications   February 2003

イェンソンとKaliskiの情報[36ページ]のRFC3447PKCS#1: RSA暗号仕様2003年2月

   Figure 2 illustrates the encoding operation.

図2はコード化作業を例証します。

   __________________________________________________________________

__________________________________________________________________

                                  +-----------+
                                  |     M     |
                                  +-----------+
                                        |
                                        V
                                      Hash
                                        |
                                        V
                          +--------+----------+----------+
                     M' = |Padding1|  mHash   |   salt   |
                          +--------+----------+----------+
                                         |
               +--------+----------+     V
         DB =  |Padding2|maskedseed|   Hash
               +--------+----------+     |
                         |               |
                         V               |    +--+
                        xor <--- MGF <---|    |bc|
                         |               |    +--+
                         |               |      |
                         V               V      V
               +-------------------+----------+--+
         EM =  |    maskedDB       |maskedseed|bc|
               +-------------------+----------+--+
   __________________________________________________________________

+-----------+ | M| +-----------+ | V細切れ肉料理| +に対して--------+----------+----------'+M'=|Padding1| mHash| 塩| +--------+----------+----------+ | +--------+----------+ V DB=|Padding2|maskedseedしました。| 細切れ肉料理+--------+----------+ | | | V| +--+ xor<。--- MGF<。---| |bc| | | +--+ | | | +に対するV V-------------------+----------+--+ イエム=| maskedDB|maskedseedしました。|bc| +-------------------+----------+--+ __________________________________________________________________

   Figure 2: EMSA-PSS encoding operation.  Verification operation
   follows reverse steps to recover salt, then forward steps to
   recompute and compare H.

図2: 操作をコード化するEMSA-PSS。 検証操作は、塩を回復して、次に、ステップをrecomputeに送って、Hを比較するために逆の方法に従います。

   Notes.

注意。

   1. The encoding method defined here differs from the one in Bellare
      and Rogaway's submission to IEEE P1363a [5] in three respects:

1. ここで定義されたコード化方法はIEEE P1363a[5]へのBellareとRogawayの服従においてものと3つの点で異なっています:

      *  It applies a hash function rather than a mask generation
         function to the message.  Even though the mask generation
         function is based on a hash function, it seems more natural to
         apply a hash function directly.

* それはマスク世代機能よりむしろハッシュ関数をメッセージに適用します。 マスク世代機能はハッシュ関数に基づいていますが、直接ハッシュ関数を適用するのは、より自然に思えます。

      *  The value that is hashed together with the salt value is the
         string (0x)00 00 00 00 00 00 00 00 || mHash rather than the
         message M itself.  Here, mHash is the hash of M.  Note that the

* 塩の値と共に論じ尽くされる値はストリング(0x)00 00 00 00 00 00 00 00です。|| メッセージM自体よりむしろmHash。 mHashがここの、M.Noteの細切れ肉料理である、それ

Jonsson & Kaliski            Informational                     [Page 37]

RFC 3447        PKCS #1: RSA Cryptography Specifications   February 2003

イェンソンとKaliskiの情報[37ページ]のRFC3447PKCS#1: RSA暗号仕様2003年2月

         hash function is the same in both steps.  See Note 3 below for
         further discussion.  (Also, the name "salt" is used instead of
         "seed", as it is more reflective of the value's role.)

ハッシュ関数は両方のステップで同じです。 さらなる議論に関して以下のNote3を見てください。 (また、値の役割でそれが、より反射的であるので、名前「塩」は「種子」の代わりに使用されます。)

      *  The encoded message in EMSA-PSS has nine fixed bits; the first
         bit is 0 and the last eight bits form a "trailer field", the
         octet 0xbc.  In the original scheme, only the first bit is
         fixed.  The rationale for the trailer field is for
         compatibility with the Rabin-Williams IFSP-RW signature
         primitive in IEEE Std 1363-2000 [26] and the corresponding
         primitive in the draft ISO/IEC 9796-2 [29].

* EMSA-PSSのコード化されたメッセージで、9にビットを固定しています。 最初のビットは0です、そして、ベストエイトビットは「トレーラ分野」、八重奏0xbcを形成します。 オリジナルの計画では、最初のビットだけが固定されています。 トレーラ分野への原理はIEEE Std1363-2000[26]の原始のラビンウィリアムズIFSP-RW署名と草稿ISO/IEC9796-2[29]の原始の対応との互換性のためのものです。

   2. Assuming that the mask generation function is based on a hash
      function, it is recommended that the hash function be the same as
      the one that is applied to the message; see Section 8.1 for
      further discussion.

2. マスク世代機能がハッシュ関数に基づいていると仮定して、ハッシュ関数がメッセージに適用されるものと同じであることは、お勧めです。 さらなる議論に関してセクション8.1を見てください。

   3. Without compromising the security proof for RSASSA-PSS, one may
      perform steps 1 and 2 of EMSA-PSS-ENCODE and EMSA-PSS-VERIFY (the
      application of the hash function to the message) outside the
      module that computes the rest of the signature operation, so that
      mHash rather than the message M itself is input to the module.  In
      other words, the security proof for RSASSA-PSS still holds even if
      an opponent can control the value of mHash.  This is convenient if
      the module has limited I/O bandwidth, e.g., a smart card.  Note
      that previous versions of PSS [4][5] did not have this property.
      Of course, it may be desirable for other security reasons to have
      the module process the full message.  For instance, the module may
      need to "see" what it is signing if it does not trust the
      component that computes the hash value.

3. RSASSA-PSSのためにセキュリティ証拠で妥協しないで、署名操作の残りを計算するモジュールの外でEMSA-PSS-ENCODEとEMSA-PSS-VERIFY(メッセージへのハッシュ関数の適用)のステップ1と2を実行するかもしれません、メッセージM自体よりむしろmHashがモジュールに入力されるように。 言い換えれば、相手がmHashの値を制御できても、RSASSA-PSSのためのセキュリティ証拠はまだ成立しています。 モジュールがI/O帯域幅、例えばスマートカードを制限したなら、これは便利です。 PSS[4][5]の旧バージョンにはこの特性がなかったことに注意してください。 もちろん、それはモジュールに完全なメッセージを処理させる他のセキュリティ理由で望ましいかもしれません。 例えば、ハッシュ値を計算するコンポーネントを信じないなら、モジュールは、それが何にサインしているかを「見る」必要があるかもしれません。

   4. Typical salt lengths in octets are hLen (the length of the output
      of the hash function Hash) and 0.  In both cases the security of
      RSASSA-PSS can be closely related to the hardness of inverting
      RSAVP1.  Bellare and Rogaway [4] give a tight lower bound for the
      security of the original RSA-PSS scheme, which corresponds roughly
      to the former case, while Coron [12] gives a lower bound for the
      related Full Domain Hashing scheme, which corresponds roughly to
      the latter case.  In [13] Coron provides a general treatment with
      various salt lengths ranging from 0 to hLen; see [27] for
      discussion.  See also [31], which adapts the security proofs in
      [4][13] to address the differences between the original and the
      present version of RSA-PSS as listed in Note 1 above.

4. 八重奏における典型的な塩の長さは、hLen(ハッシュ関数Hashの出力の長さ)と0です。 どちらの場合も、RSASSA-PSSのセキュリティは密接にRSAVP1を逆にする硬度に関連する場合があります。 BellareとRogaway[4]はオリジナルのRSA-PSS計画のセキュリティのためのきつい下界を与えます、Coron[12]は関連するFull Domain Hashing計画のための下界を与えますが。計画はおよそ前のケースに対応します。それは、およそ後者のケースに対応します。 [13]では、Coronは0〜hLenまで及ぶ様々な塩の長さを一般的な処理に提供します。 議論のための[27]を見てください。 また、[31]を見てください。([31]は、上のNote1に記載されているようにRSA-PSSのオリジナルのバージョンと現在のバージョンの違いを記述するために[4][13]でセキュリティ証拠を適合させます)。

   5. As noted in IEEE P1363a [27], the use of randomization in
      signature schemes - such as the salt value in EMSA-PSS - may
      provide a "covert channel" for transmitting information other than
      the message being signed.  For more on covert channels, see [50].

5. IEEE P1363a[27]に述べられるように、EMSA-PSSの塩の値などの署名計画における無作為化の使用はサインされるメッセージ以外の情報を伝えるための「ひそかなチャンネル」を提供するかもしれません。 ひそかなチャンネルの上の以上に関しては、[50]を見てください。

Jonsson & Kaliski            Informational                     [Page 38]

RFC 3447        PKCS #1: RSA Cryptography Specifications   February 2003

イェンソンとKaliskiの情報[38ページ]のRFC3447PKCS#1: RSA暗号仕様2003年2月

9.1.1 Encoding operation

9.1.1 操作をコード化すること。

   EMSA-PSS-ENCODE (M, emBits)

EMSA-PSS-エンコード(M、emBits)

   Options:

オプション:

   Hash     hash function (hLen denotes the length in octets of the hash
            function output)
   MGF      mask generation function
   sLen     intended length in octets of the salt

細切れ肉料理ハッシュ関数(hLenはハッシュ関数出力の八重奏における長さを指示します)MGFマスク世代機能sLenは塩の八重奏における長さを意図しました。

   Input:
   M        message to be encoded, an octet string
   emBits   maximal bit length of the integer OS2IP (EM) (see Section
            4.2), at least 8hLen + 8sLen + 9

以下を入力してください。 Mはコード化されるために通信します、整数OS2IP(EM)の八重奏のストリングemBits最大限度の噛み付いている長さ(セクション4.2を見る)、少なくとも8hLen+8sLen+9

   Output:
   EM       encoded message, an octet string of length emLen = \ceil
            (emBits/8)

出力: EMはメッセージ、長さemLen=\ceilの八重奏ストリングをコード化しました。(emBits/8)

   Errors:  "encoding error"; "message too long"

誤り: 「誤りをコード化します」。 「あまりに長い間、通信してください」

   Steps:

以下のステップ:

   1.  If the length of M is greater than the input limitation for the
       hash function (2^61 - 1 octets for SHA-1), output "message too
       long" and stop.

1. Mの長さがハッシュ関数(2^61--SHA-1のための1八重奏)のための入力制限より大きいなら、「あまりに長い間、通信してください」、出力されて、止まってください。

   2.  Let mHash = Hash(M), an octet string of length hLen.

2. mHashに細切れ肉料理(M)、長さのhLenの八重奏ストリングと等しくしいさせてください。

   3.  If emLen < hLen + sLen + 2, output "encoding error" and stop.

3. emLen<hLen+sLen+2であるなら、「誤りをコード化します」を出力してください、そして、止まってください。

   4.  Generate a random octet string salt of length sLen; if sLen = 0,
       then salt is the empty string.

4. 長さのsLenの無作為の八重奏ストリング塩を発生させてください。 sLen=0であるなら、塩は空のストリングです。

   5.  Let
         M' = (0x)00 00 00 00 00 00 00 00 || mHash || salt;

5. 'Mをさせてください'は(0x)00 00 00 00 00 00 00 00と等しいです。|| mHash|| 塩。

       M' is an octet string of length 8 + hLen + sLen with eight
       initial zero octets.

'M'による8が初期であることの長さの8+hLen+sLenの八重奏ストリングが八重奏のゼロに合っているということです。

   6.  Let H = Hash(M'), an octet string of length hLen.

6. 'Hを細切れ肉料理(M')、長さのhLenの八重奏ストリングとの等しさにしてください。

   7.  Generate an octet string PS consisting of emLen - sLen - hLen - 2
       zero octets.  The length of PS may be 0.

7. emLenの八重奏ストリングPSの成ることを発生させてください--sLen--hLen--2は八重奏のゼロに合っています。 PSの長さは0であるかもしれません。

   8.  Let DB = PS || 0x01 || salt; DB is an octet string of length
       emLen - hLen - 1.

8. DBにPSと等しくしいさせてください。|| 0×01|| 塩。 dBは長さのemLen--hLen--1の八重奏ストリングです。

Jonsson & Kaliski            Informational                     [Page 39]

RFC 3447        PKCS #1: RSA Cryptography Specifications   February 2003

イェンソンとKaliskiの情報[39ページ]のRFC3447PKCS#1: RSA暗号仕様2003年2月

   9.  Let dbMask = MGF(H, emLen - hLen - 1).

9. dbMaskにMGF(H、emLen--hLen--1)と等しくしいさせてください。

   10. Let maskedDB = DB \xor dbMask.

10. maskedDBにDB\xor dbMaskと等しくしいさせてください。

   11. Set the leftmost 8emLen - emBits bits of the leftmost octet in
       maskedDB to zero.

11. 一番左8emLenを設定してください--ゼロへのmaskedDBの一番左八重奏のemBitsビット。

   12. Let EM = maskedDB || H || 0xbc.

12. EMにmaskedDBと等しくしいさせてください。|| H|| 0xbc。

   13. Output EM.

13. EMを出力してください。

9.1.2 Verification operation

9.1.2 検証操作

   EMSA-PSS-VERIFY (M, EM, emBits)

EMSA-PSS確かめます。(M、EM、emBits)

   Options:
   Hash     hash function (hLen denotes the length in octets of the hash
            function output)
   MGF      mask generation function
   sLen     intended length in octets of the salt

オプション: 細切れ肉料理ハッシュ関数(hLenはハッシュ関数出力の八重奏における長さを指示します)MGFマスク世代機能sLenは塩の八重奏における長さを意図しました。

   Input:
   M        message to be verified, an octet string
   EM       encoded message, an octet string of length emLen = \ceil
            (emBits/8)
   emBits   maximal bit length of the integer OS2IP (EM) (see Section
            4.2), at least 8hLen + 8sLen + 9

以下を入力してください。 + 確かめられるべきMメッセージ、八重奏ストリングEMはメッセージをコード化して、長さのemLenの八重奏ストリングは整数OS2IP(EM)の\ceil(emBits/8)emBits最大限度のビットの長さと等しく(セクション4.2を見てください)、少なくとも8hLen+8sLenは9歳です。

   Output:
   "consistent" or "inconsistent"

出力: 「一貫する」か「矛盾しています」。

   Steps:

以下のステップ:

   1.  If the length of M is greater than the input limitation for the
       hash function (2^61 - 1 octets for SHA-1), output "inconsistent"
       and stop.

1. Mの長さは「矛盾していた」状態で出力されたハッシュ関数(2^61--SHA-1のための1八重奏)のための入力制限より大きいかどうか、そして、停止。

   2.  Let mHash = Hash(M), an octet string of length hLen.

2. mHashに細切れ肉料理(M)、長さのhLenの八重奏ストリングと等しくしいさせてください。

   3.  If emLen < hLen + sLen + 2, output "inconsistent" and stop.

3. 「矛盾していた」状態で出力されたemLen<hLen+sLen+2と停止であるなら。

   4.  If the rightmost octet of EM does not have hexadecimal value
       0xbc, output "inconsistent" and stop.

4. EMの一番右の八重奏が「矛盾していた」状態で出力された16進価値の0xbcを持って、止まらないなら。

   5.  Let maskedDB be the leftmost emLen - hLen - 1 octets of EM, and
       let H be the next hLen octets.

5. 一番左emLen--hLen--maskedDBがEMの1八重奏であることをさせてください、そして、Hが次のhLen八重奏であることをさせてください。

Jonsson & Kaliski            Informational                     [Page 40]

RFC 3447        PKCS #1: RSA Cryptography Specifications   February 2003

イェンソンとKaliskiの情報[40ページ]のRFC3447PKCS#1: RSA暗号仕様2003年2月

   6.  If the leftmost 8emLen - emBits bits of the leftmost octet in
       maskedDB are not all equal to zero, output "inconsistent" and
       stop.

6. --一番左8emLenであるならmaskedDBの一番左八重奏のemBitsビットは、「矛盾していた」状態で出力されたゼロとすべて等しくなく、止まります。

   7.  Let dbMask = MGF(H, emLen - hLen - 1).

7. dbMaskにMGF(H、emLen--hLen--1)と等しくしいさせてください。

   8.  Let DB = maskedDB \xor dbMask.

8. DBにmaskedDB\xor dbMaskと等しくしいさせてください。

   9.  Set the leftmost 8emLen - emBits bits of the leftmost octet in DB
       to zero.

9. 一番左8emLenを設定してください--ゼロへのDBの一番左八重奏のemBitsビット。

   10. If the emLen - hLen - sLen - 2 leftmost octets of DB are not zero
       or if the octet at position emLen - hLen - sLen - 1 (the leftmost
       position is "position 1") does not have hexadecimal value 0x01,
       output "inconsistent" and stop.

10. または、emLenである、--、hLen--sLen--DBの2つの一番左八重奏がゼロでない位置のemLen--hLen--sLenの八重奏であるなら--1、(一番左位置がそうである、「位置の1インチ)、16進に「矛盾していた」状態で出力された0×01を評価させて、止まらない、」

   11.  Let salt be the last sLen octets of DB.

11. 塩がDBの最後のsLen八重奏であることをさせてください。

   12.  Let
            M' = (0x)00 00 00 00 00 00 00 00 || mHash || salt ;

12. 'Mをさせてください'は(0x)00 00 00 00 00 00 00 00と等しいです。|| mHash|| 塩。

       M' is an octet string of length 8 + hLen + sLen with eight
       initial zero octets.

'M'による8が初期であることの長さの8+hLen+sLenの八重奏ストリングが八重奏のゼロに合っているということです。

   13. Let H' = Hash(M'), an octet string of length hLen.

13. 'Hをさせてください'は細切れ肉料理(M')、長さのhLenの八重奏ストリングと等しいです。

   14. If H = H', output "consistent." Otherwise, output "inconsistent."

14. 'Hが「一貫していた」状態で出力されたH'と等しいなら。 そうでなく、出力「矛盾しています」。

9.2 EMSA-PKCS1-v1_5

9.2 EMSA-PKCS1-v1_5

   This encoding method is deterministic and only has an encoding
   operation.

このコード化方法は、決定論的であり、コード化作業を持っているだけです。

   EMSA-PKCS1-v1_5-ENCODE (M, emLen)

EMSA-PKCS1-v1_5エンコード(M、emLen)

   Option:
   Hash     hash function (hLen denotes the length in octets of the hash
            function output)

オプション: 細切れ肉料理ハッシュ関数(hLenはハッシュ関数出力の八重奏における長さを指示します)

   Input:
   M        message to be encoded
   emLen    intended length in octets of the encoded message, at least
            tLen + 11, where tLen is the octet length of the DER
            encoding T of a certain value computed during the encoding
            operation

以下を入力してください。 Mは、+ コード化されたemLenがコード化されたメッセージの八重奏における長さを意図して、少なくともtLenが11歳であるということになるようにtLenがコード化作業の間に計算されたある値のTをコード化するDERの八重奏の長さであるところで通信します。

Jonsson & Kaliski            Informational                     [Page 41]

RFC 3447        PKCS #1: RSA Cryptography Specifications   February 2003

イェンソンとKaliskiの情報[41ページ]のRFC3447PKCS#1: RSA暗号仕様2003年2月

   Output:
   EM       encoded message, an octet string of length emLen

出力: EMはメッセージ、長さのemLenの八重奏ストリングをコード化しました。

   Errors:
   "message too long"; "intended encoded message length too short"

誤り: 「あまりに長い間、通信してください」。 「コード化されていた状態で意図して、長さをあまりに簡潔に通信させてください」

   Steps:

以下のステップ:

   1. Apply the hash function to the message M to produce a hash value
      H:

1. ハッシュ値Hを生産するメッセージMにハッシュ関数を適用してください:

         H = Hash(M).

Hは細切れ肉料理(M)と等しいです。

      If the hash function outputs "message too long," output "message
      too long" and stop.

ハッシュ関数出力が「あまりに長い間、通信する」なら、「あまりに長い間、通信してください」、出力されて、止まってください。

   2. Encode the algorithm ID for the hash function and the hash value
      into an ASN.1 value of type DigestInfo (see Appendix A.2.4) with
      the Distinguished Encoding Rules (DER), where the type DigestInfo
      has the syntax

2. ハッシュ関数とハッシュ値のためにDistinguished Encoding Rules(DER)と共にタイプDigestInfo(Appendix A.2.4を見る)のASN.1値にアルゴリズムIDをコード化してください。そこでは、タイプDigestInfoが構文を持っています。

      DigestInfo ::= SEQUENCE {
          digestAlgorithm AlgorithmIdentifier,
          digest OCTET STRING
      }

DigestInfo:、:= 系列digestAlgorithm AlgorithmIdentifier、ダイジェストOCTET STRING

      The first field identifies the hash function and the second
      contains the hash value.  Let T be the DER encoding of the
      DigestInfo value (see the notes below) and let tLen be the length
      in octets of T.

最初の分野はハッシュ関数を特定します、そして、2番目はハッシュ値を含んでいます。 TがDigestInfo価値のDERコード化であることをさせてください、そして、(以下での注意を見てください)tLenがTの八重奏で長さであることをさせてください。

   3. If emLen < tLen + 11, output "intended encoded message length too
      short" and stop.

3. emLen<tLen+11、出力が「あまりに急にコード化されたメッセージ長を意図し」て、止まるなら。

   4. Generate an octet string PS consisting of emLen - tLen - 3 octets
      with hexadecimal value 0xff.  The length of PS will be at least 8
      octets.

4. emLen--tLen--16進価値の0xffとの3つの八重奏の八重奏ストリングPSの成ることを発生させてください。 PSの長さは少なくとも8つの八重奏になるでしょう。

   5. Concatenate PS, the DER encoding T, and other padding to form the
      encoded message EM as

5. PS、Tをコード化するDER、およびコード化がEMを通信させるフォームにそっと歩くもう一方を連結してください。

         EM = 0x00 || 0x01 || PS || 0x00 || T.

EM=0x00|| 0×01|| PS|| 0×00|| T。

   6. Output EM.

6. EMを出力してください。

Jonsson & Kaliski            Informational                     [Page 42]

RFC 3447        PKCS #1: RSA Cryptography Specifications   February 2003

イェンソンとKaliskiの情報[42ページ]のRFC3447PKCS#1: RSA暗号仕様2003年2月

   Notes.

注意。

   1. For the six hash functions mentioned in Appendix B.1, the DER
      encoding T of the DigestInfo value is equal to the following:

1. Appendix B.1で言及された6つのハッシュ関数において、DigestInfo価値のTをコード化するDERは以下と等しいです:

      MD2:     (0x)30 20 30 0c 06 08 2a 86 48 86 f7 0d 02 02 05 00 04
                   10 || H.
      MD5:     (0x)30 20 30 0c 06 08 2a 86 48 86 f7 0d 02 05 05 00 04
                   10 || H.
      SHA-1:   (0x)30 21 30 09 06 05 2b 0e 03 02 1a 05 00 04 14 || H.
      SHA-256: (0x)30 31 30 0d 06 09 60 86 48 01 65 03 04 02 01 05 00
                   04 20 || H.
      SHA-384: (0x)30 41 30 0d 06 09 60 86 48 01 65 03 04 02 02 05 00
                   04 30 || H.
      SHA-512: (0x)30 51 30 0d 06 09 60 86 48 01 65 03 04 02 03 05 00
                      04 40 || H.

MD2: (0x)30 20 30 0c06 08 2a86 48 86f7 0d02 02 05 00 04 10|| H。 MD5: (0x)30 20 30 0c06 08 2a86 48 86f7 0d02 05 05 00 04 10|| H。 SHA-1: (0x)30 21 30 09 06 05 2b 0e03 02 1a05 00 04 14|| H。 SHA-256: (0x)30 31 30 0d06 09 60 86 48 01 65 03 04 02 01 05 00 04 20|| H。 SHA-384: (0x)30 41 30 0d06 09 60 86 48 01 65 03 04 02 02 05 00 04 30|| H。 SHA-512: (0x)30 51 30 0d06 09 60 86 48 01 65 03 04 02 03 05 00 04 40|| H。

   2. In version 1.5 of this document, T was defined as the BER
      encoding, rather than the DER encoding, of the DigestInfo value.
      In particular, it is possible - at least in theory - that the
      verification operation defined in this document (as well as in
      version 2.0) rejects a signature that is valid with respect to the
      specification given in PKCS #1 v1.5.  This occurs if other rules
      than DER are applied to DigestInfo (e.g., an indefinite length
      encoding of the underlying SEQUENCE type).  While this is unlikely
      to be a concern in practice, a cautious implementer may choose to
      employ a verification operation based on a BER decoding operation
      as specified in PKCS #1 v1.5.  In this manner, compatibility with
      any valid implementation based on PKCS #1 v1.5 is obtained.  Such
      a verification operation should indicate whether the underlying
      BER encoding is a DER encoding and hence whether the signature is
      valid with respect to the specification given in this document.

2. このドキュメントのバージョン1.5では、TはDigestInfo価値のDERコード化よりむしろBERコード化と定義されました。 それは少なくとも理論上特に、可能です--本書では(バージョン2.0と同じくらいよく)定義された検証操作はPKCS#1v1.5で与えられた仕様に関して有効な署名を拒絶します。 DER以外の規則がDigestInfo(例えば基本的なSEQUENCEタイプにコード化される無期長さ)に適用されるなら、これは起こります。 これが実際には関心でありそうにない間、用心深いimplementerは、PKCS#1v1.5での指定されるとしての操作を解読するBERに基づく検証操作を使うのを選ぶかもしれません。 この様に、PKCS#1v1.5に基づくどんな有効な実現との互換性も得ます。 そのような検証操作は基本的なBERコード化がDERコード化であるかどうかと、したがって、署名が本書では与えられた仕様に関して有効であるかどうかを示すべきです。

Jonsson & Kaliski            Informational                     [Page 43]

RFC 3447        PKCS #1: RSA Cryptography Specifications   February 2003

イェンソンとKaliskiの情報[43ページ]のRFC3447PKCS#1: RSA暗号仕様2003年2月

Appendix A. ASN.1 syntax

付録A. ASN.1構文

A.1 RSA key representation

A.1 RSAの主要な表現

   This section defines ASN.1 object identifiers for RSA public and
   private keys, and defines the types RSAPublicKey and RSAPrivateKey.
   The intended application of these definitions includes X.509
   certificates, PKCS #8 [46], and PKCS #12 [47].

このセクションは、RSA公衆と秘密鍵のためのASN.1物の識別子を定義して、タイプのRSAPublicKeyとRSAPrivateKeyを定義します。 これらの定義の意図している応用はX.509証明書、PKCS#8[46]、およびPKCS#12[47]を含んでいます。

   The object identifier rsaEncryption identifies RSA public and private
   keys as defined in Appendices A.1.1 and A.1.2.  The parameters field
   associated with this OID in a value of type AlgorithmIdentifier shall
   have a value of type NULL.

物の識別子rsaEncryptionはAppendices A.1.1とA.1.2で定義されるようにRSA公衆と秘密鍵を特定します。 タイプAlgorithmIdentifierの値でこのOIDに関連しているパラメタ分野には、タイプNULLの値があるものとします。

   rsaEncryption    OBJECT IDENTIFIER ::= { pkcs-1 1 }

rsaEncryption物の識別子:、:= pkcs-1 1

   The definitions in this section have been extended to support multi-
   prime RSA, but are backward compatible with previous versions.

このセクションとの定義は、サポートのマルチ主要なRSAに広げられましたが、旧バージョンと互換性があった状態で後方です。

A.1.1 RSA public key syntax

A.1.1 RSA公開鍵構文

   An RSA public key should be represented with the ASN.1 type
   RSAPublicKey:

RSA公開鍵はASN.1タイプRSAPublicKeyと共に表されるべきです:

      RSAPublicKey ::= SEQUENCE {
          modulus           INTEGER,  -- n
          publicExponent    INTEGER   -- e
      }

RSAPublicKey:、:= 系列係数INTEGER--n publicExponent INTEGER--e

   The fields of type RSAPublicKey have the following meanings:

タイプRSAPublicKeyの分野には、以下の意味があります:

    * modulus is the RSA modulus n.

* 係数はRSA係数nです。

    * publicExponent is the RSA public exponent e.

* publicExponentはRSAの公共の解説者eです。

Jonsson & Kaliski            Informational                     [Page 44]

RFC 3447        PKCS #1: RSA Cryptography Specifications   February 2003

イェンソンとKaliskiの情報[44ページ]のRFC3447PKCS#1: RSA暗号仕様2003年2月

A.1.2 RSA private key syntax

A.1.2 RSA秘密鍵構文

   An RSA private key should be represented with the ASN.1 type
   RSAPrivateKey:

RSA秘密鍵はASN.1タイプRSAPrivateKeyと共に表されるべきです:

      RSAPrivateKey ::= SEQUENCE {
          version           Version,
          modulus           INTEGER,  -- n
          publicExponent    INTEGER,  -- e
          privateExponent   INTEGER,  -- d
          prime1            INTEGER,  -- p
          prime2            INTEGER,  -- q
          exponent1         INTEGER,  -- d mod (p-1)
          exponent2         INTEGER,  -- d mod (q-1)
          coefficient       INTEGER,  -- (inverse of q) mod p
          otherPrimeInfos   OtherPrimeInfos OPTIONAL
      }

RSAPrivateKey:、:= 系列バージョンバージョン、係数INTEGER--n publicExponent INTEGER--e privateExponent INTEGER--d prime1 INTEGER--p prime2 INTEGER--q exponent1 INTEGER--exponent2 INTEGER--dモッズ(q-1)係数INTEGER--dモッズ(p-1)(qの逆)モッズp otherPrimeInfos OtherPrimeInfos OPTIONAL

   The fields of type RSAPrivateKey have the following meanings:

タイプRSAPrivateKeyの分野には、以下の意味があります:

    * version is the version number, for compatibility with future
      revisions of this document.  It shall be 0 for this version of the
      document, unless multi-prime is used, in which case it shall be 1.

* バージョンはこのドキュメントの今後の改正との互換性のバージョン番号です。 マルチ第1が使用されていない場合ドキュメントのこのバージョンのために0になる、その場合、それは1になるでしょう。

            Version ::= INTEGER { two-prime(0), multi(1) }
               (CONSTRAINED BY
               {-- version must be multi if otherPrimeInfos present --})

バージョン:、:= INTEGER、2主要な(0)、マルチ(1)(CONSTRAINED BY、--otherPrimeInfosプレゼントであるなら、バージョンはマルチ、に違いありません--、)

    * modulus is the RSA modulus n.

* 係数はRSA係数nです。

    * publicExponent is the RSA public exponent e.

* publicExponentはRSAの公共の解説者eです。

    * privateExponent is the RSA private exponent d.

* privateExponentはRSAの個人的な解説者dです。

    * prime1 is the prime factor p of n.

* prime1はnに関する主要因pです。

    * prime2 is the prime factor q of n.

* prime2はnに関する主要因qです。

    * exponent1 is d mod (p - 1).

* exponent1はdモッズ(p--1)です。

    * exponent2 is d mod (q - 1).

* exponent2はdモッズ(q--1)です。

    * coefficient is the CRT coefficient q^(-1) mod p.

* 係数はCRT係数q^(-1)モッズpです。

    * otherPrimeInfos contains the information for the additional primes
      r_3, ..., r_u, in order.  It shall be omitted if version is 0 and
      shall contain at least one instance of OtherPrimeInfo if version
      is 1.

* otherPrimeInfosは追加盛りr_3のための情報を含んでいます…, オーダーにおけるr_u。 バージョンが0であり、バージョンが1であるならOtherPrimeInfoの少なくとも1つの例を含むものとするなら、それは省略されるものとします。

Jonsson & Kaliski            Informational                     [Page 45]

RFC 3447        PKCS #1: RSA Cryptography Specifications   February 2003

イェンソンとKaliskiの情報[45ページ]のRFC3447PKCS#1: RSA暗号仕様2003年2月

         OtherPrimeInfos ::= SEQUENCE SIZE(1..MAX) OF OtherPrimeInfo

OtherPrimeInfos:、:= OtherPrimeInfoの系列サイズ(1..MAX)

         OtherPrimeInfo ::= SEQUENCE {
             prime             INTEGER,  -- ri
             exponent          INTEGER,  -- di
             coefficient       INTEGER   -- ti
         }

OtherPrimeInfo:、:= 系列{INTEGERを用意してください--ri解説者INTEGER--ディ係数INTEGER--ti}

   The fields of type OtherPrimeInfo have the following meanings:

タイプOtherPrimeInfoの分野には、以下の意味があります:

    * prime is a prime factor r_i of n, where i >= 3.

* 主要はn、どこi>=3に関する主要因r_iであるか。

    * exponent is d_i = d mod (r_i - 1).

* 解説者はd d_i=モッズ(r_i--1)です。

    * coefficient is the CRT coefficient t_i = (r_1 * r_2 * ... * r_(i-
      1))^(-1) mod r_i.

* 係数はCRT係数t_i=(r_1*r_2**…r_(i1))^(-1)モッズr_iです。

   Note.  It is important to protect the RSA private key against both
   disclosure and modification.  Techniques for such protection are
   outside the scope of this document.  Methods for storing and
   distributing private keys and other cryptographic data are described
   in PKCS #12 and #15.

注意します。 公開と変更の両方に対してRSA秘密鍵を保護するのは重要です。 このドキュメントの範囲の外にそのような保護のためのテクニックがあります。 秘密鍵を格納して、分配するための方法と他の暗号のデータはPKCS#12、と#15で説明されます。

A.2 Scheme identification

A.2計画識別

   This section defines object identifiers for the encryption and
   signature schemes.  The schemes compatible with PKCS #1 v1.5 have the
   same definitions as in PKCS #1 v1.5.  The intended application of
   these definitions includes X.509 certificates and PKCS #7.

このセクションは暗号化と署名計画のための物の識別子を定義します。 PKCS#1v1.5とのコンパチブル計画には、同じ定義がPKCS#1v1.5のようにあります。 これらの定義の意図している応用はX.509証明書とPKCS#7、を含んでいます。

   Here are type identifier definitions for the PKCS #1 OIDs:

ここに、PKCS#1OIDsのためのタイプ識別子定義があります:

      PKCS1Algorithms    ALGORITHM-IDENTIFIER ::= {
          { OID rsaEncryption              PARAMETERS NULL } |
          { OID md2WithRSAEncryption       PARAMETERS NULL } |
          { OID md5WithRSAEncryption       PARAMETERS NULL } |
          { OID sha1WithRSAEncryption      PARAMETERS NULL } |
          { OID sha256WithRSAEncryption    PARAMETERS NULL } |
          { OID sha384WithRSAEncryption    PARAMETERS NULL } |
          { OID sha512WithRSAEncryption    PARAMETERS NULL } |
          { OID id-RSAES-OAEP PARAMETERS RSAES-OAEP-params } |
          PKCS1PSourceAlgorithms                             |
          { OID id-RSASSA-PSS PARAMETERS RSASSA-PSS-params } ,
          ...  -- Allows for future expansion --
      }

PKCS1Algorithmsアルゴリズム識別子:、:= OID rsaEncryption PARAMETERS NULL| OID md2WithRSAEncryption PARAMETERS NULL| OID md5WithRSAEncryption PARAMETERS NULL| OID sha1WithRSAEncryption PARAMETERS NULL| OID sha256WithRSAEncryption PARAMETERS NULL| OID sha384WithRSAEncryption PARAMETERS NULL| OID sha512WithRSAEncryption PARAMETERS NULL| OIDイド-RSAES-OAEP PARAMETERS RSAES-OAEP-params| PKCS1PSourceAlgorithms| OIDイド-RSASSA-PSS PARAMETERS RSASSA-PSS-params、…--今後の拡大を考慮します--

Jonsson & Kaliski            Informational                     [Page 46]

RFC 3447        PKCS #1: RSA Cryptography Specifications   February 2003

イェンソンとKaliskiの情報[46ページ]のRFC3447PKCS#1: RSA暗号仕様2003年2月

A.2.1 RSAES-OAEP

A.2.1 RSAES-OAEP

   The object identifier id-RSAES-OAEP identifies the RSAES-OAEP
   encryption scheme.

物の識別子イド-RSAES-OAEPはRSAES-OAEP暗号化計画を特定します。

      id-RSAES-OAEP    OBJECT IDENTIFIER ::= { pkcs-1 7 }

イド-RSAES-OAEP物の識別子:、:= pkcs-1 7

   The parameters field associated with this OID in a value of type
   AlgorithmIdentifier shall have a value of type RSAES-OAEP-params:

タイプAlgorithmIdentifierの値でこのOIDに関連しているパラメタ分野には、タイプRSAES-OAEP-paramsの値があるものとします:

      RSAES-OAEP-params ::= SEQUENCE {
          hashAlgorithm     [0] HashAlgorithm    DEFAULT sha1,
          maskGenAlgorithm  [1] MaskGenAlgorithm DEFAULT mgf1SHA1,
          pSourceAlgorithm  [2] PSourceAlgorithm DEFAULT pSpecifiedEmpty
      }

RSAES-OAEP-params:、:= 系列hashAlgorithm[0]HashAlgorithm DEFAULT sha1、maskGenAlgorithm[1]MaskGenAlgorithm DEFAULT mgf1SHA1、pSourceAlgorithm[2]PSourceAlgorithm DEFAULT pSpecifiedEmpty

   The fields of type RSAES-OAEP-params have the following meanings:

タイプRSAES-OAEP-paramsの分野には、以下の意味があります:

    * hashAlgorithm identifies the hash function.  It shall be an
      algorithm ID with an OID in the set OAEP-PSSDigestAlgorithms.
      For a discussion of supported hash functions, see Appendix B.1.

* hashAlgorithmはハッシュ関数を特定します。 それはセットOAEP-PSSDigestAlgorithmsにおけるOIDをもってアルゴリズムIDになるでしょう。支持されたハッシュ関数の議論に関して、Appendix B.1を見てください。

         HashAlgorithm ::= AlgorithmIdentifier {
            {OAEP-PSSDigestAlgorithms}
         }

HashAlgorithm:、:= AlgorithmIdentifierOAEP-PSSDigestAlgorithms

         OAEP-PSSDigestAlgorithms    ALGORITHM-IDENTIFIER ::= {
             { OID id-sha1 PARAMETERS NULL   }|
             { OID id-sha256 PARAMETERS NULL }|
             { OID id-sha384 PARAMETERS NULL }|
             { OID id-sha512 PARAMETERS NULL },
             ...  -- Allows for future expansion --
         }

OAEP-PSSDigestAlgorithmsアルゴリズム識別子:、:= OIDイド-sha1 PARAMETERS NULL| OIDイド-sha256 PARAMETERS NULL| OIDイド-sha384 PARAMETERS NULL| OIDイド-sha512 PARAMETERS NULL、…--今後の拡大を考慮します--

      The default hash function is SHA-1:

デフォルトハッシュ関数はSHA-1です:

         sha1    HashAlgorithm ::= {
             algorithm   id-sha1,
             parameters  SHA1Parameters : NULL
         }

sha1 HashAlgorithm:、:= パラメタSHA1Parameters: アルゴリズムイド-sha1、NULL

         SHA1Parameters ::= NULL

SHA1Parameters:、:= ヌル

    * maskGenAlgorithm identifies the mask generation function.  It
      shall be an algorithm ID with an OID in the set
      PKCS1MGFAlgorithms, which for this version shall consist of
      id-mgf1, identifying the MGF1 mask generation function (see
      Appendix B.2.1).  The parameters field associated with id-mgf1

* maskGenAlgorithmはマスク世代機能を特定します。 それはセットPKCS1MGFAlgorithmsにおけるOIDをもってアルゴリズムIDになるでしょう(Appendix B.2.1を見てください)。(MGF1マスク世代を特定して、このバージョンがイド-mgf1から成るものとするので、PKCS1MGFAlgorithmsは機能します)。 イド-mgf1に関連しているパラメタ分野

Jonsson & Kaliski            Informational                     [Page 47]

RFC 3447        PKCS #1: RSA Cryptography Specifications   February 2003

イェンソンとKaliskiの情報[47ページ]のRFC3447PKCS#1: RSA暗号仕様2003年2月

      shall be an algorithm ID with an OID in the set
      OAEP-PSSDigestAlgorithms, identifying the hash function on which
      MGF1 is based.

セットにおけるOIDがあるアルゴリズムIDがOAEP-PSSDigestAlgorithmsであるつもりであったなら、どのMGF1でハッシュ関数を特定するかは基づいています。

         MaskGenAlgorithm ::= AlgorithmIdentifier {
            {PKCS1MGFAlgorithms}
         }
         PKCS1MGFAlgorithms    ALGORITHM-IDENTIFIER ::= {
             { OID id-mgf1 PARAMETERS HashAlgorithm },
             ...  -- Allows for future expansion --
         }

MaskGenAlgorithm:、:= AlgorithmIdentifier PKCS1MGFAlgorithms、PKCS1MGFAlgorithmsアルゴリズム識別子:、:= OIDイド-mgf1 PARAMETERS HashAlgorithm、…--今後の拡大を考慮します--

      The default mask generation function is MGF1 with SHA-1:

デフォルトマスク世代機能はSHA-1とMGF1です:

         mgf1SHA1    MaskGenAlgorithm ::= {
             algorithm   id-mgf1,
             parameters  HashAlgorithm : sha1
         }

mgf1SHA1 MaskGenAlgorithm:、:= パラメタHashAlgorithm: アルゴリズムイド-mgf1、sha1

    * pSourceAlgorithm identifies the source (and possibly the value)
      of the label L.  It shall be an algorithm ID with an OID in the
      set PKCS1PSourceAlgorithms, which for this version shall consist
      of id-pSpecified, indicating that the label is specified
      explicitly.  The parameters field associated with id-pSpecified
      shall have a value of type OCTET STRING, containing the
      label.  In previous versions of this specification, the term
      "encoding parameters" was used rather than "label", hence the
      name of the type below.

* pSourceAlgorithmはセットにおけるOIDがあるアルゴリズムIDがPKCS1PSourceAlgorithmsであるつもりであったならラベルL.Itの源(そして、ことによると値)を特定します、ラベルが明らかに指定されるのを示して。(このバージョンのために、PKCS1PSourceAlgorithmsはイド-pSpecifiedから成るものとします)。 イド-pSpecifiedに関連しているパラメタ分野には、ラベルを含んでいて、タイプOCTET STRINGの値があるものとします。 この仕様の旧バージョンでは、「パラメタをコード化する」という用語はしたがって、「ラベル」、以下のタイプの名前よりむしろ使用されました。

         PSourceAlgorithm ::= AlgorithmIdentifier {
            {PKCS1PSourceAlgorithms}
         }

PSourceAlgorithm:、:= AlgorithmIdentifierPKCS1PSourceAlgorithms

         PKCS1PSourceAlgorithms    ALGORITHM-IDENTIFIER ::= {
             { OID id-pSpecified PARAMETERS EncodingParameters },
             ...  -- Allows for future expansion --
         }

PKCS1PSourceAlgorithmsアルゴリズム識別子:、:= OIDイド-pSpecified PARAMETERS EncodingParameters、…--今後の拡大を考慮します--

         id-pSpecified    OBJECT IDENTIFIER ::= { pkcs-1 9 }

イド-pSpecified物の識別子:、:= pkcs-1 9

         EncodingParameters ::= OCTET STRING(SIZE(0..MAX))

EncodingParameters:、:= 八重奏ストリング(サイズ(0..MAX))

Jonsson & Kaliski            Informational                     [Page 48]

RFC 3447        PKCS #1: RSA Cryptography Specifications   February 2003

イェンソンとKaliskiの情報[48ページ]のRFC3447PKCS#1: RSA暗号仕様2003年2月

      The default label is an empty string (so that lHash will contain
      the hash of the empty string):

デフォルトラベルは空のストリング(lHashが空のストリングの細切れ肉料理を含むように)です:

         pSpecifiedEmpty    PSourceAlgorithm ::= {
             algorithm   id-pSpecified,
             parameters  EncodingParameters : emptyString
         }

pSpecifiedEmpty PSourceAlgorithm:、:= パラメタEncodingParameters: アルゴリズムイド-pSpecified、emptyString

         emptyString    EncodingParameters ::= ''H

emptyString EncodingParameters:、:= 「H」

      If all of the default values of the fields in RSAES-OAEP-params
      are used, then the algorithm identifier will have the following
      value:

RSAES-OAEP-paramsの分野のデフォルト値のすべてが使用されていると、アルゴリズム識別子には、以下の値があるでしょう:

         rSAES-OAEP-Default-Identifier  RSAES-AlgorithmIdentifier ::= {
             algorithm   id-RSAES-OAEP,
             parameters  RSAES-OAEP-params : {
                 hashAlgorithm       sha1,
                 maskGenAlgorithm    mgf1SHA1,
                 pSourceAlgorithm    pSpecifiedEmpty
             }
         }

rSAES-OAEPデフォルト識別子RSAES-AlgorithmIdentifier:、:= パラメタRSAES-OAEP-params: アルゴリズムイド-RSAES-OAEP、hashAlgorithm sha1、maskGenAlgorithm mgf1SHA1、pSourceAlgorithm pSpecifiedEmpty

         RSAES-AlgorithmIdentifier ::= AlgorithmIdentifier {
            {PKCS1Algorithms}
         }

RSAES-AlgorithmIdentifier:、:= AlgorithmIdentifierPKCS1Algorithms

A.2.2 RSAES-PKCS1-v1_5

A.2.2 RSAES-PKCS1-v1_5

   The object identifier rsaEncryption (see Appendix A.1) identifies the
   RSAES-PKCS1-v1_5 encryption scheme.  The parameters field associated
   with this OID in a value of type AlgorithmIdentifier shall have a
   value of type NULL.  This is the same as in PKCS #1 v1.5.

物の識別子rsaEncryption(Appendix A.1を見る)はRSAES-PKCS1-v1_5暗号化計画を特定します。 タイプAlgorithmIdentifierの値でこのOIDに関連しているパラメタ分野には、タイプNULLの値があるものとします。 これはPKCS#1v1.5と同じです。

      rsaEncryption    OBJECT IDENTIFIER ::= { pkcs-1 1 }

rsaEncryption物の識別子:、:= pkcs-1 1

A.2.3 RSASSA-PSS

A.2.3 RSASSA-PSS

   The object identifier id-RSASSA-PSS identifies the RSASSA-PSS
   encryption scheme.

物の識別子イド-RSASSA-PSSはRSASSA-PSS暗号化計画を特定します。

      id-RSASSA-PSS    OBJECT IDENTIFIER ::= { pkcs-1 10 }

イド-RSASSA-PSS物の識別子:、:= pkcs-1 10

Jonsson & Kaliski            Informational                     [Page 49]

RFC 3447        PKCS #1: RSA Cryptography Specifications   February 2003

イェンソンとKaliskiの情報[49ページ]のRFC3447PKCS#1: RSA暗号仕様2003年2月

   The parameters field associated with this OID in a value of type
   AlgorithmIdentifier shall have a value of type RSASSA-PSS-params:

タイプAlgorithmIdentifierの値でこのOIDに関連しているパラメタ分野には、タイプRSASSA-PSS-paramsの値があるものとします:

      RSASSA-PSS-params ::= SEQUENCE {
          hashAlgorithm      [0] HashAlgorithm    DEFAULT sha1,
          maskGenAlgorithm   [1] MaskGenAlgorithm DEFAULT mgf1SHA1,
          saltLength         [2] INTEGER          DEFAULT 20,
          trailerField       [3] TrailerField     DEFAULT trailerFieldBC
      }

RSASSA-PSS-params:、:= 系列hashAlgorithm[0]HashAlgorithm DEFAULT sha1、maskGenAlgorithm[1]MaskGenAlgorithm DEFAULT mgf1SHA1、saltLength[2]INTEGER DEFAULT20、trailerField[3]TrailerField DEFAULT trailerFieldBC

   The fields of type RSASSA-PSS-params have the following meanings:

タイプRSASSA-PSS-paramsの分野には、以下の意味があります:

    * hashAlgorithm identifies the hash function.  It shall be an
      algorithm ID with an OID in the set OAEP-PSSDigestAlgorithms (see
      Appendix A.2.1).  The default hash function is SHA-1.

* hashAlgorithmはハッシュ関数を特定します。 それはセットOAEP-PSSDigestAlgorithmsにおけるOIDをもってアルゴリズムIDになるでしょう(Appendix A.2.1を見てください)。 デフォルトハッシュ関数はSHA-1です。

    * maskGenAlgorithm identifies the mask generation function.  It
      shall be an algorithm ID with an OID in the set

* maskGenAlgorithmはマスク世代機能を特定します。 それはセットにおけるOIDをもってアルゴリズムIDになるでしょう。

      PKCS1MGFAlgorithms (see Appendix A.2.1).  The default mask
      generation function is MGF1 with SHA-1.  For MGF1 (and more
      generally, for other mask generation functions based on a hash
      function), it is recommended that the underlying hash function be
      the same as the one identified by hashAlgorithm; see Note 2 in
      Section 9.1 for further comments.

PKCS1MGFAlgorithms(付録A.2.1を見ます)。 デフォルトマスク世代機能はSHA-1とMGF1です。 MGF1(他のマスク世代がハッシュ関数に基づいて、より一般に機能するので)に関しては、基本的なハッシュ関数がhashAlgorithmによって特定されたものと同じであることは、お勧めです。 セクション9.1でさらなるコメントに関してNote2を見てください。

    * saltLength is the octet length of the salt.  It shall be an
      integer.  For a given hashAlgorithm, the default value of
      saltLength is the octet length of the hash value.  Unlike the
      other fields of type RSASSA-PSS-params, saltLength does not need
      to be fixed for a given RSA key pair.

* saltLengthは塩の八重奏の長さです。 それは整数になるでしょう。 与えられたhashAlgorithmに関しては、saltLengthのデフォルト値はハッシュ値の八重奏の長さです。 タイプRSASSA-PSS-paramsの他の分野と異なって、与えられたRSA主要な組のためにsaltLengthは修理される必要はありません。

    * trailerField is the trailer field number, for compatibility with
      the draft IEEE P1363a [27].  It shall be 1 for this version of the
      document, which represents the trailer field with hexadecimal
      value 0xbc.  Other trailer fields (including the trailer field
      HashID || 0xcc in IEEE P1363a) are not supported in this document.

* trailerFieldは草稿IEEE P1363a[27]との互換性のトレーラ分野番号です。 それはドキュメントのこのバージョンのためになるでしょう。(1、ドキュメントは16進価値の0xbcでトレーラ分野を表します)。 他のトレーラがさばく、(中にHashID| | トレーラ分野0xccを含んでいて、IEEE P1363a)は本書では支持されません。

         TrailerField ::= INTEGER { trailerFieldBC(1) }

TrailerField:、:= 整数trailerFieldBC(1)

      If the default values of the hashAlgorithm, maskGenAlgorithm, and
      trailerField fields of RSASSA-PSS-params are used, then the
      algorithm identifier will have the following value:

RSASSA-PSS-paramsのhashAlgorithm、maskGenAlgorithm、およびtrailerField分野のデフォルト値が使用されていると、アルゴリズム識別子には、以下の値があるでしょう:

Jonsson & Kaliski            Informational                     [Page 50]

RFC 3447        PKCS #1: RSA Cryptography Specifications   February 2003

イェンソンとKaliskiの情報[50ページ]のRFC3447PKCS#1: RSA暗号仕様2003年2月

         rSASSA-PSS-Default-Identifier  RSASSA-AlgorithmIdentifier ::= {
             algorithm   id-RSASSA-PSS,
             parameters  RSASSA-PSS-params : {
                 hashAlgorithm       sha1,
                 maskGenAlgorithm    mgf1SHA1,
                 saltLength          20,
                 trailerField        trailerFieldBC
             }
         }

rSASSA-PSSデフォルト識別子RSASSA-AlgorithmIdentifier:、:= パラメタRSASSA-PSS-params: アルゴリズムイド-RSASSA-PSS、hashAlgorithm sha1、maskGenAlgorithm mgf1SHA1、saltLength20、trailerField trailerFieldBC

         RSASSA-AlgorithmIdentifier ::=
             AlgorithmIdentifier { {PKCS1Algorithms} }

RSASSA-AlgorithmIdentifier:、:= AlgorithmIdentifierPKCS1Algorithms

   Note.  In some applications, the hash function underlying a signature
   scheme is identified separately from the rest of the operations in
   the signature scheme.  For instance, in PKCS #7 [45], a hash function
   identifier is placed before the message and a "digest encryption"
   algorithm identifier (indicating the rest of the operations) is
   carried with the signature.  In order for PKCS #7 to support the
   RSASSA-PSS signature scheme, an object identifier would need to be
   defined for the operations in RSASSA-PSS after the hash function
   (analogous to the RSAEncryption OID for the RSASSA-PKCS1-v1_5
   scheme).  S/MIME CMS [25] takes a different approach.  Although a
   hash function identifier is placed before the message, an algorithm
   identifier for the full signature scheme may be carried with a CMS
   signature (this is done for DSA signatures).  Following this
   convention, the id-RSASSA-PSS OID can be used to identify RSASSA-PSS
   signatures in CMS.  Since CMS is considered the successor to PKCS #7
   and new developments such as the addition of support for RSASSA-PSS
   will be pursued with respect to CMS rather than PKCS #7, an OID for
   the "rest of" RSASSA-PSS is not defined in this version of PKCS #1.

注意します。 使用目的によっては、署名計画の基礎となるハッシュ関数は別々に署名計画における、操作の残りから特定されます。 例えば、ハッシュ関数識別子はメッセージの前にPKCS#7[45]に置かれます、そして、「ダイジェスト暗号化」アルゴリズム識別子(操作の残りを示す)は署名で運ばれます。 PKCS#7がRSASSA-PSS署名計画を支持するように、物の識別子は、ハッシュ関数(RSASSA-PKCS1-v1_5計画において、RSAEncryption OIDに類似の)の後にRSASSA-PSSでの操作のために定義される必要があるでしょう。 S/MIME CMS[25]は異なるアプローチを取ります。 ハッシュ関数識別子はメッセージの前に置かれますが、完全な署名計画のためのアルゴリズム識別子はCMS署名で運ばれるかもしれません(DSA署名のためにこれをします)。 このコンベンションに続いて、CMSでRSASSA-PSS署名を特定するのにイド-RSASSA-PSS OIDを使用できます。以来CMSはPKCS#7の後継者であると考えられます、そして、RSASSA-PSSのサポートの添加などの新しい開発はPKCS#7よりむしろCMSに関して追求されるでしょう、OID、「」 RSASSA-PSSの残りがPKCS#1のこのバージョンで定義されません。

A.2.4 RSASSA-PKCS1-v1_5

A.2.4 RSASSA-PKCS1-v1_5

   The object identifier for RSASSA-PKCS1-v1_5 shall be one of the
   following.  The choice of OID depends on the choice of hash
   algorithm: MD2, MD5, SHA-1, SHA-256, SHA-384, or SHA-512.  Note that
   if either MD2 or MD5 is used, then the OID is just as in PKCS #1
   v1.5.  For each OID, the parameters field associated with this OID in
   a value of type AlgorithmIdentifier shall have a value of type NULL.
   The OID should be chosen in accordance with the following table:

RSASSA-PKCS1-v1_5のための物の識別子は以下の1つになるでしょう。 OIDのこの選択は細切れ肉料理アルゴリズムの選択次第です: MD2、MD5、SHA-1、SHA-256、SHA-384、またはSHA-512。 MD2かMD5のどちらかが使用されているならOIDがPKCS#1v1.5のように正当であることに注意してください。 各OIDに関しては、タイプAlgorithmIdentifierの値でこのOIDに関連しているパラメタ分野には、タイプNULLの値があるものとします。 以下のテーブルに従って、OIDは選ばれるべきです:

      Hash algorithm   OID
      --------------------------------------------------------
      MD2              md2WithRSAEncryption    ::= {pkcs-1 2}
      MD5              md5WithRSAEncryption    ::= {pkcs-1 4}
      SHA-1            sha1WithRSAEncryption   ::= {pkcs-1 5}
      SHA-256          sha256WithRSAEncryption ::= {pkcs-1 11}

細切れ肉料理アルゴリズムOID-------------------------------------------------------- MD2 md2WithRSAEncryption:、:= pkcs-1 2、MD5 md5WithRSAEncryption:、:= pkcs-1 4、SHA-1 sha1WithRSAEncryption:、:= pkcs-1 5、SHA-256 sha256WithRSAEncryption:、:= pkcs-1 11

Jonsson & Kaliski            Informational                     [Page 51]

RFC 3447        PKCS #1: RSA Cryptography Specifications   February 2003

イェンソンとKaliskiの情報[51ページ]のRFC3447PKCS#1: RSA暗号仕様2003年2月

      SHA-384          sha384WithRSAEncryption ::= {pkcs-1 12}
      SHA-512          sha512WithRSAEncryption ::= {pkcs-1 13}

SHA-384 sha384WithRSAEncryption:、:= pkcs-1 12SHA-512 sha512WithRSAEncryption:、:= pkcs-1 13

   The EMSA-PKCS1-v1_5 encoding method includes an ASN.1 value of type
   DigestInfo, where the type DigestInfo has the syntax

方法をコード化するEMSA-PKCS1-v1_5はタイプDigestInfoのASN.1値を含んでいます。(そこでは、タイプDigestInfoが構文を持っています)。

      DigestInfo ::= SEQUENCE {
          digestAlgorithm DigestAlgorithm,
          digest OCTET STRING
      }

DigestInfo:、:= 系列digestAlgorithm DigestAlgorithm、ダイジェストOCTET STRING

   digestAlgorithm identifies the hash function and shall be an
   algorithm ID with an OID in the set PKCS1-v1-5DigestAlgorithms.  For
   a discussion of supported hash functions, see Appendix B.1.

digestAlgorithmはハッシュ関数を特定して、セットPKCS1-v1-5DigestAlgorithmsにおけるOIDをもってアルゴリズムIDになるでしょう。支持されたハッシュ関数の議論に関して、Appendix B.1を見てください。

      DigestAlgorithm ::=
          AlgorithmIdentifier { {PKCS1-v1-5DigestAlgorithms} }

DigestAlgorithm:、:= AlgorithmIdentifierPKCS1-v1-5DigestAlgorithms

      PKCS1-v1-5DigestAlgorithms    ALGORITHM-IDENTIFIER ::= {
          { OID id-md2 PARAMETERS NULL    }|
          { OID id-md5 PARAMETERS NULL    }|
          { OID id-sha1 PARAMETERS NULL   }|
          { OID id-sha256 PARAMETERS NULL }|
          { OID id-sha384 PARAMETERS NULL }|
          { OID id-sha512 PARAMETERS NULL }
      }

PKCS1-v1-5DigestAlgorithmsアルゴリズム識別子:、:= OIDイド-md2 PARAMETERS NULL| OIDイド-md5 PARAMETERS NULL| OIDイド-sha1 PARAMETERS NULL| OIDイド-sha256 PARAMETERS NULL| OIDイド-sha384 PARAMETERS NULL| OIDイド-sha512 PARAMETERS NULL

Appendix B. Supporting techniques

付録B.Supportingのテクニック

   This section gives several examples of underlying functions
   supporting the encryption schemes in Section 7 and the encoding
   methods in Section 9.  A range of techniques is given here to allow
   compatibility with existing applications as well as migration to new
   techniques.  While these supporting techniques are appropriate for
   applications to implement, none of them is required to be
   implemented.  It is expected that profiles for PKCS #1 v2.1 will be
   developed that specify particular supporting techniques.

このセクションはセクション7で暗号化計画を支持する基本的な機能とセクション9のコード化方法に関するいくつかの例を出します。 新しいやり方への移動と同様に既存のアプリケーションとの互換性を許容するためにさまざまなテクニックをここに与えます。 アプリケーションに、テクニックをサポートするこれらは実行するのが適切である間、それらのいずれも、実行されるのに必要ではありません。 PKCS#1v2.1のための特定のサポートのテクニックを指定するプロフィールが開発されると予想されます。

   This section also gives object identifiers for the supporting
   techniques.

また、このセクションはサポートのテクニックのための物の識別子を与えます。

B.1 Hash functions

B.1ハッシュ関数

   Hash functions are used in the operations contained in Sections 7 and
   9.  Hash functions are deterministic, meaning that the output is
   completely determined by the input.  Hash functions take octet
   strings of variable length, and generate fixed length octet strings.

ハッシュ関数はセクション7と9に含まれた操作に使用されます。 出力が入力で完全に決定していることを意味して、ハッシュ関数は決定論的です。 ハッシュ関数は、可変長の八重奏ストリングを取って、固定長八重奏ストリングを発生させます。

Jonsson & Kaliski            Informational                     [Page 52]

RFC 3447        PKCS #1: RSA Cryptography Specifications   February 2003

イェンソンとKaliskiの情報[52ページ]のRFC3447PKCS#1: RSA暗号仕様2003年2月

   The hash functions used in the operations contained in Sections 7 and
   9 should generally be collision-resistant.  This means that it is
   infeasible to find two distinct inputs to the hash function that
   produce the same output.  A collision-resistant hash function also
   has the desirable property of being one-way; this means that given an
   output, it is infeasible to find an input whose hash is the specified
   output.  In addition to the requirements, the hash function should
   yield a mask generation function (Appendix B.2) with pseudorandom
   output.

一般に、耐、べきですセクション7と9に含まれた操作に使用されるハッシュ関数衝突の。 これは、ハッシュ関数への同じ出力を起こす2つの異なった入力を見つけるのが実行不可能であることを意味します。 また、耐衝突のハッシュ関数に、片道であることの望ましい特性があります。 これは、出力を考えて、細切れ肉料理が指定された出力である入力を見つけるのが実行不可能であることを意味します。 要件に加えて、ハッシュ関数は擬似ランダム出力があるマスク世代機能(付録B.2)をもたらすべきです。

   Six hash functions are given as examples for the encoding methods in
   this document: MD2 [33], MD5 [41], SHA-1 [38], and the proposed
   algorithms SHA-256, SHA-384, and SHA-512 [39].  For the RSAES-OAEP
   encryption scheme and EMSA-PSS encoding method, only SHA-1 and SHA-
   256/384/512 are recommended.  For the EMSA-PKCS1-v1_5 encoding
   method, SHA-1 or SHA-256/384/512 are recommended for new
   applications.  MD2 and MD5 are recommended only for compatibility
   with existing applications based on PKCS #1 v1.5.

これのコード化方法のための例が記録するように6つのハッシュ関数を与えます: 提案されたアルゴリズムのMD2[33]、MD5[41]、SHA-1[38]、SHA-256、SHA-384、およびSHA-512[39]。 RSAES-OAEP暗号化計画と方法をコード化するEMSA-PSSに関しては、SHA-1とSHA256/384/512だけがお勧めです。 方法をコード化するEMSA-PKCS1-v1_5において、SHA-1かSHA-256/384/512が新しいアプリケーションのために推薦されます。 PKCS#1v1.5に基づく既存のアプリケーションとの互換性だけに、MD2とMD5はお勧めです。

   The object identifiers id-md2, id-md5, id-sha1, id-sha256, id-sha384,
   and id-sha512, identify the respective hash functions:

物の識別子イド-md2(イド-md5、イド-sha1、イド-sha256、イド-sha384、およびイド-sha512)はそれぞれのハッシュ関数を特定します:

      id-md2      OBJECT IDENTIFIER ::= {
          iso(1) member-body(2) us(840) rsadsi(113549)
          digestAlgorithm(2) 2
      }

イド-md2 OBJECT IDENTIFIER:、:= iso(1)は(2) 私たち(840)rsadsi(113549) digestAlgorithm(2)2をメンバーと同じくらい具体化させます。

      id-md5      OBJECT IDENTIFIER ::= {
          iso(1) member-body(2) us(840) rsadsi(113549)
          digestAlgorithm(2) 5
      }

イド-md5 OBJECT IDENTIFIER:、:= iso(1)は(2) 私たち(840)rsadsi(113549) digestAlgorithm(2)5をメンバーと同じくらい具体化させます。

      id-sha1    OBJECT IDENTIFIER ::= {
          iso(1) identified-organization(3) oiw(14) secsig(3)
          algorithms(2) 26
      }

イド-sha1 OBJECT IDENTIFIER:、:= iso(1)の特定された組織(3)oiw(14) secsig(3)アルゴリズム(2)26

      id-sha256    OBJECT IDENTIFIER ::= {
          joint-iso-itu-t(2) country(16) us(840) organization(1)
          gov(101) csor(3) nistalgorithm(4) hashalgs(2) 1
      }

イド-sha256 OBJECT IDENTIFIER:、:= (16) 共同iso-ituのt(2)国の私たち、(840) 組織(1)gov(101) csor(3) nistalgorithm(4) hashalgs(2)1

      id-sha384    OBJECT IDENTIFIER ::= {
          joint-iso-itu-t(2) country(16) us(840) organization(1)
          gov(101) csor(3) nistalgorithm(4) hashalgs(2) 2
      }

イド-sha384 OBJECT IDENTIFIER:、:= (16) 共同iso-ituのt(2)国の私たち、(840) 組織(1)gov(101) csor(3) nistalgorithm(4) hashalgs(2)2

Jonsson & Kaliski            Informational                     [Page 53]

RFC 3447        PKCS #1: RSA Cryptography Specifications   February 2003

イェンソンとKaliskiの情報[53ページ]のRFC3447PKCS#1: RSA暗号仕様2003年2月

      id-sha512    OBJECT IDENTIFIER ::= {
          joint-iso-itu-t(2) country(16) us(840) organization(1)
          gov(101) csor(3) nistalgorithm(4) hashalgs(2) 3
      }

イド-sha512 OBJECT IDENTIFIER:、:= (16) 共同iso-ituのt(2)国の私たち、(840) 組織(1)gov(101) csor(3) nistalgorithm(4) hashalgs(2)3

   The parameters field associated with id-md2 and id-md5 in a value of
   type AlgorithmIdentifier shall have a value of type NULL.

タイプAlgorithmIdentifierの値でイド-md2とイド-md5に関連しているパラメタ分野には、タイプNULLの値があるものとします。

   The parameters field associated with id-sha1, id-sha256, id-sha384,
   and id-sha512 should be omitted, but if present, shall have a value
   of type NULL.

しかし、イド-sha1、イド-sha256、イド-sha384、およびイド-sha512に関連しているパラメタ分野が省略されるべきである、提示して、aにタイプNULLに評価させるでしょう。

   Note.  Version 1.5 of PKCS #1 also allowed for the use of MD4 in
   signature schemes.  The cryptanalysis of MD4 has progressed
   significantly in the intervening years.  For example, Dobbertin [18]
   demonstrated how to find collisions for MD4 and that the first two
   rounds of MD4 are not one-way [20].  Because of these results and
   others (e.g., [8]), MD4 is no longer recommended.  There have also
   been advances in the cryptanalysis of MD2 and MD5, although not
   enough to warrant removal from existing applications.  Rogier and
   Chauvaud [43] demonstrated how to find collisions in a modified
   version of MD2.  No one has demonstrated how to find collisions for
   the full MD5 algorithm, although partial results have been found
   (e.g., [9][19]).

注意します。 また、PKCS#1のバージョン1.5は署名計画におけるMD4の使用を考慮しました。 MD4の暗号文解読術は介入している数年間かなり進歩をしています。 例えば、Dobbertin[18]は、MD4に関してどう衝突を見つけるか、そして、MD4の最初の2ラウンドが片道[20]でないことを示しました。 これらの結果と他のもの、(例えば、[8])、MD4はもうお勧めではありません。 また、MD2とMD5の暗号文解読術には進歩がありました、既存のアプリケーションから取り外しを保証するためには十分ではありませんが。 ロジエとChauvaud[43]はどうMD2の変更されたバージョンにおける衝突を見つけるかを示しました。 だれもどう完全なMD5アルゴリズムのための衝突を見つけるかを示していません、部分的な結果は見つけられましたが。(例えば、[9][19])。

   To address these concerns, SHA-1, SHA-256, SHA-384, or SHA-512 are
   recommended for new applications.  As of today, the best (known)
   collision attacks against these hash functions are generic attacks
   with complexity 2^(L/2), where L is the bit length of the hash
   output.  For the signature schemes in this document, a collision
   attack is easily translated into a signature forgery.  Therefore, the
   value L / 2 should be at least equal to the desired security level in
   bits of the signature scheme (a security level of B bits means that
   the best attack has complexity 2^B).  The same rule of thumb can be
   applied to RSAES-OAEP; it is recommended that the bit length of the
   seed (which is equal to the bit length of the hash output) be twice
   the desired security level in bits.

これらを記述するために、関心、SHA-1、SHA-256、SHA-384、またはSHA-512が新しいアプリケーションのために推薦されます。 今日付けで、これらのハッシュ関数に対する最も良い(知られている)衝突攻撃は複雑さ2^(L/2)での一般的な攻撃です。そこでは、Lが細切れ肉料理出力の噛み付いている長さです。 このドキュメントでの署名計画において、衝突攻撃は署名偽造に容易に翻訳されます。 したがって、値L/2は署名計画のビットの必要なセキュリティー・レベルと少なくとも等しいはずです(Bビットのセキュリティー・レベルは、最も良い攻撃には複雑さ2^Bがあることを意味します)。 同じ経験則をRSAES-OAEPに適用できます。 種子(細切れ肉料理出力の噛み付いている長さと等しい)の噛み付いている長さがビットの必要なセキュリティー・レベルの2倍であることはお勧めです。

B.2 Mask generation functions

B.2マスク世代は機能します。

   A mask generation function takes an octet string of variable length
   and a desired output length as input, and outputs an octet string of
   the desired length.  There may be restrictions on the length of the
   input and output octet strings, but such bounds are generally very
   large.  Mask generation functions are deterministic; the octet string
   output is completely determined by the input octet string.  The
   output of a mask generation function should be pseudorandom: Given
   one part of the output but not the input, it should be infeasible to

マスク世代機能は、入力されるように可変長と必要な出力の長さの八重奏ストリングを取って、必要な長さの八重奏ストリングを出力します。 制限が入出力八重奏ストリングの長さにあるかもしれませんが、一般に、そのような領域は非常に大きいです。 マスク世代機能は決定論的です。 八重奏ストリング出力は入力八重奏ストリングで完全に決定しています。 マスク世代機能の出力は擬似ランダムであるべきです: 入力ではなく、出力の一部を考えて、それは実行不可能であるべきです。

Jonsson & Kaliski            Informational                     [Page 54]

RFC 3447        PKCS #1: RSA Cryptography Specifications   February 2003

イェンソンとKaliskiの情報[54ページ]のRFC3447PKCS#1: RSA暗号仕様2003年2月

   predict another part of the output.  The provable security of RSAES-
   OAEP and RSASSA-PSS relies on the random nature of the output of the
   mask generation function, which in turn relies on the random nature
   of the underlying hash.

出力の別の部分を予測してください。 RSAES- OAEPとRSASSA-PSSの証明可能なセキュリティは順番に基本的な細切れ肉料理のランダム性を当てにするマスク世代機能の出力のランダム性を当てにします。

   One mask generation function is given here: MGF1, which is based on a
   hash function.  MGF1 coincides with the mask generation functions
   defined in IEEE Std 1363-2000 [26] and the draft ANSI X9.44 [1].
   Future versions of this document may define other mask generation
   functions.

1つのマスク世代機能をここに与えます: MGF1。(そのMGF1はハッシュ関数に基づいています)。 MGF1は機能がIEEE Std1363-2000[26]で定義したマスク世代と草稿ANSI X9.44[1]と同時に起こります。 このドキュメントの将来のバージョンは他のマスク世代機能を定義するかもしれません。

B.2.1 MGF1

B.2.1 MGF1

   MGF1 is a Mask Generation Function based on a hash function.

MGF1はハッシュ関数に基づくMask Generation Functionです。

   MGF1 (mgfSeed, maskLen)

MGF1(maskLen、mgfSeedされました)

   Options:
   Hash     hash function (hLen denotes the length in octets of the hash
            function output)

オプション: 細切れ肉料理ハッシュ関数(hLenはハッシュ関数出力の八重奏における長さを指示します)

   Input:
   mgfSeed  seed from which mask is generated, an octet string
   maskLen  intended length in octets of the mask, at most 2^32 hLen

以下を入力してください。 マスクが発生するmgfSeed種子、八重奏ストリングmaskLenはマスクの八重奏における長さを意図しました、ほとんどの2^32hLenで

   Output:
   mask     mask, an octet string of length maskLen

出力: マスクマスク、長さのmaskLenの八重奏ストリング

   Error:   "mask too long"

誤り: 「また、長さマスクをかけてください」

   Steps:

以下のステップ:

   1. If maskLen > 2^32 hLen, output "mask too long" and stop.

1. maskLen>2^32hLenであるなら、「また、長さマスクをかけてください」、出力されて、止まってください。

   2. Let T be the empty octet string.

2. Tが空の八重奏ストリングであることをさせてください。

   3. For counter from 0 to \ceil (maskLen / hLen) - 1, do the
      following:

3. 0〜\までのカウンタに、(maskLen / hLen)はceilしています。--1 以下をしてください:

      a. Convert counter to an octet string C of length 4 octets (see
         Section 4.1):

a。 長さ4の八重奏(セクション4.1を見る)の八重奏ストリングCへの転向者カウンタ:

            C = I2OSP (counter, 4) .

CはI2OSP(カウンタ、4)と等しいです。

      b. Concatenate the hash of the seed mgfSeed and C to the octet
         string T:

b。 種子mgfSeedとCの細切れ肉料理を八重奏ストリングTに連結してください:

            T = T || Hash(mgfSeed || C) .

TはTと等しいです。|| (mgfSeed| | C)を論じ尽くしてください。

Jonsson & Kaliski            Informational                     [Page 55]

RFC 3447        PKCS #1: RSA Cryptography Specifications   February 2003

イェンソンとKaliskiの情報[55ページ]のRFC3447PKCS#1: RSA暗号仕様2003年2月

   4. Output the leading maskLen octets of T as the octet string mask.

4. 八重奏ストリングマスクとしてTの主なmaskLen八重奏を出力してください。

   The object identifier id-mgf1 identifies the MGF1 mask generation
   function:

物の識別子イド-mgf1はMGF1マスク世代機能を特定します:

   id-mgf1    OBJECT IDENTIFIER ::= { pkcs-1 8 }

イド-mgf1 OBJECT IDENTIFIER:、:= pkcs-1 8

   The parameters field associated with this OID in a value of type
   AlgorithmIdentifier shall have a value of type hashAlgorithm,
   identifying the hash function on which MGF1 is based.

タイプAlgorithmIdentifierの値でこのOIDに関連しているパラメタ分野には、タイプhashAlgorithmの値があるものとします、MGF1が基づいているハッシュ関数を特定して。

Appendix C. ASN.1 module

付録C. ASN.1モジュール

PKCS-1 {
    iso(1) member-body(2) us(840) rsadsi(113549) pkcs(1) pkcs-1(1)
    modules(0) pkcs-1(1)
}

PKCS-1iso(1)が(2) 私たちをメンバーと同じくらい具体化させる、(840) rsadsi(113549) pkcs(1) pkcs-1(1)モジュール(0)pkcs-1(1)

-- $ Revision: 2.1r1 $

-- $改正: 2.1r1$

-- This module has been checked for conformance with the ASN.1
-- standard by the OSS ASN.1 Tools

-- このモジュールは順応がないかどうかOSS ASN.1 Toolsによる標準のASN.1に問い合わせられました。

DEFINITIONS EXPLICIT TAGS ::=

定義、明白なタグ:、:=

BEGIN

始まってください。

-- EXPORTS ALL
-- All types and values defined in this module are exported for use
-- in other ASN.1 modules.

-- EXPORTS ALL--他のASN.1モジュールにおける使用のためにこのモジュールで定義されたすべてのタイプと値を輸出します。

IMPORTS

輸入

id-sha256, id-sha384, id-sha512
    FROM NIST-SHA2 {
        joint-iso-itu-t(2) country(16) us(840) organization(1)
        gov(101) csor(3) nistalgorithm(4) modules(0) sha2(1)
    };

イド-sha256、イド-sha384、イド-sha512 FROM NIST-SHA2、(16) 共同iso-ituのt(2)国の私たち、(840) 組織(1)gov(101) csor(3) nistalgorithm(4)モジュール(0)sha2(1)、。

-- ============================
--   Basic object identifiers
-- ============================

-- ============================ -- 基本の物の識別子--============================

-- The DER encoding of this in hexadecimal is:
-- (0x)06 08
--        2A 86 48 86 F7 0D 01 01
--
pkcs-1    OBJECT IDENTIFIER ::= {

-- 16進におけるこのDERコード化は以下の通りです。 -- (0x)06 08 -- 2 86 48 86F7 0D01 01--pkcs-1 OBJECT IDENTIFIER、:、:= {

Jonsson & Kaliski            Informational                     [Page 56]

RFC 3447        PKCS #1: RSA Cryptography Specifications   February 2003

イェンソンとKaliskiの情報[56ページ]のRFC3447PKCS#1: RSA暗号仕様2003年2月

    iso(1) member-body(2) us(840) rsadsi(113549) pkcs(1) 1
}

iso(1)は(2) 私たち(840)rsadsi(113549) pkcs(1)1をメンバーと同じくらい具体化させます。

--
-- When rsaEncryption is used in an AlgorithmIdentifier the
-- parameters MUST be present and MUST be NULL.
--
rsaEncryption    OBJECT IDENTIFIER ::= { pkcs-1 1 }

-- -- rsaEncryptionがAlgorithmIdentifierで使用される、--パラメタは、存在していなければならなくて、NULLであるに違いありません。 -- rsaEncryption物の識別子:、:= pkcs-1 1

--
-- When id-RSAES-OAEP is used in an AlgorithmIdentifier the
-- parameters MUST be present and MUST be RSAES-OAEP-params.
--
id-RSAES-OAEP    OBJECT IDENTIFIER ::= { pkcs-1 7 }

-- -- イド-RSAES-OAEPがAlgorithmIdentifierで使用される、--パラメタは存在していなければなりません、そして、RSAES-OAEP-paramsは存在しているに違いありません--、イド-RSAES-OAEP OBJECT IDENTIFIER:、:= pkcs-1 7

--
-- When id-pSpecified is used in an AlgorithmIdentifier the
-- parameters MUST be an OCTET STRING.
--
id-pSpecified    OBJECT IDENTIFIER ::= { pkcs-1 9 }

-- -- イド-pSpecifiedがAlgorithmIdentifierで使用される、--パラメタはOCTET STRINGであるに違いありません。 -- イド-pSpecified物の識別子:、:= pkcs-1 9

-- When id-RSASSA-PSS is used in an AlgorithmIdentifier the
-- parameters MUST be present and MUST be RSASSA-PSS-params.
--
id-RSASSA-PSS    OBJECT IDENTIFIER ::= { pkcs-1 10 }

-- イド-RSASSA-PSSがAlgorithmIdentifierで使用される、--パラメタは存在していなければなりません、そして、RSASSA-PSS-paramsは存在しているに違いありません--、イド-RSASSA-PSS OBJECT IDENTIFIER:、:= pkcs-1 10

--
-- When the following OIDs are used in an AlgorithmIdentifier the
-- parameters MUST be present and MUST be NULL.
--
md2WithRSAEncryption       OBJECT IDENTIFIER ::= { pkcs-1 2 }
md5WithRSAEncryption       OBJECT IDENTIFIER ::= { pkcs-1 4 }
sha1WithRSAEncryption      OBJECT IDENTIFIER ::= { pkcs-1 5 }
sha256WithRSAEncryption    OBJECT IDENTIFIER ::= { pkcs-1 11 }
sha384WithRSAEncryption    OBJECT IDENTIFIER ::= { pkcs-1 12 }
sha512WithRSAEncryption    OBJECT IDENTIFIER ::= { pkcs-1 13 }

-- -- 以下のOIDsがAlgorithmIdentifierで使用される、--パラメタは、存在していなければならなくて、NULLであるに違いありません。 -- md2WithRSAEncryption物の識別子:、:= pkcs-1 2、md5WithRSAEncryption OBJECT IDENTIFIER:、:= pkcs-1 4、sha1WithRSAEncryption OBJECT IDENTIFIER:、:= pkcs-1 5、sha256WithRSAEncryption OBJECT IDENTIFIER:、:= pkcs-1 11sha384WithRSAEncryption OBJECT IDENTIFIER:、:= pkcs-1 12sha512WithRSAEncryption OBJECT IDENTIFIER:、:= pkcs-1 13

--
-- This OID really belongs in a module with the secsig OIDs.
--
id-sha1    OBJECT IDENTIFIER ::= {
    iso(1) identified-organization(3) oiw(14) secsig(3)
    algorithms(2) 26
}

-- -- secsig OIDsがあるモジュールにはこのOIDは本当にいます。 -- イド-sha1 OBJECT IDENTIFIER:、:= iso(1)の特定された組織(3)oiw(14) secsig(3)アルゴリズム(2)26

--
-- OIDs for MD2 and MD5, allowed only in EMSA-PKCS1-v1_5.
--

-- -- EMSA-PKCS1-v1_5だけで許容されたMD2とMD5のためのOIDs。 --

Jonsson & Kaliski            Informational                     [Page 57]

RFC 3447        PKCS #1: RSA Cryptography Specifications   February 2003

イェンソンとKaliskiの情報[57ページ]のRFC3447PKCS#1: RSA暗号仕様2003年2月

id-md2 OBJECT IDENTIFIER ::= {
    iso(1) member-body(2) us(840) rsadsi(113549) digestAlgorithm(2) 2
}

イド-md2 OBJECT IDENTIFIER:、:= iso(1)は(2) 私たち(840)rsadsi(113549) digestAlgorithm(2)2をメンバーと同じくらい具体化させます。

id-md5 OBJECT IDENTIFIER ::= {
    iso(1) member-body(2) us(840) rsadsi(113549) digestAlgorithm(2) 5
}

イド-md5 OBJECT IDENTIFIER:、:= iso(1)は(2) 私たち(840)rsadsi(113549) digestAlgorithm(2)5をメンバーと同じくらい具体化させます。

--
-- When id-mgf1 is used in an AlgorithmIdentifier the parameters MUST
-- be present and MUST be a HashAlgorithm, for example sha1.
--
id-mgf1    OBJECT IDENTIFIER ::= { pkcs-1 8 }

-- -- イド-mgf1がAlgorithmIdentifierで使用されるとき、パラメタはそうしなければなりません--存在してください、そして、HashAlgorithm、例えば、sha1は存在しているに違いありませんか? -- イド-mgf1 OBJECT IDENTIFIER:、:= pkcs-1 8

-- ================
--   Useful types
-- ================

-- ================ -- 役に立つタイプ--================

ALGORITHM-IDENTIFIER ::= CLASS {
    &id    OBJECT IDENTIFIER  UNIQUE,
    &Type  OPTIONAL
}
    WITH SYNTAX { OID &id [PARAMETERS &Type] }

アルゴリズム識別子:、:= 属してください、イドが識別子ユニークであって、タイプ任意の状態で反対する、構文OIDとイド[パラメタとタイプ]

--
-- Note: the parameter InfoObjectSet in the following definitions
-- allows a distinct information object set to be specified for sets
-- of algorithms such as:
-- DigestAlgorithms    ALGORITHM-IDENTIFIER ::= {
--     { OID id-md2  PARAMETERS NULL }|
--     { OID id-md5  PARAMETERS NULL }|
--     { OID id-sha1 PARAMETERS NULL }
-- }
--

-- -- 以下に注意してください。 以下の定義におけるパラメタInfoObjectSet--セットに指定されるべき異なった情報物のセットは許容します--、以下などのアルゴリズム -- DigestAlgorithmsアルゴリズム識別子:、:= --OIDイド-md2 PARAMETERS NULL| --OIDイド-md5 PARAMETERS NULL| --OIDイド-sha1 PARAMETERS NULL--、--

AlgorithmIdentifier { ALGORITHM-IDENTIFIER:InfoObjectSet } ::=
SEQUENCE {
    algorithm  ALGORITHM-IDENTIFIER.&id({InfoObjectSet}),
    parameters
        ALGORITHM-IDENTIFIER.&Type({InfoObjectSet}{@.algorithm})
            OPTIONAL
}

AlgorithmIdentifier、アルゴリズム識別子: InfoObjectSet:、:= 系列パラメタALGORITHM-IDENTIFIERアルゴリズムALGORITHM-IDENTIFIERイド(InfoObjectSet)、Type、(InfoObjectSet、@.algorithm) OPTIONAL

-- ==============
--   Algorithms
-- ==============

-- ============== -- アルゴリズム--==============

--

--

Jonsson & Kaliski            Informational                     [Page 58]

RFC 3447        PKCS #1: RSA Cryptography Specifications   February 2003

イェンソンとKaliskiの情報[58ページ]のRFC3447PKCS#1: RSA暗号仕様2003年2月

-- Allowed EME-OAEP and EMSA-PSS digest algorithms.
--
OAEP-PSSDigestAlgorithms    ALGORITHM-IDENTIFIER ::= {
    { OID id-sha1 PARAMETERS NULL   }|
    { OID id-sha256 PARAMETERS NULL }|
    { OID id-sha384 PARAMETERS NULL }|
    { OID id-sha512 PARAMETERS NULL },
    ...  -- Allows for future expansion --
}

-- 許容EME-OAEPとEMSA-PSSダイジェストアルゴリズム--OAEP-PSSDigestAlgorithms ALGORITHM-IDENTIFIER、:、:= OIDイド-sha1 PARAMETERS NULL| OIDイド-sha256 PARAMETERS NULL| OIDイド-sha384 PARAMETERS NULL| OIDイド-sha512 PARAMETERS NULL、…--今後の拡大を考慮します--

--
-- Allowed EMSA-PKCS1-v1_5 digest algorithms.
--
PKCS1-v1-5DigestAlgorithms    ALGORITHM-IDENTIFIER ::= {
    { OID id-md2 PARAMETERS NULL    }|
    { OID id-md5 PARAMETERS NULL    }|
    { OID id-sha1 PARAMETERS NULL   }|
    { OID id-sha256 PARAMETERS NULL }|
    { OID id-sha384 PARAMETERS NULL }|
    { OID id-sha512 PARAMETERS NULL }
}

-- -- EMSA-PKCS1-v1_5つの許容ダイジェストアルゴリズム--PKCS1-v1-5DigestAlgorithms ALGORITHM-IDENTIFIER、:、:= OIDイド-md2 PARAMETERS NULL| OIDイド-md5 PARAMETERS NULL| OIDイド-sha1 PARAMETERS NULL| OIDイド-sha256 PARAMETERS NULL| OIDイド-sha384 PARAMETERS NULL| OIDイド-sha512 PARAMETERS NULL

-- When id-md2 and id-md5 are used in an AlgorithmIdentifier the
-- parameters MUST be present and MUST be NULL.

-- イド-md2とイド-md5がAlgorithmIdentifierで使用される、--パラメタは、存在していなければならなくて、NULLであるに違いありません。

-- When id-sha1, id-sha256, id-sha384 and id-sha512 are used in an
-- AlgorithmIdentifier the parameters (which are optional) SHOULD
-- be omitted. However, an implementation MUST also accept
-- AlgorithmIdentifier values where the parameters are NULL.

-- イド-sha1、イド-sha256、イド-sha384、およびイド-sha512がいつ使用されているか、--AlgorithmIdentifierパラメタ(任意である)SHOULD--省略されてください。 しかしながら、また、実現は受け入れなければなりません--パラメタがNULLであるAlgorithmIdentifier値。

sha1    HashAlgorithm ::= {
    algorithm   id-sha1,
    parameters  SHA1Parameters : NULL  -- included for compatibility
                                       -- with existing implementations
}

sha1 HashAlgorithm:、:= パラメタSHA1Parameters: アルゴリズムイド-sha1、NULL--既存の実現との互換性のために、含まれています。

HashAlgorithm ::= AlgorithmIdentifier { {OAEP-PSSDigestAlgorithms} }

HashAlgorithm:、:= AlgorithmIdentifierOAEP-PSSDigestAlgorithms

SHA1Parameters ::= NULL

SHA1Parameters:、:= ヌル

--
-- Allowed mask generation function algorithms.
-- If the identifier is id-mgf1, the parameters are a HashAlgorithm.
--
PKCS1MGFAlgorithms    ALGORITHM-IDENTIFIER ::= {
    { OID id-mgf1 PARAMETERS HashAlgorithm },
    ...  -- Allows for future expansion --
}

-- -- 許容マスク世代機能アルゴリズム--識別子がイド-mgf1であるなら、パラメタはHashAlgorithmです。 -- PKCS1MGFAlgorithmsアルゴリズム識別子:、:= OIDイド-mgf1 PARAMETERS HashAlgorithm、…--今後の拡大を考慮します--

Jonsson & Kaliski            Informational                     [Page 59]

RFC 3447        PKCS #1: RSA Cryptography Specifications   February 2003

イェンソンとKaliskiの情報[59ページ]のRFC3447PKCS#1: RSA暗号仕様2003年2月

--
-- Default AlgorithmIdentifier for id-RSAES-OAEP.maskGenAlgorithm and
-- id-RSASSA-PSS.maskGenAlgorithm.
--
mgf1SHA1    MaskGenAlgorithm ::= {
    algorithm   id-mgf1,
    parameters  HashAlgorithm : sha1
}

-- -- そして、イド-RSAES-OAEP.maskGenAlgorithmのためのデフォルトAlgorithmIdentifier、--イド-RSASSA-PSS.maskGenAlgorithm。 -- mgf1SHA1 MaskGenAlgorithm:、:= パラメタHashAlgorithm: アルゴリズムイド-mgf1、sha1

MaskGenAlgorithm ::= AlgorithmIdentifier { {PKCS1MGFAlgorithms} }

MaskGenAlgorithm:、:= AlgorithmIdentifierPKCS1MGFAlgorithms

--
-- Allowed algorithms for pSourceAlgorithm.
--
PKCS1PSourceAlgorithms    ALGORITHM-IDENTIFIER ::= {
    { OID id-pSpecified PARAMETERS EncodingParameters },
    ...  -- Allows for future expansion --
}

-- -- pSourceAlgorithmのためのアルゴリズムを許容しました。 -- PKCS1PSourceAlgorithmsアルゴリズム識別子:、:= OIDイド-pSpecified PARAMETERS EncodingParameters、…--今後の拡大を考慮します--

EncodingParameters ::= OCTET STRING(SIZE(0..MAX))

EncodingParameters:、:= 八重奏ストリング(サイズ(0..MAX))

--
-- This identifier means that the label L is an empty string, so the
-- digest of the empty string appears in the RSA block before
-- masking.
--
pSpecifiedEmpty    PSourceAlgorithm ::= {
    algorithm   id-pSpecified,
    parameters  EncodingParameters : emptyString
}

-- -- この識別子が、したがって、ラベルLが空のストリングであることを意味する、--空のストリングのダイジェストは以前、RSAブロックに現れます--マスキング -- pSpecifiedEmpty PSourceAlgorithm:、:= パラメタEncodingParameters: アルゴリズムイド-pSpecified、emptyString

PSourceAlgorithm ::= AlgorithmIdentifier { {PKCS1PSourceAlgorithms} }

PSourceAlgorithm:、:= AlgorithmIdentifierPKCS1PSourceAlgorithms

emptyString    EncodingParameters ::= ''H

emptyString EncodingParameters:、:= 「H」

--
-- Type identifier definitions for the PKCS #1 OIDs.
--
PKCS1Algorithms    ALGORITHM-IDENTIFIER ::= {
    { OID rsaEncryption              PARAMETERS NULL } |
    { OID md2WithRSAEncryption       PARAMETERS NULL } |
    { OID md5WithRSAEncryption       PARAMETERS NULL } |
    { OID sha1WithRSAEncryption      PARAMETERS NULL } |
    { OID sha256WithRSAEncryption    PARAMETERS NULL } |
    { OID sha384WithRSAEncryption    PARAMETERS NULL } |
    { OID sha512WithRSAEncryption    PARAMETERS NULL } |
    { OID id-RSAES-OAEP PARAMETERS RSAES-OAEP-params } |
    PKCS1PSourceAlgorithms                             |

-- -- PKCS#1OIDsのために識別子定義をタイプしてください。 -- PKCS1Algorithmsアルゴリズム識別子:、:= OID rsaEncryptionパラメタヌル| OID md2WithRSAEncryptionパラメタヌル| OID md5WithRSAEncryptionパラメタヌル| OID sha1WithRSAEncryptionパラメタヌル| OID sha256WithRSAEncryptionパラメタヌル| OID sha384WithRSAEncryptionパラメタヌル| OID sha512WithRSAEncryptionパラメタヌル| OIDイド-RSAES-OAEPパラメタRSAES-OAEP-params| PKCS1PSourceAlgorithms|

Jonsson & Kaliski            Informational                     [Page 60]

RFC 3447        PKCS #1: RSA Cryptography Specifications   February 2003

イェンソンとKaliskiの情報[60ページ]のRFC3447PKCS#1: RSA暗号仕様2003年2月

    { OID id-RSASSA-PSS PARAMETERS RSASSA-PSS-params } ,
    ...  -- Allows for future expansion --
}

OIDイド-RSASSA-PSSパラメタRSASSA-PSS-params… -- 今後の拡大を考慮します--

-- ===================
--   Main structures
-- ===================

-- =================== -- 主な構造--===================

RSAPublicKey ::= SEQUENCE {
    modulus           INTEGER,  -- n
    publicExponent    INTEGER   -- e
}

RSAPublicKey:、:= 系列係数INTEGER--n publicExponent INTEGER--e

--
-- Representation of RSA private key with information for the CRT
-- algorithm.
--
RSAPrivateKey ::= SEQUENCE {
    version           Version,
    modulus           INTEGER,  -- n
    publicExponent    INTEGER,  -- e
    privateExponent   INTEGER,  -- d
    prime1            INTEGER,  -- p
    prime2            INTEGER,  -- q
    exponent1         INTEGER,  -- d mod (p-1)
    exponent2         INTEGER,  -- d mod (q-1)
    coefficient       INTEGER,  -- (inverse of q) mod p
    otherPrimeInfos   OtherPrimeInfos OPTIONAL
}

-- -- CRTのための情報があるRSA秘密鍵の表現--アルゴリズム。 -- RSAPrivateKey:、:= 系列バージョンバージョン、係数INTEGER--n publicExponent INTEGER--e privateExponent INTEGER--d prime1 INTEGER--p prime2 INTEGER--q exponent1 INTEGER--exponent2 INTEGER--dモッズ(q-1)係数INTEGER--dモッズ(p-1)(qの逆)モッズp otherPrimeInfos OtherPrimeInfos OPTIONAL

Version ::= INTEGER { two-prime(0), multi(1) }
    (CONSTRAINED BY {
        -- version must be multi if otherPrimeInfos present --
    })

バージョン:、:= INTEGER、2主要な(0)、マルチ(1)(CONSTRAINED BY、--otherPrimeInfosプレゼントであるなら、バージョンはマルチ、に違いありません--、)

OtherPrimeInfos ::= SEQUENCE SIZE(1..MAX) OF OtherPrimeInfo

OtherPrimeInfos:、:= OtherPrimeInfoの系列サイズ(1..MAX)

OtherPrimeInfo ::= SEQUENCE {
    prime             INTEGER,  -- ri
    exponent          INTEGER,  -- di
    coefficient       INTEGER   -- ti
}

OtherPrimeInfo:、:= 系列{INTEGERを用意してください--ri解説者INTEGER--ディ係数INTEGER--ti}

--
-- AlgorithmIdentifier.parameters for id-RSAES-OAEP.
-- Note that the tags in this Sequence are explicit.
--
RSAES-OAEP-params ::= SEQUENCE {

-- -- イド-RSAES-OAEPのためのAlgorithmIdentifier.parameters。 -- このSequenceのタグが明白であることに注意してください。 -- RSAES-OAEP-params:、:= 系列

Jonsson & Kaliski            Informational                     [Page 61]

RFC 3447        PKCS #1: RSA Cryptography Specifications   February 2003

イェンソンとKaliskiの情報[61ページ]のRFC3447PKCS#1: RSA暗号仕様2003年2月

    hashAlgorithm      [0] HashAlgorithm     DEFAULT sha1,
    maskGenAlgorithm   [1] MaskGenAlgorithm  DEFAULT mgf1SHA1,
    pSourceAlgorithm   [2] PSourceAlgorithm  DEFAULT pSpecifiedEmpty
}

hashAlgorithm[0]HashAlgorithm DEFAULT sha1、maskGenAlgorithm[1]MaskGenAlgorithm DEFAULT mgf1SHA1、pSourceAlgorithm[2]PSourceAlgorithm DEFAULT pSpecifiedEmpty

--
-- Identifier for default RSAES-OAEP algorithm identifier.
-- The DER Encoding of this is in hexadecimal:
-- (0x)30 0D
--        06 09
--           2A 86 48 86 F7 0D 01 01 07
--        30 00
-- Notice that the DER encoding of default values is "empty".
--

-- -- デフォルトRSAES-OAEPアルゴリズム識別子のための識別子。 -- 16進にはこのDER Encodingがあります: -- (0x)30 0D(06 09 -- 2 86 48 86F7 0D01 01 07 -- 30 00)は、デフォルト値のDERコード化が「空であること」に気付きます。 --

rSAES-OAEP-Default-Identifier    RSAES-AlgorithmIdentifier ::= {
    algorithm   id-RSAES-OAEP,
    parameters  RSAES-OAEP-params : {
        hashAlgorithm       sha1,
        maskGenAlgorithm    mgf1SHA1,
        pSourceAlgorithm    pSpecifiedEmpty
    }
}

rSAES-OAEPデフォルト識別子RSAES-AlgorithmIdentifier:、:= パラメタRSAES-OAEP-params: アルゴリズムイド-RSAES-OAEP、hashAlgorithm sha1、maskGenAlgorithm mgf1SHA1、pSourceAlgorithm pSpecifiedEmpty

RSAES-AlgorithmIdentifier ::=
    AlgorithmIdentifier { {PKCS1Algorithms} }

RSAES-AlgorithmIdentifier:、:= AlgorithmIdentifierPKCS1Algorithms

--
-- AlgorithmIdentifier.parameters for id-RSASSA-PSS.
-- Note that the tags in this Sequence are explicit.
--
RSASSA-PSS-params ::= SEQUENCE {
    hashAlgorithm      [0] HashAlgorithm      DEFAULT sha1,
    maskGenAlgorithm   [1] MaskGenAlgorithm   DEFAULT mgf1SHA1,
    saltLength         [2] INTEGER            DEFAULT 20,
    trailerField       [3] TrailerField       DEFAULT trailerFieldBC
}

-- -- イド-RSASSA-PSSのためのAlgorithmIdentifier.parameters。 -- このSequenceのタグが明白であることに注意してください。 -- RSASSA-PSS-params:、:= 系列hashAlgorithm[0]HashAlgorithm DEFAULT sha1、maskGenAlgorithm[1]MaskGenAlgorithm DEFAULT mgf1SHA1、saltLength[2]INTEGER DEFAULT20、trailerField[3]TrailerField DEFAULT trailerFieldBC

TrailerField ::= INTEGER { trailerFieldBC(1) }

TrailerField:、:= 整数trailerFieldBC(1)

--
-- Identifier for default RSASSA-PSS algorithm identifier
-- The DER Encoding of this is in hexadecimal:
-- (0x)30 0D
--        06 09
--           2A 86 48 86 F7 0D 01 01 0A
--        30 00
-- Notice that the DER encoding of default values is "empty".

-- -- デフォルトRSASSA-PSSアルゴリズム識別子のための識別子--16進にはこのDER Encodingがあります: -- (0x)30 0D--06 09 -- 2 デフォルトのDERコード化が「空であること」を評価する86 48 86F7 0D01 01 0A(30 00)通知。

Jonsson & Kaliski            Informational                     [Page 62]

RFC 3447        PKCS #1: RSA Cryptography Specifications   February 2003

イェンソンとKaliskiの情報[62ページ]のRFC3447PKCS#1: RSA暗号仕様2003年2月

--
rSASSA-PSS-Default-Identifier    RSASSA-AlgorithmIdentifier ::= {
    algorithm   id-RSASSA-PSS,
    parameters  RSASSA-PSS-params : {
        hashAlgorithm       sha1,
        maskGenAlgorithm    mgf1SHA1,
        saltLength          20,
        trailerField        trailerFieldBC
    }
}

-- rSASSA-PSSデフォルト識別子RSASSA-AlgorithmIdentifier:、:= パラメタRSASSA-PSS-params: アルゴリズムイド-RSASSA-PSS、hashAlgorithm sha1、maskGenAlgorithm mgf1SHA1、saltLength20、trailerField trailerFieldBC

RSASSA-AlgorithmIdentifier ::=
    AlgorithmIdentifier { {PKCS1Algorithms} }

RSASSA-AlgorithmIdentifier:、:= AlgorithmIdentifierPKCS1Algorithms

--
-- Syntax for the EMSA-PKCS1-v1_5 hash identifier.
--
DigestInfo ::= SEQUENCE {
    digestAlgorithm DigestAlgorithm,
    digest OCTET STRING
}

-- -- EMSA-PKCS1-v1_5細切れ肉料理識別子のための構文。 -- DigestInfo:、:= 系列digestAlgorithm DigestAlgorithm、ダイジェストOCTET STRING

DigestAlgorithm ::=
    AlgorithmIdentifier { {PKCS1-v1-5DigestAlgorithms} }

DigestAlgorithm:、:= AlgorithmIdentifierPKCS1-v1-5DigestAlgorithms

END  -- PKCS1Definitions

終わり--PKCS1Definitions

Appendix D. Intellectual Property Considerations

付録D.知的所有権問題

   The RSA public-key cryptosystem is described in U.S. Patent
   4,405,829, which expired on September 20, 2000.  RSA Security Inc.
   makes no other patent claims on the constructions described in this
   document, although specific underlying techniques may be covered.

RSA公開カギ暗号系は米国Patent4,405,829で説明されます。(Patentは2000年9月20日に期限が切れました)。 RSA Security Inc.は構造の他の特許請求の範囲について全く本書では説明させません、特定の基本的なテクニックがカバーされているかもしれませんが。

   Multi-prime RSA is described in U.S. Patent 5,848,159.

マルチ主要なRSAは米国Patent5,848,159で説明されます。

   The University of California has indicated that it has a patent
   pending on the PSS signature scheme [5].  It has also provided a
   letter to the IEEE P1363 working group stating that if the PSS
   signature scheme is included in an IEEE standard, "the University of
   California will, when that standard is adopted, FREELY license any
   conforming implementation of PSS as a technique for achieving a
   digital signature with appendix" [23].  The PSS signature scheme is
   specified in the IEEE P1363a draft [27], which was in ballot
   resolution when this document was published.

カリフォルニア大学は、PSS署名計画[5]に懸案中の特許を持っているのを示しました。 また、それはPSS署名計画がIEEE規格、「その規格が採用されて、カリフォルニア大学がそうして、FREELYライセンスは付録によるデジタル署名を達成するためのテクニックとしてのPSSのあらゆる従う実現であること」の[23]に含まれているならそれを述べるIEEE P1363ワーキンググループへの手紙を提供しました。 PSS署名計画はこのドキュメントが発表されたとき投票解決中であるIEEE P1363a草稿[27]で指定されます。

Jonsson & Kaliski            Informational                     [Page 63]

RFC 3447        PKCS #1: RSA Cryptography Specifications   February 2003

イェンソンとKaliskiの情報[63ページ]のRFC3447PKCS#1: RSA暗号仕様2003年2月

   License to copy this document is granted provided that it is
   identified as "RSA Security Inc.  Public-Key Cryptography Standards
   (PKCS)" in all material mentioning or referencing this document.

「RSAセキュリティ株式会社公開鍵暗号化標準(PKCS)」としてそれを特定すれば、このドキュメントに言及するか、または参照をつけながら、すべての材料の中でこのドキュメントをコピーするライセンスを与えます。

   RSA Security Inc. makes no other representations regarding
   intellectual property claims by other parties.  Such determination is
   the responsibility of the user.

RSA Security Inc.は相手による知的所有権クレームに関する他の表現を全くしません。 そのような決断はユーザの責任です。

Appendix E. Revision history

付録E.Revision歴史

   Versions 1.0 - 1.3

バージョン1.0--1.3

      Versions 1.0 - 1.3 were distributed to participants in RSA Data
      Security, Inc.'s Public-Key Cryptography Standards meetings in
      February and March 1991.

バージョン1.0--1.3は2月のRSA Data Security Inc.の公開鍵暗号化標準ミーティングと1991年3月に関係者に分配されました。

   Version 1.4

バージョン1.4

      Version 1.4 was part of the June 3, 1991 initial public release of
      PKCS.  Version 1.4 was published as NIST/OSI Implementors'
      Workshop document SEC-SIG-91-18.

バージョン1.4はPKCSの1991年6月3日の初期の公共のリリースの一部でした。 NIST/OSI ImplementorsのWorkshopがSEC SIG91-18を記録するとき、バージョン1.4は発行されました。

   Version 1.5

バージョン1.5

      Version 1.5 incorporated several editorial changes, including
      updates to the references and the addition of a revision history.
      The following substantive changes were made:

バージョン1.5は改訂履歴の参照と添加にアップデートを含む数回の編集の変化を取り入れました。 以下の実質的な変更は行われました:

      -  Section 10: "MD4 with RSA" signature and verification processes
         were added.
      -  Section 11: md4WithRSAEncryption object identifier was added.

- セクション10: 「RSAとMD4」署名と検証の過程は加えられました。 - セクション11: md4WithRSAEncryption物の識別子は加えられました。

      Version 1.5 was republished as IETF RFC 2313.

バージョン1.5はIETF RFC2313として再刊されました。

   Version 2.0

バージョン2.0

      Version 2.0 incorporated major editorial changes in terms of the
      document structure and introduced the RSAES-OAEP encryption
      scheme.  This version continued to support the encryption and
      signature processes in version 1.5, although the hash algorithm
      MD4 was no longer allowed due to cryptanalytic advances in the
      intervening years.  Version 2.0 was republished as IETF RFC 2437
      [35].

バージョン2.0は、ドキュメント構造に関して主要な編集の変化を取り入れて、RSAES-OAEP暗号化計画を導入しました。 このバージョンは、バージョン1.5の暗号化と署名の過程を支持し続けていました、細切れ肉料理アルゴリズムMD4は介入している数年間でcryptanalytic進歩のためもう許容されませんでしたが。 バージョン2.0はIETF RFC2437[35]として再刊されました。

Jonsson & Kaliski            Informational                     [Page 64]

RFC 3447        PKCS #1: RSA Cryptography Specifications   February 2003

イェンソンとKaliskiの情報[64ページ]のRFC3447PKCS#1: RSA暗号仕様2003年2月

   Version 2.1

バージョン2.1

      Version 2.1 introduces multi-prime RSA and the RSASSA-PSS
      signature scheme with appendix along with several editorial
      improvements.  This version continues to support the schemes in
      version 2.0.

バージョン2.1はいくつかの編集の改良に伴う付録でマルチ主要なRSAとRSASSA-PSS署名計画を導入します。 このバージョンは、バージョン2.0での計画を支持し続けています。

Appendix F: References

付録F: 参照

   [1]   ANSI X9F1 Working Group.  ANSI X9.44 Draft D2: Key
         Establishment Using Integer Factorization Cryptography.
         Working Draft, March 2002.

[1] ANSI X9F1作業部会。 ANSI X9.44はD2を作成します: 整数縮約暗号を使用する主要な設立。 2002年3月の作業草案。

   [2]   M. Bellare, A. Desai, D. Pointcheval and P. Rogaway.  Relations
         Among Notions of Security for Public-Key Encryption Schemes.
         In H. Krawczyk, editor, Advances in Cryptology - Crypto '98,
         volume 1462 of Lecture Notes in Computer Science, pp. 26 - 45.
         Springer Verlag, 1998.

[2] M.Bellare、A.デセイ、D.Pointcheval、およびP.Rogaway。 公開カギ暗号化計画のためのセキュリティの概念の中の関係。 H.Krawczyk、暗号98年、コンピュータScience、ページの1462ボリュームエディタ、CryptologyのAdvances--Lecture Notesで 26 - 45. よりバネのVerlag、1998。

   [3]   M. Bellare and P. Rogaway.  Optimal Asymmetric Encryption - How
         to Encrypt with RSA.  In A. De Santis, editor, Advances in
         Cryptology - Eurocrypt '94, volume 950 of Lecture Notes in
         Computer Science, pp. 92 - 111.  Springer Verlag, 1995.

[3] M.BellareとP.Rogaway。 最適の非対称の暗号化--、どのように、RSAと共にコード化するために。 中、A.デ・サンティス、エディタ、CryptologyのAdvances--Eurocrypt94年、コンピュータScienceのLecture Notesの第950巻、ページ 92 - 111. よりバネのVerlag、1995。

   [4]   M. Bellare and P. Rogaway.  The Exact Security of Digital
         Signatures - How to Sign with RSA and Rabin.  In U. Maurer,
         editor, Advances in Cryptology - Eurocrypt '96, volume 1070 of
         Lecture Notes in Computer Science, pp. 399 - 416.  Springer
         Verlag, 1996.

[4] M.BellareとP.Rogaway。 デジタル署名の正確なセキュリティ--RSAとラビンと契約する方法。 U.モウラー、エディタ、Eurocrypt96年、コンピュータScience、ページの1070ボリュームCryptology--Lecture NotesのAdvancesで 399 - 416. よりバネのVerlag、1996。

   [5]   M. Bellare and P. Rogaway.  PSS: Provably Secure Encoding
         Method for Digital Signatures.  Submission to IEEE P1363
         working group, August 1998.  Available from
         http://grouper.ieee.org/groups/1363/.

[5] M.BellareとP.Rogaway。 PSS: コード化方法をデジタル署名に証明可能に保証してください。 1998年8月のIEEE P1363ワーキンググループへの服従。 http://grouper.ieee.org/groups/1363/ から、利用可能です。

   [6]   D. Bleichenbacher.  Chosen Ciphertext Attacks Against Protocols
         Based on the RSA Encryption Standard PKCS #1.  In H. Krawczyk,
         editor, Advances in Cryptology - Crypto '98, volume 1462 of
         Lecture Notes in Computer Science, pp. 1 - 12.  Springer
         Verlag, 1998.

[6] D.Bleichenbacher。 プロトコルに対する選ばれた暗号文攻撃は暗号化規格PKCS#1をRSAに基礎づけました。 H.Krawczyk、暗号98年、コンピュータScience、ページの1462ボリュームエディタ、CryptologyのAdvances--Lecture Notesで 1 - 12. よりバネのVerlag、1998。

   [7]   D. Bleichenbacher, B. Kaliski and J. Staddon.  Recent Results
         on PKCS #1: RSA Encryption Standard.  RSA Laboratories'
         Bulletin No. 7, June 1998.

[7] D.Bleichenbacher、B.Kaliski、およびJ.Staddon。 PKCS#1の最近の結果: RSA暗号化規格。 1998年6月のRSA研究所の報告No.7。

Jonsson & Kaliski            Informational                     [Page 65]

RFC 3447        PKCS #1: RSA Cryptography Specifications   February 2003

イェンソンとKaliskiの情報[65ページ]のRFC3447PKCS#1: RSA暗号仕様2003年2月

   [8]   B. den Boer and A. Bosselaers.  An Attack on the Last Two
         Rounds of MD4.  In J.  Feigenbaum, editor, Advances in
         Cryptology - Crypto '91, volume 576 of Lecture Notes in
         Computer Science, pp. 194 - 203.  Springer Verlag, 1992.

[8] B.穴のボーア人とA.Bosselaers。 MD4の最後の2ラウンドに対する攻撃。 中、J.ファイゲンバウム、エディタ、CryptologyのAdvances--暗号91年、コンピュータScienceのLecture Notesの第576巻、ページ 194 - 203. よりバネのVerlag、1992。

   [9]   B. den Boer and A. Bosselaers.  Collisions for the Compression
         Function of MD5.  In T. Helleseth, editor, Advances in
         Cryptology - Eurocrypt '93, volume 765 of Lecture Notes in
         Computer Science, pp. 293 - 304.  Springer Verlag, 1994.

[9] B.穴のボーア人とA.Bosselaers。 MD5の圧縮機能のための衝突。 中、T.Helleseth、エディタ、CryptologyのAdvances--Eurocrypt93年、コンピュータScienceのLecture Notesの第765巻、ページ 293 - 304. よりバネのVerlag、1994。

   [10]  D. Coppersmith, M. Franklin, J. Patarin and M. Reiter.  Low-
         Exponent RSA with Related Messages.  In U. Maurer, editor,
         Advances in Cryptology - Eurocrypt '96, volume 1070 of Lecture
         Notes in Computer Science, pp. 1 - 9.  Springer Verlag, 1996.

[10] D.銅細工師(M.フランクリン)J.PatarinとM.ライター症候群。 安値関連メッセージがある解説者RSA。 U.モウラー、エディタ、Eurocrypt96年、コンピュータScience、ページの1070ボリュームCryptology--Lecture NotesのAdvancesで 1 - 9. よりバネのVerlag、1996。

   [11]  D. Coppersmith, S. Halevi and C. Jutla.  ISO 9796-1 and the New
         Forgery Strategy.  Presented at the rump session of Crypto '99,
         August 1999.

[11]D.銅細工師、S.ハレビ、およびC.Jutla。 ISO9796-1と新しい偽造戦略。 Cryptoの臀部セッションのときに、'99、1999年8月'を提示しました。

   [12]  J.-S. Coron.  On the Exact Security of Full Domain Hashing.  In
         M. Bellare, editor, Advances in Cryptology - Crypto 2000,
         volume 1880 of Lecture Notes in Computer Science, pp. 229 -
         235.  Springer Verlag, 2000.

[12] J.-S。 Coron。 完全なドメインの論じ尽くすことの正確なセキュリティに関して。 M.Bellare、暗号2000、コンピュータScience、ページの1880ボリュームエディタ、CryptologyのAdvances--Lecture Notesで 229 - 235. よりバネのVerlag、2000。

   [13]  J.-S. Coron.  Optimal Security Proofs for PSS and Other
         Signature Schemes.   In L. Knudsen, editor, Advances in
         Cryptology - Eurocrypt 2002, volume 2332 of Lecture Notes in
         Computer Science, pp. 272 - 287.  Springer Verlag, 2002.

[13] J.-S。 Coron。 最適のセキュリティはPSSと他の署名のために計画を検査します。 L.クヌーセン、エディタ、Eurocrypt Cryptology--2002、コンピュータScienceのLecture Notesの第2332巻、ページのAdvancesで 272 - 287. よりバネのVerlag、2002。

   [14]  J.-S. Coron, M. Joye, D. Naccache and P. Paillier.  New Attacks
         on PKCS #1 v1.5 Encryption.  In B. Preneel, editor, Advances in
         Cryptology - Eurocrypt 2000, volume 1807 of Lecture Notes in
         Computer Science, pp. 369 - 379.  Springer Verlag, 2000.

[14] J.-S。 Coron、M.Joye、D.Naccache、およびP.Paillier。 PKCS#1v1.5 Encryptionの上の新しいAttacks。 B.Preneel、エディタ、Eurocrypt Cryptology--2000、コンピュータScienceのLecture Notesの第1807巻、ページのAdvancesで 369 - 379. よりバネのVerlag、2000。

   [15]  J.-S. Coron, D. Naccache and J. P. Stern.  On the Security of
         RSA Padding.  In M. Wiener, editor, Advances in Cryptology -
         Crypto '99, volume 1666 of Lecture Notes in Computer Science,
         pp. 1 - 18.  Springer Verlag, 1999.

[15] J.-S。 Coron、D.Naccache、およびJ.P.スターン。 RSA詰め物のセキュリティに関して。 M.Wiener、暗号'99、コンピュータScienceの1666ボリュームエディタ、CryptologyのAdvances--Lecture Notesでページ、' 1 - 18. よりバネのVerlag、1999。

   [16]  Y. Desmedt and A.M. Odlyzko.  A Chosen Text Attack on the RSA
         Cryptosystem and Some Discrete Logarithm Schemes.  In H.C.
         Williams, editor, Advances in Cryptology - Crypto '85, volume
         218 of Lecture Notes in Computer Science, pp. 516 - 522.
         Springer Verlag, 1986.

[16]Y.Desmedtと午前Odlyzko。 RSA暗号系と何らかの離散対数に対する選ばれたテキスト攻撃は計画されます。 中、H.C.ウィリアムズ、エディタ、CryptologyのAdvances--暗号85年、コンピュータScienceのLecture Notesの第218巻、ページ 516 - 522. よりバネのVerlag、1986。

   [17]  Dierks, T. and C. Allen, "The TLS Protocol, Version 1.0", RFC
         2246, January 1999.

[17] Dierks、T.、およびC.アレン、「TLSはRFC2246、1999年1月についてバージョン1インチ議定書の中で述べます」。

Jonsson & Kaliski            Informational                     [Page 66]

RFC 3447        PKCS #1: RSA Cryptography Specifications   February 2003

イェンソンとKaliskiの情報[66ページ]のRFC3447PKCS#1: RSA暗号仕様2003年2月

   [18]  H. Dobbertin.  Cryptanalysis of MD4.  In D. Gollmann, editor,
         Fast Software Encryption '96, volume 1039 of Lecture Notes in
         Computer Science, pp. 55 - 72.  Springer Verlag, 1996.

[18] H.Dobbertin。 MD4の暗号文解読術。 D.Gollmann、エディタ、Fast Software Encryption96年、コンピュータScience、ページのLecture Notesの第1039巻で 55 - 72. よりバネのVerlag、1996。

   [19]  H. Dobbertin.  Cryptanalysis of MD5 Compress.  Presented at the
         rump session of Eurocrypt '96, May 1996.

[19] H.Dobbertin。 MD5湿布の暗号文解読術。 Eurocryptの臀部セッションのときに、1996年5月96年の間、提示されます。

   [20]  H. Dobbertin.  The First Two Rounds of MD4 are Not One-Way.  In
         S. Vaudenay, editor, Fast Software Encryption '98, volume 1372
         in Lecture Notes in Computer Science, pp. 284 - 292.  Springer
         Verlag, 1998.

[20] H.Dobbertin。 MD4のFirst Two RoundsはNot One-道です。 S.Vaudenay、エディタ、Fast Software Encryption98年、コンピュータScience、ページのLecture Notesの第1372巻で 284 - 292. よりバネのVerlag、1998。

   [21]  E. Fujisaki, T. Okamoto, D. Pointcheval and J. Stern.  RSA-OAEP
         is Secure under the RSA Assumption.  In J. Kilian, editor,
         Advances in Cryptology - Crypto 2001, volume 2139 of Lecture
         Notes in Computer Science, pp. 260 - 274.  Springer Verlag,
         2001.

[21] E.藤崎、T.岡本、D.Pointcheval、およびJ.スターン。 RSA-OAEPはRSA Assumptionの下のSecureです。 J.キリアン、エディタ、暗号2001、コンピュータScience、ページの2139ボリュームCryptology--Lecture NotesのAdvancesで 260 - 274. よりバネのVerlag、2001。

   [22]  H. Garner.  The Residue Number System.  IRE Transactions on
         Electronic Computers, EC-8 (6), pp. 140 - 147, June 1959.

[22] H.ガーナー。 残り数体系。 Electronicコンピュータの上のIRE Transactions、EC-8(6)、ページ 1959年6月の140--147。

   [23]  M.L. Grell.  Re: Encoding Methods PSS/PSS-R.  Letter to IEEE
         P1363 working group, University of California, June 15, 1999.
         Available from
         http://grouper.ieee.org/groups/1363/P1363/patents.html.

[23] M.L.Grell。 Re: 方法PSS/PSS-Rをコード化します。 1999年6月15日のIEEE P1363ワーキンググループ、カリフォルニア大学への手紙。 http://grouper.ieee.org/groups/1363/P1363/patents.html から、利用可能です。

   [24]  J. Haastad.  Solving Simultaneous Modular Equations of Low
         Degree.  SIAM Journal of Computing, volume 17, pp. 336 - 341,
         1988.

[24] J.Haastad。 低度の同時のモジュールの方程式を解決します。 ComputingのシャムJournal、第17巻、ページ 336 - 341, 1988.

   [25]  Housley, R., "Cryptographic Message Syntax (CMS)", RFC 3369,
         August 2002.  Housley, R., "Cryptographic Message Syntax (CMS)
         Algorithms", RFC 3370, August 2002.

[25]Housley、R.、「暗号のメッセージ構文(cm)」、RFC3369、2002年8月。 Housley、R.、「暗号のメッセージ構文(cm)アルゴリズム」、RFC3370、2002年8月。

   [26]  IEEE Std 1363-2000: Standard Specifications for Public Key
         Cryptography.  IEEE, August 2000.

[26] IEEE Std1363-2000: 公開鍵暗号のための標準の仕様。 2000年8月のIEEE。

   [27]  IEEE P1363 working group.  IEEE P1363a D11: Draft Standard
         Specifications for Public Key Cryptography -- Amendment 1:
         Additional Techniques. December 16, 2002.  Available from
         http://grouper.ieee.org/groups/1363/.

[27] IEEE P1363ワーキンググループ。 IEEE P1363a D11: 公開鍵暗号のための草稿の標準の仕様--修正1: 追加テクニック。 2002年12月16日。 http://grouper.ieee.org/groups/1363/ から、利用可能です。

   [28]  ISO/IEC 9594-8:1997: Information technology - Open Systems
         Interconnection - The Directory: Authentication Framework.
         1997.

[28] ISO/IEC9594-8:1997: 情報技術--オープン・システム・インターコネクション--ディレクトリ: 認証枠組み。 1997.

Jonsson & Kaliski            Informational                     [Page 67]

RFC 3447        PKCS #1: RSA Cryptography Specifications   February 2003

イェンソンとKaliskiの情報[67ページ]のRFC3447PKCS#1: RSA暗号仕様2003年2月

   [29]  ISO/IEC FDIS 9796-2: Information Technology - Security
         Techniques - Digital Signature Schemes Giving Message Recovery
         - Part 2: Integer Factorization Based Mechanisms.  Final Draft
         International Standard, December 2001.

[29] ISO/IEC FDIS9796-2: 情報技術--セキュリティのテクニック--デジタル署名は回復--第2部をメッセージに与えながら、計画されます: 整数縮約はメカニズム最終的な国際規格案、2001年12月を基礎づけました。

   [30]  ISO/IEC 18033-2: Information Technology - Security Techniques -
         Encryption Algorithms - Part 2: Asymmetric Ciphers.  V. Shoup,
         editor, Text for 2nd Working Draft, January 2002.

[30] ISO/IEC18033-2: 情報技術--セキュリティのテクニック--暗号化アルゴリズム--第2部: 非対称の暗号。 V。 シャウプ、エディタ、第2作業草案、2002年1月のためのText。

   [31]  J. Jonsson.  Security Proof for the RSA-PSS Signature Scheme
         (extended abstract).  Second Open NESSIE Workshop.  September
         2001.  Full version available from
         http://eprint.iacr.org/2001/053/.

[31] J.イェンソン。 RSA-PSS Signature Scheme(拡張要約)のためのセキュリティProof。 第2開いているネッシーワークショップ。 2001年9月。 http://eprint.iacr.org/2001/053/ から利用可能な完全版。

   [32]  J. Jonsson and B. Kaliski.  On the Security of RSA Encryption
         in TLS.  In M. Yung, editor, Advances in Cryptology - CRYPTO
         2002, vol. 2442 of Lecture Notes in Computer Science, pp. 127 -
         142.  Springer Verlag, 2002.

[32] J.イェンソンとB.Kaliski。 TLSのRSA暗号化のセキュリティに関して。 M.ヨン、エディタ、CRYPTO Cryptology--2002、コンピュータScienceのLecture Notesのvol.2442、ページのAdvancesで 127 - 142. よりバネのVerlag、2002。

   [33]  Kaliski, B., "The MD2 Message-Digest Algorithm", RFC 1319,
         April 1992.

[33]Kaliski、B.、「MD2メッセージダイジェストアルゴリズム」、RFC1319、1992年4月。

   [34]  B. Kaliski.  On Hash Function Identification in Signature
         Schemes.  In B. Preneel, editor, RSA Conference 2002,
         Cryptographers' Track, volume 2271 of Lecture Notes in Computer
         Science, pp. 1 - 16.  Springer Verlag, 2002.

[34] B.Kaliski。 ハッシュ関数に、署名における識別は計画されます。 B.Preneel、エディタ、RSAコンファレンス2002、CryptographersのTrack、コンピュータScience、ページのLecture Notesの第2271巻で 1 - 16. よりバネのVerlag、2002。

   [35]  Kaliski, B. and J. Staddon, "PKCS #1: RSA Cryptography
         Specifications Version 2.0", RFC 2437, October 1998.

[35]Kaliski、B.、およびJ.Staddon、「PKCS#1:」 RSA暗号仕様バージョン2インチ、RFC2437、10月1998日

   [36]  J. Manger.  A Chosen Ciphertext Attack on RSA Optimal
         Asymmetric Encryption Padding (OAEP) as Standardized in PKCS #1
         v2.0. In J. Kilian, editor, Advances in Cryptology - Crypto
         2001, volume 2139 of Lecture Notes in Computer Science, pp. 260
         - 274.  Springer Verlag, 2001.

[36] J.飼葉桶。 PKCS#1v2.0のStandardizedとしてのRSA Optimal Asymmetric Encryption Padding(OAEP)の上のChosen Ciphertext Attack。 J.キリアン、エディタ、暗号2001、コンピュータScience、ページの2139ボリュームCryptology--Lecture NotesのAdvancesで 260 - 274. よりバネのVerlag、2001。

   [37]  A. Menezes, P. van Oorschot and S. Vanstone.  Handbook of
         Applied Cryptography.  CRC Press, 1996.

[37] A.メネゼス、P.はOorschotとS.Vanstoneをバンに積みます。 適用された暗号のハンドブック。 CRCプレス、1996。

   [38]  National Institute of Standards and Technology (NIST).  FIPS
         Publication 180-1: Secure Hash Standard.  April 1994.

[38] 米国商務省標準技術局(NIST)。 FIPS公表180-1: 細切れ肉料理規格を保証してください。 1994年4月。

   [39]  National Institute of Standards and Technology (NIST).  Draft
         FIPS 180-2: Secure Hash Standard.  Draft, May 2001.  Available
         from http://www.nist.gov/sha/.

[39] 米国商務省標準技術局(NIST)。 FIPS180-2を作成してください: 細切れ肉料理規格を保証してください。 2001年5月に、作成します。 http://www.nist.gov/sha/ から、利用可能です。

Jonsson & Kaliski            Informational                     [Page 68]

RFC 3447        PKCS #1: RSA Cryptography Specifications   February 2003

イェンソンとKaliskiの情報[68ページ]のRFC3447PKCS#1: RSA暗号仕様2003年2月

   [40]  J.-J. Quisquater and C. Couvreur.  Fast Decipherment Algorithm
         for RSA Public-Key Cryptosystem.  Electronics Letters, 18 (21),
         pp. 905 - 907, October 1982.

[40] J.-J。 QuisquaterとC.クブルール。 RSA公開カギ暗号系のための速い解読アルゴリズム。 エレクトロニクスLetters、18(21)、ページ 1982年10月の905--907。

   [41]  Rivest, R., "The MD5 Message-Digest Algorithm", RFC 1321, April
         1992.

[41] 1992年4月、最もRivestなR.、「MD5メッセージダイジェストアルゴリズム」RFC1321。

   [42]  R. Rivest, A. Shamir and L. Adleman.  A Method for Obtaining
         Digital Signatures and Public-Key Cryptosystems.
         Communications of the ACM, 21 (2), pp. 120-126, February 1978.

[42] 最もRivestなR.A.シャミルとL.Adleman。 Public主要なCryptosystems Obtaining Digital SignaturesのためのMethodとACM、21(2)、ページのコミュニケーション 120-126と、1978年2月。

   [43]  N. Rogier and P. Chauvaud.  The Compression Function of MD2 is
         not Collision Free.  Presented at Selected Areas of
         Cryptography '95.  Carleton University, Ottawa, Canada.  May
         1995.

[43] N.ロジエとP.Chauvaud。 MD2のCompression FunctionはCollision Freeではありません。 暗号の選択された領域では、95年を提示しました。 カールトン大学、オタワ、カナダ。 1995年5月。

   [44]  RSA Laboratories.  PKCS #1 v2.0: RSA Encryption Standard.
         October 1998.

[44] RSA研究所。 PKCS#1v2.0: RSA暗号化規格。 1998年10月。

   [45]  RSA Laboratories.  PKCS #7 v1.5: Cryptographic Message Syntax
         Standard.  November 1993.  (Republished as IETF RFC 2315.)

[45] RSA研究所。 PKCS#7v1.5: 暗号のメッセージ構文規格。 1993年11月。 (IETF RFC2315として、再刊されます。)

   [46]  RSA Laboratories.  PKCS #8 v1.2: Private-Key Information Syntax
         Standard.  November 1993.

[46] RSA研究所。 PKCS#8v1.2: 秘密鍵情報構文規格。 1993年11月。

   [47]  RSA Laboratories.  PKCS #12 v1.0: Personal Information Exchange
         Syntax Standard.  June 1999.

[47] RSA研究所。 PKCS#12v1.0: 個人情報交換構文規格。 1999年6月。

   [48]  V. Shoup.  OAEP Reconsidered.  In J. Kilian, editor, Advances
         in Cryptology - Crypto 2001, volume 2139 of Lecture Notes in
         Computer Science, pp. 239 - 259.  Springer Verlag, 2001.

[48] V.シャウプ。 OAEPは再考しました。 J.キリアン、エディタ、暗号2001、コンピュータScience、ページの2139ボリュームCryptology--Lecture NotesのAdvancesで 239 - 259. よりバネのVerlag、2001。

   [49]  R. D. Silverman.  A Cost-Based Security Analysis of Symmetric
         and Asymmetric Key Lengths.  RSA Laboratories Bulletin No. 13,
         April 2000.  Available from
         http://www.rsasecurity.com.rsalabs/bulletins/.

[49] R.D.シルバーマン。 左右対称の、そして、非対称のキー長の費用ベースの証券分析。 2000年4月のRSA研究所報告No.13。 http://www.rsasecurity.com.rsalabs/bulletins/ から、利用可能です。

   [50]  G. J. Simmons.  Subliminal communication is easy using the DSA.
         In T. Helleseth, editor, Advances in Cryptology - Eurocrypt
         '93, volume 765 of Lecture Notes in Computer Science, pp. 218-
         232.  Springer-Verlag, 1993.

[50] G.J.シモンズ。 識閾下のコミュニケーションはDSAを使用するのにおいて簡単です。 中、T.Helleseth、エディタ、CryptologyのAdvances--Eurocrypt93年、コンピュータScienceのLecture Notesの第765巻、ページ 218- 232. 追出石-Verlag、1993。

Jonsson & Kaliski            Informational                     [Page 69]

RFC 3447        PKCS #1: RSA Cryptography Specifications   February 2003

イェンソンとKaliskiの情報[69ページ]のRFC3447PKCS#1: RSA暗号仕様2003年2月

Appendix G: About PKCS

付録G: PKCSに関して

   The Public-Key Cryptography Standards are specifications produced by
   RSA Laboratories in cooperation with secure systems developers
   worldwide for the purpose of accelerating the deployment of
   public-key cryptography.  First published in 1991 as a result of
   meetings with a small group of early adopters of public-key
   technology, the PKCS documents have become widely referenced and
   implemented.  Contributions from the PKCS series have become part of
   many formal and de facto standards, including ANSI X9 and IEEE P1363
   documents, PKIX, SET, S/MIME, SSL/TLS, and WAP/WTLS.

公開鍵暗号化標準は公開カギ暗号の展開を加速する目的のために世界中の安全なシステム開発者と提携してRSA研究所によって作り出された仕様です。 まず最初に、1991年に公開カギ技術の初期採用者の小さいグループとのミーティングの結果、発行されています、PKCSドキュメントは広く参照をつけられて実行されるようになりました。 PKCSシリーズからの貢献は多くの正式で事実上の規格の一部になりました、ANSI X9、IEEE P1363ドキュメント、PKIX、SET、S/MIME、SSL/TLS、およびワップ/WTLSを含んでいて。

   Further development of PKCS occurs through mailing list discussions
   and occasional workshops, and suggestions for improvement are
   welcome.  For more information, contact:

PKCSのさらなる開発はメーリングリスト議論と時々のワークショップで起こります、そして、改善提案を歓迎します。 詳しくは、以下に連絡してください。

      PKCS Editor
      RSA Laboratories
      174 Middlesex Turnpike
      Bedford, MA  01730 USA
      pkcs-editor@rsasecurity.com
      http://www.rsasecurity.com/rsalabs/pkcs

PKCS Editor RSA研究所174ミドルセックスTurnpikeベッドフォード(MA)01730米国 pkcs-editor@rsasecurity.com http://www.rsasecurity.com/rsalabs/pkcs

Appendix H: Corrections Made During RFC Publication Process

付録H: RFC公表の過程の間にされた修正

   The following corrections were made in converting the PKCS #1 v2.1
   document to this RFC:

PKCS#1v2.1ドキュメントをこのRFCに変換する際に以下の修正をしました:

   *  The requirement that the parameters in an AlgorithmIdentifier
      value for id-sha1, id-sha256, id-sha384, and id-sha512 be NULL was
      changed to a recommendation that the parameters be omitted (while
      still allowing the parameters to be NULL). This is to align with
      the definitions originally promulgated by NIST. Implementations
      MUST accept AlgorithmIdentifier values both without parameters and
      with NULL parameters.

* イド-sha1、イド-sha256、イド-sha384、およびイド-sha512のためのAlgorithmIdentifier値におけるパラメタがNULLであるという要件はパラメタが省略されるという推薦に変わりました(パラメタがNULLであることをまだ許容している間)。 これは元々NISTによって公表される定義に並ぶことになっています。実現はパラメタなしでNULLパラメタでAlgorithmIdentifier値を受け入れなければなりません。

   *  The notes after RSADP and RSASP1 (Secs. 5.1.2 and 5.2.1) were
      corrected to refer to step 2.b rather than 2.a.

* RSADPとRSASP1の後の注意(Secs。 5.1.2、5.2、.1) 2.aよりむしろステップ2.bについて言及するために、修正されました。

   *  References [25], [27] and [32] were updated to reflect new
      publication data.

* 新刊書データを反映するために参照[25]、[27]、および[32]をアップデートしました。

   These corrections will be reflected in future editions of PKCS #1
   v2.1.

これらの修正は将来版を重ねるにあたってPKCS#1v2.1について反映されるでしょう。

Security Considerations

セキュリティ問題

   Security issues are discussed throughout this memo.

このメモ中で安全保障問題について議論します。

Jonsson & Kaliski            Informational                     [Page 70]

RFC 3447        PKCS #1: RSA Cryptography Specifications   February 2003

イェンソンとKaliskiの情報[70ページ]のRFC3447PKCS#1: RSA暗号仕様2003年2月

Acknowledgements

承認

   This document is based on a contribution of RSA Laboratories, the
   research center of RSA Security Inc.  Any substantial use of the text
   from this document must acknowledge RSA Security Inc.  RSA Security
   Inc. requests that all material mentioning or referencing this
   document identify this as "RSA Security Inc. PKCS #1 v2.1".

このドキュメントはRSA研究所の貢献に基づいていて、このドキュメントからのテキストのRSA Securityの株式会社のAnyのかなりの使用のリサーチセンターはこのドキュメントに言及するか、または参照をつけるすべての材料が、これが「RSA Security Inc.PKCS#1v2.1"」であると認識するというRSA Security株式会社RSA Security株式会社要求を承諾しなければなりません。

Authors' Addresses

作者のアドレス

   Jakob Jonsson
   Philipps-Universitaet Marburg
   Fachbereich Mathematik und Informatik
   Hans Meerwein Strasse, Lahnberge
   DE-35032 Marburg
   Germany

ジェイコブイェンソンPhilipps-UniversitaetマールブルクFachbereich Mathematik und InformatikハンスMeerweinストラッセ、Lahnberge DE-35032マールブルクドイツ

   Phone: +49 6421 28 25672
   EMail: jonsson@mathematik.uni-marburg.de

以下に電話をしてください。 +49 6421 28 25672はメールされます: jonsson@mathematik.uni-marburg.de

   Burt Kaliski
   RSA Laboratories
   174 Middlesex Turnpike
   Bedford, MA 01730 USA

バートKaliski RSA研究所174のミドルセックスTurnpike MA01730ベッドフォード(米国)

   Phone: +1 781 515 7073
   EMail: bkaliski@rsasecurity.com

以下に電話をしてください。 +1 7073年の781 515メール: bkaliski@rsasecurity.com

Jonsson & Kaliski            Informational                     [Page 71]

RFC 3447        PKCS #1: RSA Cryptography Specifications   February 2003

イェンソンとKaliskiの情報[71ページ]のRFC3447PKCS#1: RSA暗号仕様2003年2月

Full Copyright Statement

完全な著作権宣言文

   Copyright (C) The Internet Society 2003.  All Rights Reserved.

Copyright(C)インターネット協会2003。 All rights reserved。

   This document and translations of it may be copied and furnished to
   others provided that the above copyright notice and this paragraph
   are included on all such copies.  However, this document itself may
   not be modified in any way, such as by removing the copyright notice
   or references to the Internet Society or other Internet
   organizations, except as required to translate it into languages
   other than English.

そのようなすべてのコピーの上に上の版権情報とこのパラグラフを含んでいれば、それに関するこのドキュメントと翻訳をコピーして、他のものに提供するかもしれません。 しかしながら、このドキュメント自体は、それを英語以外の言語に翻訳するようにインターネット協会か他のインターネット組織の版権情報か参照を取り除くことなどのどんな方法、必要に応じても変更されないかもしれません。

   The limited permissions granted above are perpetual and will not be
   revoked by the Internet Society or its successors or assigns.

上に承諾された限られた許容は、永久であり、インターネット協会、後継者または案配によって取り消されないでしょう。

   This document and the information contained herein is provided on an
   "AS IS" basis and THE INTERNET SOCIETY AND THE INTERNET ENGINEERING
   TASK FORCE DISCLAIMS ALL WARRANTIES, EXPRESS OR IMPLIED, INCLUDING
   BUT NOT LIMITED TO ANY WARRANTY THAT THE USE OF THE INFORMATION
   HEREIN WILL NOT INFRINGE ANY RIGHTS OR ANY IMPLIED WARRANTIES OF
   MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE.

このドキュメントとそして、「そのままで」という基礎とインターネットの振興発展を目的とする組織に、インターネット・エンジニアリング・タスク・フォースが速達の、または、暗示しているすべての保証を放棄するかどうかというここにことであり、他を含んでいて、含まれて、情報の使用がここに侵害しないどんな保証も少しもまっすぐになるという情報か市場性か特定目的への適合性のどんな黙示的な保証。

Acknowledgement

承認

   Funding for the RFC Editor function is currently provided by the
   Internet Society.

RFC Editor機能のための基金は現在、インターネット協会によって提供されます。

Jonsson & Kaliski            Informational                     [Page 72]

イェンソンとKaliski情報です。[72ページ]

一覧

 RFC 1〜100  RFC 1401〜1500  RFC 2801〜2900  RFC 4201〜4300 
 RFC 101〜200  RFC 1501〜1600  RFC 2901〜3000  RFC 4301〜4400 
 RFC 201〜300  RFC 1601〜1700  RFC 3001〜3100  RFC 4401〜4500 
 RFC 301〜400  RFC 1701〜1800  RFC 3101〜3200  RFC 4501〜4600 
 RFC 401〜500  RFC 1801〜1900  RFC 3201〜3300  RFC 4601〜4700 
 RFC 501〜600  RFC 1901〜2000  RFC 3301〜3400  RFC 4701〜4800 
 RFC 601〜700  RFC 2001〜2100  RFC 3401〜3500  RFC 4801〜4900 
 RFC 701〜800  RFC 2101〜2200  RFC 3501〜3600  RFC 4901〜5000 
 RFC 801〜900  RFC 2201〜2300  RFC 3601〜3700  RFC 5001〜5100 
 RFC 901〜1000  RFC 2301〜2400  RFC 3701〜3800  RFC 5101〜5200 
 RFC 1001〜1100  RFC 2401〜2500  RFC 3801〜3900  RFC 5201〜5300 
 RFC 1101〜1200  RFC 2501〜2600  RFC 3901〜4000  RFC 5301〜5400 
 RFC 1201〜1300  RFC 2601〜2700  RFC 4001〜4100  RFC 5401〜5500 
 RFC 1301〜1400  RFC 2701〜2800  RFC 4101〜4200 

スポンサーリンク

vmstat メモリーやCPUの負荷率や使用状況を表示する

ホームページ製作・web系アプリ系の製作案件募集中です。

上に戻る