Class HostKey


  • public class HostKey
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Constructor Description
      HostKey​(java.lang.String host, byte[] key)  
      HostKey​(java.lang.String host, int type, byte[] key)  
      HostKey​(java.lang.String host, int type, byte[] key, java.lang.String comment)  
      HostKey​(java.lang.String marker, java.lang.String host, int type, byte[] key, java.lang.String comment)  
    • Constructor Detail

      • HostKey

        public HostKey​(java.lang.String host,
                       int type,
                       byte[] key,
                       java.lang.String comment)
                throws JSchException
        Throws:
        JSchException
      • HostKey

        public HostKey​(java.lang.String marker,
                       java.lang.String host,
                       int type,
                       byte[] key,
                       java.lang.String comment)
                throws JSchException
        Throws:
        JSchException
    • Method Detail

      • getHost

        public java.lang.String getHost()
      • getType

        public java.lang.String getType()
      • name2type

        protected static int name2type​(java.lang.String name)
      • getKey

        public java.lang.String getKey()
      • getFingerPrint

        public java.lang.String getFingerPrint​(JSch jsch)
      • getComment

        public java.lang.String getComment()
      • getMarker

        public java.lang.String getMarker()