shishi_hostkeys_for_localservicerealm3
Api function
Usage
#include <shishi.h>
Shishi_key * shishi_hostkeys_for_localservicerealm(Shishi * handle, const char * service, const char * realm);
Arguments
Shishi * handle
|
Shishi library handle create by |
|---|---|
const char * service
|
service to get key for. |
const char * realm
|
realm of server to get key for, or NULL for default realm. |
Overview
Get host key for service on current host in realm.
Return value
Returns the key for the server "SERVICE/HOSTNAME@REALM" (where HOSTNAME is the current system's hostname), read from the default host keys file (see shishi_hostkeys_default_file()), or NULL if no key could be found or an error encountered.
Releases
10 releases since Debian 4.0 (Etch); the text changed 5 times.