com.jcraft.jsch.jce
Class ECDHN
java.lang.Object
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()
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ECDHN
public ECDHN()
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 © 2016 JCraft,Inc.. All Rights Reserved.