Discuss this help topic in SecureBlackbox Forum

TElPGPSecretKey.SaveToFile

TElPGPSecretKey     See also     


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


Saves secret key to file.

Declaration

[C#]
    void SaveToFile(string Filename, bool Armor);

[VB.NET]
    Sub SaveToFile(ByVal Filename As String, ByVal Armor As Boolean)

[Pascal]
    procedure SaveToFile(const Filename: string; Armor : boolean = false);

[C++]
    void SaveToFile(const std::string &Filename, bool Armor);

[PHP]
    void SaveToFile(string $Filename, bool $Armor)

[Java]
    void saveToFile(String Filename, boolean Armor);

Parameters

  • FileName - file to which the key must be saved.
  • Armor - True - keys will be armored into base64 representation before saving.
    Default value is False

Description

    Use this method when you want to save secret key to file.

See also:     LoadFromFile     SaveToStream    

Discuss this help topic in SecureBlackbox Forum