Discuss this help topic in SecureBlackbox Forum

TElSSHCustomKeyStorage.SavePublic

TElSSHCustomKeyStorage     See also     


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


This method saves public keys from the storage.

Declaration

[C#]
    int SavePublic(System.IO.Stream F);
    int SavePublic(string Filename);

[VB.NET]
    Function SavePublic(ByVal F As System.IO.Stream) As Integer
    Function SavePublic(ByVal Filename As String) As Integer

[Pascal]
    function SavePublic(F : TStream) : integer; virtual;
    function SavePublic(const Filename : string) : integer; virtual;

[C++]
    int32_t SavePublic(TStream &F);
    int32_t SavePublic(TStream *F);
    int32_t SavePublic(const std::string &Filename);

[PHP]
    integer SavePublic(TStream $F)
    integer SavePublic(string $Filename)

[Java]
    int savePublic(OutputStream arg0);
    int savePublic(TElStream arg0);
    int savePublic(String arg0);

Parameters

  • F - buffer where public keys should be saved
  • Filename - name of the file where public keys should be saved

Return value

    0 - on success.
    Error code otherwise.

Description

    Use this method to save public keys from storage to the file or memory buffer.

See also:     LoadPublic    

Discuss this help topic in SecureBlackbox Forum