Discuss this help topic in SecureBlackbox Forum

TElPublicKeyMaterial.SaveToXML

TElPublicKeyMaterial     See also     


Filter: C#  VB.NET  Pascal  C++  PHP  Java  


Saves the key to an XML string.

Declaration

[C#]
    string SaveToXML(bool IncludePrivateKey);

[VB.NET]
    Function SaveToXML(ByVal IncludePrivateKey As Boolean) As String

[Pascal]
    function SaveToXML(IncludePrivateKey: boolean = False) : string; virtual;

[C++]
    void SaveToXML(bool IncludePrivateKey, std::string &OutResult);

[PHP]
    string SaveToXML(bool $IncludePrivateKey)

[Java]
    String saveToXML(boolean IncludePrivateKey);

Parameters

  • IncludePrivateKey - specifies, whether to save the private part of the key.

Return value

    XML string with the key.

Description

    Use this method to save the key to the XML string. By default, only public part of the key will be saved, but you may include also the private part by setting IncludePrivateKey parameter to True

See also:     LoadFromXML     Save     SavePublic     SaveSecret    

Discuss this help topic in SecureBlackbox Forum