GetBestKeyPairForHostName (open)

Returns the ID of the best keypair for a specific hostname

Syntax

LOADLIB "mod::system/lib/keystore.whlib";

INTEGER FUNCTION GetBestKeyPairForHostName(STRING hostname)

Parameters

STRING hostname

Hostname to get the best certificate for

Return value

INTEGER

ID of the best certificate (0 if no match found)