Share via


PublicKey.GetECDsaPublicKey 方法

定義

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

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

傳回

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

屬性

例外狀況

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

適用於