Discuss this help topic in SecureBlackbox Forum

TElPGPKeyring.Load

TElPGPKeyring     See also     


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


Loads the keyring from streams.

Declaration

[C#]
    void Load(System.IO.Stream APublic, System.IO.Stream ASecret, bool Clear);
    void Load(string PublicKeysFile, string SecretKeysFile, bool Clear);

[VB.NET]
    Sub Load(ByVal APublic As System.IO.Stream, ByVal ASecret As System.IO.Stream, ByVal Clear As Boolean)
    Sub Load(ByVal PublicKeysFile As String, ByVal SecretKeysFile As String, ByVal Clear As Boolean)

[Pascal]
    procedure Load(APublic, ASecret : TStream; Clear : boolean = true);
    procedure Load(const PublicKeysFile : string; const SecretKeysFile : string; Clear : boolean = true);

[C++]
    void Load(TStream &APublic, TStream &ASecret, bool Clear);
    void Load(TStream *APublic, TStream *ASecret, bool Clear);
    void Load(const std::string &PublicKeysFile, const std::string &SecretKeysFile, bool Clear);

[PHP]
    void Load(TStream $APublic, TStream $ASecret, bool $Clear)
    void Load(string $PublicKeysFile, string $SecretKeysFile, bool $Clear)

[Java]
    void load(TElStream APublic, TElStream ASecret, boolean Clear);
    void load(String PublicKeysFile, String SecretKeysFile, boolean Clear);
    void load(InputStream APublic, InputStream ASecret, boolean Clear);

Parameters

  • APublic - stream that contains keyring with public keys. If this parameter is nil, only secret part will be loaded.
  • ASecret - stream that contains keyring with secret keys. If this parameter is nil, only public part will be loaded.
  • Clear - True - the keyring will be cleared before loading new keys.False - new keys will be added to the ones present.
  • PublicKeysFile - file that contains keyring with public keys. If this parameter contains empty string, only secret part will be loaded.
  • SecretKeysFile - file that contains keyring with secret keys. If this parameter contains empty string, only public part will be loaded.

Description

    Use this method to load the keyring from disk or other storage.

See also:     Clear     Save    

Discuss this help topic in SecureBlackbox Forum