DSACryptoServiceProvider.CspKeyContainerInfo Vlastnost
Definice
Důležité
Některé informace platí pro předběžně vydaný produkt, který se může zásadně změnit, než ho výrobce nebo autor vydá. Microsoft neposkytuje žádné záruky, výslovné ani předpokládané, týkající se zde uváděných informací.
CspKeyContainerInfo Získá 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 můžete načíst další informace o páru kryptografických klíčů. Vrácený CspKeyContainerInfo objekt popisuje, zda je klíč exportovatelný, a určuje název kontejneru klíčů, informace o zprostředkovateli a další informace.
V případech, kdy se vygeneruje náhodný klíč, se kontejner klíčů nevytvořil, dokud nezavoláte metodu, která tento klíč používá. Některé vlastnosti objektu CspKeyContainerInfo vrácené CspKeyContainerInfo vlastností vyvolá, CryptographicException pokud nebyl vytvořen kontejner klíčů. Před voláním CspKeyContainerInfo vlastnosti se ujistěte, že byl vytvořen kontejner klíčů, zavolejte metodu, například SignData, SignHashVerifyData, VerifyHash, atd.