Discuss this help topic in SecureBlackbox Forum

TElPGPSecretKey.SaveToStream

TElPGPSecretKey     See also     


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


Saves secret key to stream.

Declaration

[C#]
    void SaveToStream(System.IO.Stream Stream, bool Armor);

[VB.NET]
    Sub SaveToStream(ByVal Stream As System.IO.Stream, ByVal Armor As Boolean)

[Pascal]
    procedure SaveToStream(Stream : TStream; Armor : boolean = false);

[C++]
    void SaveToStream(TStream &Stream, bool Armor);
    void SaveToStream(TStream *Stream, bool Armor);

[PHP]
    void SaveToStream(TStream $Stream, bool $Armor)

[Java]
    void saveToStream(TElStream Stream, boolean Armor);

Parameters

  • Stream - stream 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 stream.

See also:     SaveToFile     LoadFromStream    

Discuss this help topic in SecureBlackbox Forum