Function: toVerifier()
ts
function toVerifier(policy): HostKeyVerifier;Defined in: netconf/src/transport/host-keys.ts:76
Turn a policy into a verifier.
Parameters
policy
| readonly string[] | HostKeyVerifier | string & object
Returns
Throws
TypeError for strings that are neither fingerprints nor key lines.