ECDiffieHellmanPublicKey.ToXmlString 메서드

정의

주의

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.

공개 키를 XML 문자열로 직렬화 ECDiffieHellmanPublicKey 합니다.

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

반품

직렬화된 ECDH(타원 곡선 Diffie-Hellman) 공개 키를 포함하는 XML 문자열입니다.

특성

예외

.NET Core 및 .NET 5 이상: 모든 경우에.

적용 대상