static private getFingerPrint ( Tamir.SharpSsh.jsch.HASH hash, byte data ) : String | ||
hash | Tamir.SharpSsh.jsch.HASH | |
data | byte | |
return | String |
public String getFingerPrint(JSch jsch) { HASH hash = null; try{ hash = (HASH)Activator.CreateInstance(Type.GetType(jsch.getConfig("md5"))); } catch (Exception e) { Console.Error.WriteLine("getFingerPrint: " + e); } return(Util.getFingerPrint(hash, key)); }
public String getFingerPrint() { HASH hash = null; try { hash = new Tamir.SharpSsh.jsch.jce.MD5(); } catch (Exception e) { Console.Error.WriteLine("getFingerPrint: " + e); } return(Util.getFingerPrint(hash, getHostKey())); }
public String getFingerPrint() { HASH hash = null; try { Type t = Type.GetType(session.getConfig("md5")); hash = (HASH)(Activator.CreateInstance(t)); } catch (Exception e) { Console.Error.WriteLine("getFingerPrint: " + e); } return(Util.getFingerPrint(hash, getHostKey())); }
public String getFingerPrint() { if (hash == null) { hash = genHash(); } byte[] kblob = getPublicKeyBlob(); if (kblob == null) { return(null); } return(getKeySize() + " " + Util.getFingerPrint(hash, kblob)); }