Bewerken

Share via


PublicKey.GetECDsaPublicKey Method

Definition

Gets the ECDsa public key, or null if the key is not an ECDsa key.

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

Returns

The public key, or null if the key is not an ECDsa key.

Attributes

Exceptions

The key contents are corrupt or could not be read successfully.

Applies to