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

属性

例外

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

适用于