ECDsaCng.FromXmlString Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Désérialise les informations de clé à partir d’une chaîne XML.
Surcharges
| Nom | Description |
|---|---|
| FromXmlString(String) |
Cette méthode n’est pas implémentée. |
| FromXmlString(String, ECKeyXmlFormat) |
Désérialise les informations de clé d’une chaîne XML à l’aide du format spécifié. |
FromXmlString(String)
Cette méthode n’est pas implémentée.
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)
Paramètres
- xmlString
- String
Informations de clé XML à désérialiser.
Exceptions
Cette méthode n’a pas été remplacée pour cette instance.
Remarques
Pour désérialiser une clé XML, utilisez plutôt la FromXmlString(String, ECKeyXmlFormat) surcharge.
S’applique à
FromXmlString(String, ECKeyXmlFormat)
Désérialise les informations de clé d’une chaîne XML à l’aide du format spécifié.
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)
Paramètres
- xml
- String
Informations de clé XML à désérialiser.
- format
- ECKeyXmlFormat
Une des valeurs d’énumération qui spécifie le format de la chaîne XML. Le seul format actuellement accepté est Rfc4050.
Exceptions
xml a la valeur null.
format spécifie un format non valide. La seule valeur acceptée est Rfc4050.
Toutes les autres erreurs.