Discuss this help topic in SecureBlackbox Forum


TElPGPSecretKey     See also     

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

Saves secret key to file.


    void SaveToFile(string Filename, bool Armor);

    Sub SaveToFile(ByVal Filename As String, ByVal Armor As Boolean)

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

    void SaveToFile(const std::string &Filename, bool Armor);

    void SaveToFile(string $Filename, bool $Armor)

    void saveToFile(String Filename, boolean Armor);


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


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

See also:     LoadFromFile     SaveToStream    

Discuss this help topic in SecureBlackbox Forum