com.jcraft.jsch.jce
Class ECDHN

java.lang.Object
  extended by com.jcraft.jsch.jce.ECDHN
All Implemented Interfaces:
ECDH
Direct Known Subclasses:
ECDH256, ECDH384, ECDH521

public class ECDHN
extends Object
implements ECDH


Constructor Summary
ECDHN()
           
 
Method Summary
 byte[] getQ()
           
 byte[] getSecret(byte[] r, byte[] s)
           
 void init(int size)
           
 boolean validate(byte[] r, byte[] s)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ECDHN

public ECDHN()
Method Detail

init

public void init(int size)
          throws Exception
Specified by:
init in interface ECDH
Throws:
Exception

getQ

public byte[] getQ()
            throws Exception
Specified by:
getQ in interface ECDH
Throws:
Exception

getSecret

public byte[] getSecret(byte[] r,
                        byte[] s)
                 throws Exception
Specified by:
getSecret in interface ECDH
Throws:
Exception

validate

public boolean validate(byte[] r,
                        byte[] s)
                 throws Exception
Specified by:
validate in interface ECDH
Throws:
Exception


Copyright © 2018 JCraft,Inc.. All Rights Reserved.