Package org.vngx.jsch

Examples of org.vngx.jsch.Buffer.clear()


      _session.write(kexPacket)// Send key exchange init message to server
      JSch.getLogger().log(Logger.Level.INFO, "SSH_MSG_KEXINIT sent");
    } catch(Exception e) {
      throw new KexException("Failed to send SSH_MSG_KEXINIT", e);
    } finally {
      kexBuffer.clear()// Clear buffer to ensure sensitive data is wiped
    }
  }

  /**
   * <p>Receives the server's key exchange KEXINIT from the specified
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.