EnvelopedCms クラス
アセンブリ: System.Security (system.security.dll 内)


Cryptographic Message Syntax RFC では、これらのコンテンツ タイプの CMS/PKCS #7 メッセージについて、次の MIME タイプおよびファイル名拡張子が規定されています。

System.Security.Cryptography.Pkcs.EnvelopedCms


Windows 98, Windows 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition
開発プラットフォームの中には、.NET Framework によってサポートされていないバージョンがあります。サポートされているバージョンについては、「システム要件」を参照してください。


EnvelopedCms コンストラクタ ()
アセンブリ: System.Security (system.security.dll 内)



EnvelopedCms クラスには、次の既定のプロパティ値があります。
ContentInfo | |
ContentEncryptionAlgorithm | 1.2.840.113549.3.7 (RSA_DES_EDE3_CBC) |

Windows 98, Windows 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition
開発プラットフォームの中には、.NET Framework によってサポートされていないバージョンがあります。サポートされているバージョンについては、「システム要件」を参照してください。


EnvelopedCms コンストラクタ (ContentInfo, AlgorithmIdentifier)
アセンブリ: System.Security (system.security.dll 内)

Dim contentInfo As ContentInfo Dim encryptionAlgorithm As AlgorithmIdentifier Dim instance As New EnvelopedCms(contentInfo, encryptionAlgorithm)
public function EnvelopedCms ( contentInfo : ContentInfo, encryptionAlgorithm : AlgorithmIdentifier )



Windows 98, Windows 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition
開発プラットフォームの中には、.NET Framework によってサポートされていないバージョンがあります。サポートされているバージョンについては、「システム要件」を参照してください。


EnvelopedCms コンストラクタ (ContentInfo)
アセンブリ: System.Security (system.security.dll 内)




Windows 98, Windows 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition
開発プラットフォームの中には、.NET Framework によってサポートされていないバージョンがあります。サポートされているバージョンについては、「システム要件」を参照してください。


EnvelopedCms コンストラクタ (SubjectIdentifierType, ContentInfo)
アセンブリ: System.Security (system.security.dll 内)

Public Sub New ( _ recipientIdentifierType As SubjectIdentifierType, _ contentInfo As ContentInfo _ )
Dim recipientIdentifierType As SubjectIdentifierType Dim contentInfo As ContentInfo Dim instance As New EnvelopedCms(recipientIdentifierType, contentInfo)
public function EnvelopedCms ( recipientIdentifierType : SubjectIdentifierType, contentInfo : ContentInfo )


このコンストラクタで使用される既定のプロパティ値については、EnvelopedCms のトピックを参照してください。
サブジェクトは、発行者とその公開キー証明書のシリアル番号によって、または公開キー証明書のキー識別子によって識別できます。

Windows 98, Windows 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition
開発プラットフォームの中には、.NET Framework によってサポートされていないバージョンがあります。サポートされているバージョンについては、「システム要件」を参照してください。


EnvelopedCms コンストラクタ

名前 | 説明 |
---|---|
EnvelopedCms () | EnvelopedCms コンストラクタは、EnvelopedCms クラスのインスタンスを作成します。 |
EnvelopedCms (ContentInfo) | EnvelopedCms(ContentInfo) コンストラクタは、指定されたコンテンツ情報を内部コンテンツ タイプとして使用して、EnvelopedCms クラスのインスタンスを作成します。 |
EnvelopedCms (ContentInfo, AlgorithmIdentifier) | EnvelopedCms(ContentInfo,AlgorithmIdentifier) コンストラクタは、指定されたコンテンツ情報および暗号化アルゴリズムを使用して、EnvelopedCms クラスのインスタンスを作成します。指定されたコンテンツ情報は、内部コンテンツ タイプとして使用されます。 |
EnvelopedCms (SubjectIdentifierType, ContentInfo) | EnvelopedCms(SubjectIdentifierType,ContentInfo) コンストラクタは、指定されたサブジェクト識別子タイプおよびコンテンツ情報を使用して、EnvelopedCms クラスのインスタンスを作成します。指定されたコンテンツ情報は、内部コンテンツ タイプとして使用されます。 |
EnvelopedCms (SubjectIdentifierType, ContentInfo, AlgorithmIdentifier) | EnvelopedCms(SubjectIdentifierType,ContentInfo,AlgorithmIdentifier) コンストラクタは、指定されたサブジェクト識別子タイプ、コンテンツ情報、および暗号化アルゴリズムを使用して、EnvelopedCms クラスのインスタンスを作成します。指定されたコンテンツ情報は、内部コンテンツ タイプとして使用されます。 |

EnvelopedCms コンストラクタ (SubjectIdentifierType, ContentInfo, AlgorithmIdentifier)
アセンブリ: System.Security (system.security.dll 内)

Public Sub New ( _ recipientIdentifierType As SubjectIdentifierType, _ contentInfo As ContentInfo, _ encryptionAlgorithm As AlgorithmIdentifier _ )
Dim recipientIdentifierType As SubjectIdentifierType Dim contentInfo As ContentInfo Dim encryptionAlgorithm As AlgorithmIdentifier Dim instance As New EnvelopedCms(recipientIdentifierType, contentInfo, encryptionAlgorithm)
public EnvelopedCms (
SubjectIdentifierType recipientIdentifierType,
ContentInfo contentInfo,
AlgorithmIdentifier encryptionAlgorithm
)
public:
EnvelopedCms (
SubjectIdentifierType recipientIdentifierType,
ContentInfo^ contentInfo,
AlgorithmIdentifier^ encryptionAlgorithm
)
public EnvelopedCms (
SubjectIdentifierType recipientIdentifierType,
ContentInfo contentInfo,
AlgorithmIdentifier encryptionAlgorithm
)
public function EnvelopedCms ( recipientIdentifierType : SubjectIdentifierType, contentInfo : ContentInfo, encryptionAlgorithm : AlgorithmIdentifier )


Windows 98, Windows 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition
開発プラットフォームの中には、.NET Framework によってサポートされていないバージョンがあります。サポートされているバージョンについては、「システム要件」を参照してください。


EnvelopedCms プロパティ

名前 | 説明 | |
---|---|---|
![]() | Certificates | Certificates プロパティは、CMS/PKCS #7 エンベロープ メッセージに関連付けられた一連の証明書を取得します。 |
![]() | ContentEncryptionAlgorithm | ContentEncryptionAlgorithm プロパティは、コンテンツの暗号化用アルゴリズムの識別子を取得します。 |
![]() | ContentInfo | ContentInfo プロパティは、CMS/PKCS #7 エンベロープ メッセージの内部コンテンツ情報を取得します。 |
![]() | RecipientInfos | RecipientInfos プロパティは、CMS/PKCS #7 エンベロープ メッセージに関連付けられた受信者情報を取得します。 |
![]() | UnprotectedAttributes | UnprotectedAttributes プロパティは、CMS/PKCS #7 エンベロープ メッセージに関連付けられた非保護 (非暗号化) 属性を取得します。非保護属性は暗号化されないため、EnvelopedCms オブジェクトにおけるデータの機密保持は保証されません。 |
![]() | Version | Version プロパティは、CMS/PKCS #7 エンベロープ メッセージのバージョン番号を取得します。 |

EnvelopedCms メソッド

名前 | 説明 | |
---|---|---|
![]() | Decode | Decode メソッドは、指定された CMS/PKCS #7 エンベロープ メッセージをデコードし、EnvelopedCms オブジェクトのすべてのメンバ変数をリセットします。 |
![]() | Decrypt | オーバーロードされます。 デコードされた CMS/PKCS #7 エンベロープ メッセージのコンテンツを復号化します。 |
![]() | Encode | Encode メソッドは、CMS/PKCS #7 エンベロープ メッセージのコンテンツをエンコードし、それをバイト値配列として返します。暗号化はエンコーディングの前に実行する必要があります。 |
![]() | Encrypt | オーバーロードされます。 CMS/PKCS #7 メッセージのコンテンツを暗号化します。 |
![]() | Equals | オーバーロードされます。 2 つの Object インスタンスが等しいかどうかを判断します。 ( Object から継承されます。) |
![]() | GetHashCode | 特定の型のハッシュ関数として機能します。GetHashCode は、ハッシュ アルゴリズムや、ハッシュ テーブルのようなデータ構造での使用に適しています。 ( Object から継承されます。) |
![]() | GetType | 現在のインスタンスの Type を取得します。 ( Object から継承されます。) |
![]() | ReferenceEquals | 指定した複数の Object インスタンスが同一かどうかを判断します。 ( Object から継承されます。) |
![]() | ToString | 現在の Object を表す String を返します。 ( Object から継承されます。) |

名前 | 説明 | |
---|---|---|
![]() | Finalize | Object がガベージ コレクションにより収集される前に、その Object がリソースを解放し、その他のクリーンアップ操作を実行できるようにします。 ( Object から継承されます。) |
![]() | MemberwiseClone | 現在の Object の簡易コピーを作成します。 ( Object から継承されます。) |

EnvelopedCms メンバ
EnvelopedCms クラスは、エンベロープ データの CMS/PKCS #7 構造体を表します。
EnvelopedCms データ型で公開されるメンバを以下の表に示します。


名前 | 説明 | |
---|---|---|
![]() | Certificates | Certificates プロパティは、CMS/PKCS #7 エンベロープ メッセージに関連付けられた一連の証明書を取得します。 |
![]() | ContentEncryptionAlgorithm | ContentEncryptionAlgorithm プロパティは、コンテンツの暗号化用アルゴリズムの識別子を取得します。 |
![]() | ContentInfo | ContentInfo プロパティは、CMS/PKCS #7 エンベロープ メッセージの内部コンテンツ情報を取得します。 |
![]() | RecipientInfos | RecipientInfos プロパティは、CMS/PKCS #7 エンベロープ メッセージに関連付けられた受信者情報を取得します。 |
![]() | UnprotectedAttributes | UnprotectedAttributes プロパティは、CMS/PKCS #7 エンベロープ メッセージに関連付けられた非保護 (非暗号化) 属性を取得します。非保護属性は暗号化されないため、EnvelopedCms オブジェクトにおけるデータの機密保持は保証されません。 |
![]() | Version | Version プロパティは、CMS/PKCS #7 エンベロープ メッセージのバージョン番号を取得します。 |

名前 | 説明 | |
---|---|---|
![]() | Decode | Decode メソッドは、指定された CMS/PKCS #7 エンベロープ メッセージをデコードし、EnvelopedCms オブジェクトのすべてのメンバ変数をリセットします。 |
![]() | Decrypt | オーバーロードされます。 デコードされた CMS/PKCS #7 エンベロープ メッセージのコンテンツを復号化します。 |
![]() | Encode | Encode メソッドは、CMS/PKCS #7 エンベロープ メッセージのコンテンツをエンコードし、それをバイト値配列として返します。暗号化はエンコーディングの前に実行する必要があります。 |
![]() | Encrypt | オーバーロードされます。 CMS/PKCS #7 メッセージのコンテンツを暗号化します。 |
![]() | Equals | オーバーロードされます。 2 つの Object インスタンスが等しいかどうかを判断します。 (Object から継承されます。) |
![]() | GetHashCode | 特定の型のハッシュ関数として機能します。GetHashCode は、ハッシュ アルゴリズムや、ハッシュ テーブルのようなデータ構造での使用に適しています。 (Object から継承されます。) |
![]() | GetType | 現在のインスタンスの Type を取得します。 (Object から継承されます。) |
![]() | ReferenceEquals | 指定した複数の Object インスタンスが同一かどうかを判断します。 (Object から継承されます。) |
![]() | ToString | 現在の Object を表す String を返します。 (Object から継承されます。) |

名前 | 説明 | |
---|---|---|
![]() | Finalize | Object がガベージ コレクションにより収集される前に、その Object がリソースを解放し、その他のクリーンアップ操作を実行できるようにします。 (Object から継承されます。) |
![]() | MemberwiseClone | 現在の Object の簡易コピーを作成します。 (Object から継承されます。) |

- EnvelopedCmsのページへのリンク