ECDsaCng.FromXmlString Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Deserializes the key information from an XML string.
Overloads
| Name | Description |
|---|---|
| FromXmlString(String) |
This method is not implemented. |
| FromXmlString(String, ECKeyXmlFormat) |
Deserializes the key information from an XML string by using the specified format. |
FromXmlString(String)
This method is not implemented.
public:
override void FromXmlString(System::String ^ xmlString);
public override void FromXmlString(string xmlString);
override this.FromXmlString : string -> unit
Public Overrides Sub FromXmlString (xmlString As String)
Parameters
- xmlString
- String
The XML-based key information to be deserialized.
Exceptions
This method was not overridden for this instance.
Remarks
To deserialize an XML key, use the FromXmlString(String, ECKeyXmlFormat) overload instead.
Applies to
FromXmlString(String, ECKeyXmlFormat)
Deserializes the key information from an XML string by using the specified format.
public:
void FromXmlString(System::String ^ xml, System::Security::Cryptography::ECKeyXmlFormat format);
public void FromXmlString(string xml, System.Security.Cryptography.ECKeyXmlFormat format);
override this.FromXmlString : string * System.Security.Cryptography.ECKeyXmlFormat -> unit
Public Sub FromXmlString (xml As String, format As ECKeyXmlFormat)
Parameters
- xml
- String
The XML-based key information to be deserialized.
- format
- ECKeyXmlFormat
One of the enumeration values that specifies the format of the XML string. The only currently accepted format is Rfc4050.
Exceptions
xml is null.
format specifies an invalid format. The only accepted value is Rfc4050.
All other errors.