Class DH

java.lang.Object
com.jcraft.jsch.jce.DH
All Implemented Interfaces:
DH

public class DH
extends java.lang.Object
implements DH
  • Constructor Summary

    Constructors
    Constructor Description
    DH()  
  • Method Summary

    Modifier and Type Method Description
    void checkRange()  
    byte[] getE()  
    byte[] getK()  
    void init()  
    void setF​(byte[] f)  
    void setG​(byte[] g)  
    void setP​(byte[] p)  

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • DH

      public DH()
  • Method Details

    • init

      public void init() throws java.lang.Exception
      Specified by:
      init in interface DH
      Throws:
      java.lang.Exception
    • getE

      public byte[] getE() throws java.lang.Exception
      Specified by:
      getE in interface DH
      Throws:
      java.lang.Exception
    • getK

      public byte[] getK() throws java.lang.Exception
      Specified by:
      getK in interface DH
      Throws:
      java.lang.Exception
    • setP

      public void setP​(byte[] p)
      Specified by:
      setP in interface DH
    • setG

      public void setG​(byte[] g)
      Specified by:
      setG in interface DH
    • setF

      public void setF​(byte[] f)
      Specified by:
      setF in interface DH
    • checkRange

      public void checkRange() throws java.lang.Exception
      Specified by:
      checkRange in interface DH
      Throws:
      java.lang.Exception