ECDiffieHellmanCngPublicKey.FromXmlString(String) 메서드

정의

주의

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 문자열을 개체로 ECDiffieHellmanCngPublicKey 변환합니다.

public:
 static System::Security::Cryptography::ECDiffieHellmanCngPublicKey ^ FromXmlString(System::String ^ xml);
[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 static System.Security.Cryptography.ECDiffieHellmanCngPublicKey FromXmlString(string xml);
public static System.Security.Cryptography.ECDiffieHellmanCngPublicKey FromXmlString(string xml);
[System.Security.SecurityCritical]
public static System.Security.Cryptography.ECDiffieHellmanCngPublicKey FromXmlString(string xml);
[<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}")>]
static member FromXmlString : string -> System.Security.Cryptography.ECDiffieHellmanCngPublicKey
static member FromXmlString : string -> System.Security.Cryptography.ECDiffieHellmanCngPublicKey
[<System.Security.SecurityCritical>]
static member FromXmlString : string -> System.Security.Cryptography.ECDiffieHellmanCngPublicKey
Public Shared Function FromXmlString (xml As String) As ECDiffieHellmanCngPublicKey

매개 변수

xml
String

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

반품

지정된 XML에서 지정한 ECDH 공개 키를 포함하는 개체입니다.

특성

예외

매개 변수는 xml .입니다 null.

매개 변수는 xml 키를 지정 ECDiffieHellman 하지 않습니다.

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

설명

이 정적 메서드는 모든 ECDiffieHellmanCngPublicKey 인스턴스 간에 공유됩니다.

적용 대상