共用方式為


PublicKey.GetDSAPublicKey 方法

定義

DSA取得公開金鑰,如果 null 金鑰不是 DSA 金鑰,則為 。

public:
 System::Security::Cryptography::DSA ^ GetDSAPublicKey();
[System.Runtime.Versioning.UnsupportedOSPlatform("ios")]
[System.Runtime.Versioning.UnsupportedOSPlatform("tvos")]
public System.Security.Cryptography.DSA? GetDSAPublicKey ();
[System.Runtime.Versioning.UnsupportedOSPlatform("ios")]
[System.Runtime.Versioning.UnsupportedOSPlatform("tvos")]
[System.Runtime.Versioning.UnsupportedOSPlatform("browser")]
public System.Security.Cryptography.DSA? GetDSAPublicKey ();
[<System.Runtime.Versioning.UnsupportedOSPlatform("ios")>]
[<System.Runtime.Versioning.UnsupportedOSPlatform("tvos")>]
member this.GetDSAPublicKey : unit -> System.Security.Cryptography.DSA
[<System.Runtime.Versioning.UnsupportedOSPlatform("ios")>]
[<System.Runtime.Versioning.UnsupportedOSPlatform("tvos")>]
[<System.Runtime.Versioning.UnsupportedOSPlatform("browser")>]
member this.GetDSAPublicKey : unit -> System.Security.Cryptography.DSA
Public Function GetDSAPublicKey () As DSA

傳回

DSA

公開金鑰,如果 null 金鑰不是 DSA 金鑰,則為 。

屬性

例外狀況

金鑰內容已損毀或無法成功讀取。

適用於