DSACryptoServiceProvider.CspKeyContainerInfo プロパティ

定義

暗号化キーの組に関する追加情報を説明する CspKeyContainerInfo オブジェクトを取得します。

public:
 property System::Security::Cryptography::CspKeyContainerInfo ^ CspKeyContainerInfo { System::Security::Cryptography::CspKeyContainerInfo ^ get(); };
[System.Runtime.Versioning.SupportedOSPlatform("windows")]
public System.Security.Cryptography.CspKeyContainerInfo CspKeyContainerInfo { get; }
public System.Security.Cryptography.CspKeyContainerInfo CspKeyContainerInfo { get; }
[System.Runtime.InteropServices.ComVisible(false)]
public System.Security.Cryptography.CspKeyContainerInfo CspKeyContainerInfo { get; }
[<System.Runtime.Versioning.SupportedOSPlatform("windows")>]
member this.CspKeyContainerInfo : System.Security.Cryptography.CspKeyContainerInfo
member this.CspKeyContainerInfo : System.Security.Cryptography.CspKeyContainerInfo
[<System.Runtime.InteropServices.ComVisible(false)>]
member this.CspKeyContainerInfo : System.Security.Cryptography.CspKeyContainerInfo
Public ReadOnly Property CspKeyContainerInfo As CspKeyContainerInfo

プロパティ値

暗号化キーの組に関する追加情報を説明する CspKeyContainerInfo オブジェクト。

実装

属性

注釈

プロパティを使用して、 CspKeyContainerInfo 暗号化キー ペアに関する追加情報を取得します。 返される CspKeyContainerInfo オブジェクトは、キーがエクスポート可能かどうかを示し、キー コンテナー名、プロバイダーに関する情報、およびその他の情報を指定します。

ランダムなキーが生成された場合、キーを使用するメソッドを呼び出すまで、キー コンテナーは作成されません。 キー コンテナーが CspKeyContainerInfo 作成されていない場合、 CspKeyContainerInfo プロパティによって返されるオブジェクトの一部のプロパティでは、 がスロー CryptographicException されます。 キー コンテナーが作成されていることを確認するには、 プロパティを呼び出す前に、、 VerifyDataSignHashVerifyHashなどのSignDataメソッドをCspKeyContainerInfo呼び出します。

適用対象

こちらもご覧ください