ECDiffieHellmanCngPublicKey.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.

ECDiffieHellmanCngPublicKey公開キーを RFC 4050 形式の XML 文字列にシリアル化します。

public:
 override 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 override string ToXmlString();
public override 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}")>]
override this.ToXmlString : unit -> string
override this.ToXmlString : unit -> string
Public Overrides Function ToXmlString () As String

返品

シリアル化された ECDiffieHellmanCngPublicKey 公開キーを含む XML 文字列。

属性

例外

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

注釈

このメソッドで使用する XML 形式については、 ECKeyXmlFormat.Rfc4050 を参照してください。

適用対象