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.

ECDiffieHellmanPublicKey 公開キーを XML 文字列にシリアル化します。

public:
 virtual System::String ^ ToXmlString();
public:
 abstract System::String ^ ToXmlString();
public virtual 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 abstract string ToXmlString ();
abstract member ToXmlString : unit -> string
override this.ToXmlString : unit -> string
[<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
Public Overridable Function ToXmlString () As String
Public MustOverride Function ToXmlString () As String

戻り値

シリアル化された ECDH (Elliptic Curve Diffie-Hellman) 公開キーを格納している XML 文字列。

属性

例外

.NET Core と .NET 5 以降: すべての場合。

適用対象