ECDiffieHellmanPublicKey.ToXmlString Methode

Definitie

Let op

ToXmlString and FromXmlString have no implementation for ECC types, and are obsolete. Use a standard import and export format such as ExportSubjectPublicKeyInfo or ImportSubjectPublicKeyInfo for public keys and ExportPkcs8PrivateKey or ImportPkcs8PrivateKey for private keys.

Serialiseert de ECDiffieHellmanPublicKey openbare sleutel naar een XML-tekenreeks.

public:
 virtual System::String ^ ToXmlString();
public:
 abstract System::String ^ ToXmlString();
[System.Obsolete("ToXmlString and FromXmlString have no implementation for ECC types, and are obsolete. Use a standard import and export format such as ExportSubjectPublicKeyInfo or ImportSubjectPublicKeyInfo for public keys and ExportPkcs8PrivateKey or ImportPkcs8PrivateKey for private keys.", DiagnosticId="SYSLIB0042", UrlFormat="https://aka.ms/dotnet-warnings/{0}")]
public virtual string ToXmlString();
public virtual string ToXmlString();
public abstract string ToXmlString();
[<System.Obsolete("ToXmlString and FromXmlString have no implementation for ECC types, and are obsolete. Use a standard import and export format such as ExportSubjectPublicKeyInfo or ImportSubjectPublicKeyInfo for public keys and ExportPkcs8PrivateKey or ImportPkcs8PrivateKey for private keys.", DiagnosticId="SYSLIB0042", UrlFormat="https://aka.ms/dotnet-warnings/{0}")>]
abstract member ToXmlString : unit -> string
override this.ToXmlString : unit -> string
abstract member ToXmlString : unit -> string
override this.ToXmlString : unit -> string
abstract member ToXmlString : unit -> string
Public Overridable Function ToXmlString () As String
Public MustOverride Function ToXmlString () As String

Retouren

Een XML-tekenreeks die de openbare sleutel van de geserialiseerde elliptische curve Diffie-Hellman (ECDH) bevat.

Kenmerken

Uitzonderingen

.NET Core en .NET 5+: In alle gevallen.

Van toepassing op