Discuss this help topic in SecureBlackbox Forum

TElLDAPSKeyserverClient.Search

TElLDAPSKeyserverClient     See also     


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


Performs search on PGP keyserver.

Declaration

[C#]
    TElPGPKeyring Search(string ID);
    void Search(ref TElPGPKeyring KeyRing, string ID);
    TElPGPKeyring Search(TElLDAPSKeyserverSearchFilter Filter);
    void Search(ref TElPGPKeyring KeyRing, TElLDAPSKeyserverSearchFilter Filter);
    TElLDAPResponse Search(string BaseDN, TSBLDAPScope Scope, string Filter, String[] Attrs, bool AttrsOnly);
    TElLDAPResponse Search(string BaseDN, TSBLDAPScope Scope, TElLDAPSSearchFilter Filter, String[] Attrs, bool AttrsOnly);
    TElLDAPResponse Search();

[VB.NET]
    Function Search(ByVal ID As String) As TElPGPKeyring
    Sub Search(ByRef KeyRing As TElPGPKeyring, ByVal ID As String)
    Function Search(ByVal Filter As TElLDAPSKeyserverSearchFilter) As TElPGPKeyring
    Sub Search(ByRef KeyRing As TElPGPKeyring, ByVal Filter As TElLDAPSKeyserverSearchFilter)
    Function Search(ByVal BaseDN As String, ByVal Scope As TSBLDAPScope, ByVal Filter As String, ByVal Attrs As String[], ByVal AttrsOnly As Boolean) As TElLDAPResponse
    Function Search(ByVal BaseDN As String, ByVal Scope As TSBLDAPScope, ByVal Filter As TElLDAPSSearchFilter, ByVal Attrs As String[], ByVal AttrsOnly As Boolean) As TElLDAPResponse
    Function Search() As TElLDAPResponse

[Pascal]
    function Search(const ID : string) : TElPGPKeyring;
    function Search(const Filter : TElLDAPSKeyserverSearchFilter) : TElPGPKeyring;
    procedure Search(var KeyRing : TElPGPKeyring; const ID : string);
    procedure Search(var KeyRing : TElPGPKeyring; const Filter : TElLDAPSKeyserverSearchFilter);

[C++]
    TElPGPKeyringHandle Search(const std::string &ID);
    void Search(TElPGPKeyring &KeyRing, const std::string &ID);
    TElPGPKeyringHandle Search(const TElLDAPSKeyserverSearchFilter &Filter);
    TElPGPKeyringHandle Search(const TElLDAPSKeyserverSearchFilter *Filter);
    void Search(TElPGPKeyring &KeyRing, const TElLDAPSKeyserverSearchFilter &Filter);
    void Search(TElPGPKeyring &KeyRing, const TElLDAPSKeyserverSearchFilter *Filter);

[PHP]
    TElPGPKeyring Search(string $ID)
    void Search(TElPGPKeyring &$KeyRing, string $ID)
    TElPGPKeyring Search(TElLDAPSKeyserverSearchFilter $Filter)
    void Search(TElPGPKeyring &$KeyRing, TElLDAPSKeyserverSearchFilter $Filter)
    TElLDAPResponse Search(string $BaseDN, integer $Scope, string $Filter, TStringList $Attrs, bool $AttrsOnly)
    TElLDAPResponse Search(string $BaseDN, integer $Scope, TElLDAPSSearchFilter $Filter, TStringList $Attrs, bool $AttrsOnly)
    TElLDAPResponse Search()

[Java]
    TElPGPKeyring search(String ID);
    void search(TElPGPKeyring[] KeyRing, String ID);
    TElPGPKeyring search(TElLDAPSKeyserverSearchFilter Filter);
    void search(TElPGPKeyring[] KeyRing, TElLDAPSKeyserverSearchFilter Filter);

Parameters

  • Filter - specifies search filter (criteria).
  • ID - ID of the desired key.
  • KeyRing - the keyring to search for.
  • BaseDN - ...
  • Scope - ...
  • Attrs - ...
  • AttrsOnly - ...

TSBLDAPScope values

Return value

    …

Description

    Use this method to perform search for the desired public keys on PGP keyservers.

See also:     KeySearchRetryCount    

Discuss this help topic in SecureBlackbox Forum