Checks an SSH host certificate as Go's CertChecker.CheckHostKey(principal + ':22', ...) does.
CertChecker.CheckHostKey(principal + ':22', ...)
the parsed certificate
the host name it must be valid for
the trusted certificate authority keys
the time to check validity at
a promise of '' when acceptable, otherwise the reason it is not
Checks an SSH host certificate as Go's
CertChecker.CheckHostKey(principal + ':22', ...)does.