EldoS
Navigation
Web site
Support
Table Of Contents

Filter: C#  VB.NET  Pascal  ActiveX  DLL 


TElPGPKeyring.Load

TElPGPKeyring     See also    


 

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);

[VB6]
    Sub LoadFromStreams(PublicStream as IUnknown, SecretStream as IUnknown, ByVal Armor as boolean);
    Sub LoadFromFiles(ByVal PublicKeysFile as string, ByVal SecretKeysFile as string, ByVal Clear as boolean);

[ActiveX]
    LoadFromStreams([in] IUnknown * PublicStream, [in] IUnknown * SecretStream, [in] VARIANT_BOOL C );
    LoadFromFiles([in] BSTR PublicKeysFile, [in] BSTR SecretKeysFile, [in] VARIANT_BOOL Clear);

[DLL]
    not implemented
 
 

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. in keyring.
    Default value is True
 
 

Description

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

[ActiveX]
    Note: PublicStream and SecretStream parameters expect an object which implements IStream interface.

 
 

See also:     Clear     Save    

 
Contact Us | Terms of Use | Trademarks | Privacy Statement
Copyright (c) 1998-2012, EldoS Corporation