DSACryptoServiceProvider.CspKeyContainerInfo Vlastnost

Definice

Získá CspKeyContainerInfo objekt, který popisuje další informace o páru kryptografických klíčů.

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

Hodnota vlastnosti

Objekt CspKeyContainerInfo , který popisuje další informace o páru kryptografických klíčů.

Implementuje

Atributy

Poznámky

CspKeyContainerInfo Pomocí vlastnosti načtěte další informace o páru kryptografických klíčů. Vrácený CspKeyContainerInfo objekt popisuje, jestli je klíč exportovatelný, a určuje název kontejneru klíčů, informace o poskytovateli a další informace.

V případech, kdy je vygenerován náhodný klíč, se kontejner klíčů nevytvořil, dokud nezavoláte metodu, která tento klíč používá. Některé vlastnosti objektu CspKeyContainerInfo vráceného CspKeyContainerInfo vlastností vyvolají výjimku , CryptographicException pokud se nevytvořil kontejner klíčů. Abyste se ujistili, že je kontejner klíčů vytvořený, zavolejte před voláním CspKeyContainerInfo vlastnosti metodu SignData, SignHashVerifyData, , VerifyHashatd.

Platí pro

Viz také