Discuss this help topic in SecureBlackbox Forum

TElSSHCustomKeyStorage.LoadPublic

TElSSHCustomKeyStorage     See also     


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


This method loads public keys to the storage.

Declaration

[C#]
    int LoadPublic(System.IO.Stream F, int Count);
    int LoadPublic(string Filename);

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

[Pascal]
    function LoadPublic(F : TStream; Count : integer = 0) : integer; virtual;
    function LoadPublic(const Filename : string) : integer; virtual;

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

[PHP]
    integer LoadPublic(TStream $F, integer $Count)
    integer LoadPublic(string $Filename)

[Java]
    int loadPublic(TElStream arg0, int arg1);
    int loadPublic(InputStream arg0, int arg1);
    int loadPublic(String arg0);

Parameters

  • F - buffer which contains public keys
  • Count - Number of bytes to read from F buffer
  • Filename - name of the file which contains public keys

Return value

    0 - on success.
    Error code otherwise.

Description

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

See also:     SavePublic    

Discuss this help topic in SecureBlackbox Forum