Network Working Group                                         B. Kaliski
Request for Comments: 5208                                           EMC
Category: Informational                                         May 2008
        
             Public-Key Cryptography Standards (PKCS) #8:
        Private-Key Information Syntax Specification Version 1.2
        

Status of This 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.

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

IESG Note

IESG注意

The IESG thanks RSA Laboratories for transferring change control to the IETF. Enhancements to this specification that preserve backward compatibility are expected in an upcoming IETF standards track document.

IETFへの変更管理を転送するためのIESGのおかげRSA研究所。下位互換性を維持するこの仕様の強化が今後のIETF標準トラック文書に期待されています。

Abstract

抽象

This document represents a republication of PKCS #8 v1.2 from RSA Laboratories' Public Key Cryptography Standard (PKCS) series. Change control is transferred to the IETF. The body of this document, except for the security considerations section, is taken directly from the PKCS #8 v1.2 specification.

この文書では、RSA Laboratoriesの公開鍵暗号化標準(PKCS)シリーズからPKCS#8 V1.2の再発行を表します。変更管理は、IETFに転送されます。このドキュメントの本体は、セキュリティ上の考慮事項のセクションを除いて、PKCS#8 V1.2仕様から直接取得されます。

This document describes a syntax for private-key information.

この文書では、プライベート・キー情報の構文について説明します。

Table of Contents

目次

   1. Introduction ....................................................2
   2. Definitions .....................................................2
   3. Symbols and Abbreviations .......................................2
   4. General Overview ................................................2
   5. Private-Key Information Syntax ..................................3
   6. Encrypted Private-Key Information Syntax ........................4
   7. Security Considerations .........................................4
   Appendix A. ASN.1 Syntax ...........................................5
   Informative References .............................................6
        
1. Introduction
1. はじめに

This document describes a syntax for private-key information. Private-key information includes a private key for some public-key algorithm and a set of attributes. The document also describes a syntax for encrypted private keys. A password-based encryption algorithm (e.g., one of those described in [PKCS#5]) could be used to encrypt the private-key information.

この文書では、プライベート・キー情報の構文について説明します。プライベート・キー情報が一部公開鍵アルゴリズムと属性の集合のための秘密鍵が含まれています。また、ドキュメントは暗号化された秘密鍵の構文について説明します。パスワードベースの暗号化アルゴリズム(例えば、[PKCS#5]に記載のもののいずれか)が秘密鍵情報を暗号化するために使用することができます。

The intention of including a set of attributes is to provide a simple way for a user to establish trust in information such as a distinguished name or a top-level certification authority's public key. While such trust could also be established with a digital signature, encryption with a secret key known only to the user is just as effective and possibly easier to implement. A non-exhaustive list of attributes is given in [PKCS#9].

属性のセットを含むの意図は、このような識別名またはトップレベルの認証局の公開鍵などの情報に信頼を確立するためのユーザーのための簡単な方法を提供することです。そのような信頼は、デジタル署名を使用して確立することができますが、ユーザーだけが知っている秘密鍵で暗号化が同じように効果的で、実装がおそらく簡単です。属性の非網羅的なリストは、[PKCS#9]に記載されています。

2. Definitions
2.定義

For the purposes of this document, the following definitions apply.

このドキュメントの目的のために、以下の定義が適用されます。

AlgorithmIdentifier: A type that identifies an algorithm (by object identifier) and any associated parameters. This type is defined in [X.509].

AlgorithmIdentifier:(オブジェクト識別子によって)アルゴリズムを識別タイプおよび任意の関連するパラメータ。このタイプは、[X.509]で定義されています。

ASN.1: Abstract Syntax Notation One, as defined in [X.208].

ASN.1:抽象構文記法1、[X.208]で定義されます。

Attribute: A type that contains an attribute type (specified by object identifier) and one or more attribute values. This type is defined in [X.501].

属性:(オブジェクト識別子で指定された)属性タイプと1つ以上の属性値を含む型。このタイプは、[X.501]で定義されています。

BER: Basic Encoding Rules, as defined in [X.209].

BER:基本符号化規則、[X. 209]で定義されています。

3. Symbols and Abbreviations
3.記号と略語

No symbols or abbreviations are defined in this document.

いいえ記号や略語が本書で定義されていません。

4. General Overview
4.総括

The next two sections specify private-key information syntax and encrypted private-key information syntax.

次の2つのセクションでは、プライベート・キー情報の構文と暗号化された秘密鍵情報の構文を指定します。

This document exports two types: PrivateKeyInfo (Section 6) and EncryptedPrivateKeyInfo (Section 7).

PrivateKeyInfoで(第6節)とEncryptedPrivateKeyInfoを(セクション7):このドキュメントは、2つのタイプをエクスポートします。

5. Private-Key Information Syntax
5.プライベート・キー情報の構文

This section gives the syntax for private-key information.

このセクションでは、プライベート・キー情報の構文を示します。

Private-key information shall have ASN.1 type PrivateKeyInfo:

プライベート・キー情報は、ASN.1タイプPrivateKeyInfoでを持たなければなりません。

      PrivateKeyInfo ::= SEQUENCE {
        version                   Version,
        privateKeyAlgorithm       PrivateKeyAlgorithmIdentifier,
        privateKey                PrivateKey,
        attributes           [0]  IMPLICIT Attributes OPTIONAL }
        
      Version ::= INTEGER
        
      PrivateKeyAlgorithmIdentifier ::= AlgorithmIdentifier
        
      PrivateKey ::= OCTET STRING
        
      Attributes ::= SET OF Attribute
        

The fields of type PrivateKeyInfo have the following meanings:

タイプPrivateKeyInfoでのフィールドは以下の意味があります。

version is the syntax version number, for compatibility with future revisions of this document. It shall be 0 for this version of the document.

バージョンは、このドキュメントの今後の改正との互換性のため、構文のバージョン番号です。これは、ドキュメントのこのバージョンでは0でなければなりません。

privateKeyAlgorithm identifies the private-key algorithm. One example of a private-key algorithm is PKCS #1's rsaEncryption [PKCS#1].

privateKeyAlgorithmは秘密鍵アルゴリズムを特定します。秘密鍵アルゴリズムの一例は、PKCS#1のrsaEncryption [PKCS#1]です。

privateKey is an octet string whose contents are the value of the private key. The interpretation of the contents is defined in the registration of the private-key algorithm. For an RSA private key, for example, the contents are a BER encoding of a value of type RSAPrivateKey.

PrivateKeyは、その内容が秘密鍵の値ですオクテット文字列です。内容の解釈は秘密鍵アルゴリズムの登録で定義されています。 RSA秘密鍵は、例えば、コンテンツは、タイプRSAPrivateKeyの値のBER符号化されています。

attributes is a set of attributes. These are the extended information that is encrypted along with the private-key information.

属性は、属性のセットです。これらは、秘密鍵の情報と共に暗号化されている拡張情報です。

6. Encrypted Private-Key Information Syntax
6.暗号化されたプライベート・キー情報の構文

This section gives the syntax for encrypted private-key information.

このセクションでは、暗号化されたプライベート・キー情報の構文を示します。

Encrypted private-key information shall have ASN.1 type EncryptedPrivateKeyInfo:

暗号化された秘密鍵情報は、ASN.1タイプEncryptedPrivateKeyInfoをしなければなりません。

      EncryptedPrivateKeyInfo ::= SEQUENCE {
        encryptionAlgorithm  EncryptionAlgorithmIdentifier,
        encryptedData        EncryptedData }
        
      EncryptionAlgorithmIdentifier ::= AlgorithmIdentifier
        
      EncryptedData ::= OCTET STRING
        

The fields of type EncryptedPrivateKeyInfo have the following meanings:

タイプEncryptedPrivateKeyInfoをのフィールドは以下の意味があります。

encryptionAlgorithm identifies the algorithm under which the private-key information is encrypted. Two examples are PKCS #5's pbeWithMD2AndDES-CBC and pbeWithMD5AndDES-CBC [PKCS#5].

encryptionAlgorithmは、秘密鍵情報が暗号化されて、その下のアルゴリズムを特定します。二つの例は、PKCS#5のpbeWithMD2AndDES-CBCとPBEWithMD5AndDESは-CBC [PKCS#5]です。

encryptedData is the result of encrypting the private-key information.

EncryptedDataは、秘密鍵情報を暗号化した結果です。

The encryption process involves the following two steps:

暗号化プロセスは、以下の2つのステップがあります。

1. The private-key information is BER encoded, yielding an octet string.

1.秘密鍵情報は、BERは、オクテット文字列を得、符号化されています。

2. The result of step 1 is encrypted with the secret key to give an octet string, the result of the encryption process.

2.ステップ1の結果は、オクテット文字列、暗号化プロセスの結果を与えることを秘密鍵で暗号化されています。

7. Security Considerations
7.セキュリティの考慮事項

Protection of the private-key information is vital to public-key cryptography. Disclosure of the private-key material to another entity can lead to masquerades. The encryption algorithm used in the encryption process must be as 'strong' as the key it is protecting.

秘密鍵情報の保護は、公開鍵暗号方式に不可欠です。別のエンティティへの秘密鍵材料の開示は、なりすましにつながることができます。暗号化プロセスで使用される暗号化アルゴリズムは、それが保護しているキーと「強い」としてでなければなりません。

Appendix A. ASN.1 Syntax

付録A. ASN.1構文

PKCS-8 {iso(1) member-body(2) us(840) rsadsi(113549) pkcs(1) pkcs-8(8) modules(1) pkcs-8(1)}

PKCS-8 {ISO(1)部材本体(2)米国(840)RSADSI(113549)PKCS(1)PKCS-8(8)モジュール(1)PKCS-8(1)}

-- $Revision: 1.5 $

- $リビジョン:1.5 $

-- This module has been checked for conformance with the ASN.1 -- standard by the OSS ASN.1 Tools

- このモジュールは、ASN.1に準拠するためにチェックされている - OSSのASN.1ツールによって標準

DEFINITIONS IMPLICIT TAGS ::=
        

BEGIN

ベギン

-- EXPORTS All -- -- All types and values defined in this module is exported for use in -- other ASN.1 modules.

- すべてのエクスポート - - 他のASN.1モジュール - このモジュールで定義されたすべてのタイプと値がでの使用のためにエクスポートされます。

IMPORTS

輸入

informationFramework FROM UsefulDefinitions {joint-iso-itu-t(2) ds(5) module(1) usefulDefinitions(0) 3}

informationFramework UsefulDefinitions FROM {関節イソITU-T(2)DS(5)モジュール(1)usefulDefinitions(0)3}

Attribute FROM InformationFramework informationFramework

InformationFramework informationFrameworkから属性

AlgorithmIdentifier, ALGORITHM-IDENTIFIER FROM PKCS-5 {iso(1) member-body(2) us(840) rsadsi(113549) pkcs(1) pkcs-5(5) modules(16) pkcs-5(1)};

AlgorithmIdentifier、PKCS-5からのアルゴリズム識別子{ISO(1)部材本体(2)米国(840)RSADSI(113549)PKCS(1)PKCS-5(5)モジュール(16)PKCS-5(1)}。

-- Private-key information syntax

- プライベート・キー情報の構文

PrivateKeyInfo ::= SEQUENCE {
   version Version,
   privateKeyAlgorithm AlgorithmIdentifier {{PrivateKeyAlgorithms}},
   privateKey PrivateKey,
   attributes [0] Attributes OPTIONAL }
        
Version ::= INTEGER {v1(0)} (v1,...)
        
PrivateKey ::= OCTET STRING
        
Attributes ::= SET OF Attribute
        

-- Encrypted private-key information syntax

- 暗号化された秘密鍵情報の構文

EncryptedPrivateKeyInfo ::= SEQUENCE {
    encryptionAlgorithm AlgorithmIdentifier {{KeyEncryptionAlgorithms}},
    encryptedData EncryptedData
}
        
EncryptedData ::= OCTET STRING
        
PrivateKeyAlgorithms ALGORITHM-IDENTIFIER ::= {
     ... -- For local profiles
}
        
KeyEncryptionAlgorithms ALGORITHM-IDENTIFIER ::= {
     ... -- For local profiles
}
        

END

終わり

Informative References

参考文献

[PKCS#1] RSA Laboratories. PKCS #1: RSA Encryption Standard. Version 1.5, November 1993.

[PKCS#1] RSA研究所。 PKCS#1:RSA暗号化規格。バージョン1.5、1993年11月。

[PKCS#5] RSA Laboratories. PKCS #5: Password-Based Encryption Standard. Version 1.5, November 1993.

[PKCS#5] RSA研究所。 PKCS#5:パスワードベース暗号化規格。バージョン1.5、1993年11月。

[PKCS#9] RSA Laboratories. PKCS #9: Selected Attribute Types. Version 1.1, November 1993.

[PKCS#9] RSA研究所。 PKCS#9:選択した属性タイプ。バージョン1.1、1993年11月。

[X.208] CCITT. Recommendation X.208: Specification of Abstract Syntax Notation One (ASN.1). 1988.

[X.208] CCITT。勧告X.208:抽象構文記法1(ASN.1)の仕様。 1988。

[X.209] CCITT. Recommendation X.209: Specification of Basic Encoding Rules for Abstract Syntax Notation One (ASN.1). 1988.

[X. 209] CCITT。勧告X. 209:抽象構文記法1(ASN.1)のための基本的な符号化規則の仕様。 1988。

[X.501] CCITT. Recommendation X.501: The Directory - Models. 1988.

[X.501] CCITT。勧告X.501:ディレクトリ - モデル。 1988。

[X.509] CCITT. Recommendation X.509: The Directory - Authentication Framework. 1988.

[X.509] CCITT。勧告X.509:ディレクトリ - 認証フレームワーク。 1988。

Author's Addresses

著者のアドレス

Burt Kaliski EMC Corporation 176 South Street Hopkinton, MA 01748 USA

バート・カリスキーEMCコーポレーション176サウスストリートホプキントン、MA 01748 USA

EMail: kaliski_burt@emc.com

メールアドレス:kaliski_burt@emc.com

Full Copyright Statement

完全な著作権声明

Copyright (C) The IETF Trust (2008).

著作権(C)IETFトラスト(2008)。

This document is subject to the rights, licenses and restrictions contained in BCP 78, and except as set forth therein, the authors retain all their rights.

この文書では、BCP 78に含まれる権利と許可と制限の適用を受けており、その中の記載を除いて、作者は彼らのすべての権利を保有します。

This document and the information contained herein are provided on an "AS IS" basis and THE CONTRIBUTOR, THE ORGANIZATION HE/SHE REPRESENTS OR IS SPONSORED BY (IF ANY), THE INTERNET SOCIETY, THE IETF TRUST AND THE INTERNET ENGINEERING TASK FORCE DISCLAIM 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.

この文書とここに含まれている情報は、基礎とCONTRIBUTOR「そのまま」、ORGANIZATION HE / SHEが表すまたはインターネットSOCIETY、(もしあれば)を後援し、IETF TRUST ANDインターネットエンジニアリングタスクフォース放棄ALLに設けられています。保証は、明示または黙示、この情報の利用および特定目的に対する権利または商品性または適合性の黙示の保証を侵害しない任意の保証がこれらに限定されません。

Intellectual Property

知的財産

The IETF takes no position regarding the validity or scope of any Intellectual Property Rights or other rights that might be claimed to pertain to the implementation or use of the technology described in this document or the extent to which any license under such rights might or might not be available; nor does it represent that it has made any independent effort to identify any such rights. Information on the procedures with respect to rights in RFC documents can be found in BCP 78 and BCP 79.

IETFは、本書またはそのような権限下で、ライセンスがたりないかもしれない程度に記載された技術の実装や使用に関係すると主張される可能性があります任意の知的財産権やその他の権利の有効性または範囲に関していかなる位置を取りません利用可能です。またそれは、それがどのような権利を確認する独自の取り組みを行ったことを示すものでもありません。 RFC文書の権利に関する手続きの情報は、BCP 78およびBCP 79に記載されています。

Copies of IPR disclosures made to the IETF Secretariat and any assurances of licenses to be made available, or the result of an attempt made to obtain a general license or permission for the use of such proprietary rights by implementers or users of this specification can be obtained from the IETF on-line IPR repository at http://www.ietf.org/ipr.

IPRの開示のコピーが利用できるようにIETF事務局とライセンスの保証に行われた、または本仕様の実装者または利用者がそのような所有権の使用のための一般的なライセンスまたは許可を取得するために作られた試みの結果を得ることができますhttp://www.ietf.org/iprのIETFのオンラインIPRリポジトリから。

The IETF invites any interested party to bring to its attention any copyrights, patents or patent applications, or other proprietary rights that may cover technology that may be required to implement this standard. Please address the information to the IETF at ietf-ipr@ietf.org.

IETFは、その注意にこの標準を実装するために必要とされる技術をカバーすることができる任意の著作権、特許または特許出願、またはその他の所有権を持ってすべての利害関係者を招待します。 ietf-ipr@ietf.orgのIETFに情報を記述してください。