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 密钥,则为 。

属性

例外

密钥内容已损坏或无法成功读取。

适用于