java.lang.Object
com.jcraft.jsch.jce.ECDHN
-
Constructor Summary
Constructors
Constructor |
Description |
ECDHN() |
|
-
Method Summary
Modifier and Type |
Method |
Description |
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
-
-
Method Details
-
public void init(int size)
throws java.lang.Exception
- Specified by:
init
in interface ECDH
- Throws:
java.lang.Exception
-
public byte[] getQ()
throws java.lang.Exception
- Specified by:
getQ
in interface ECDH
- Throws:
java.lang.Exception
-
public byte[] getSecret(byte[] r,
byte[] s)
throws java.lang.Exception
- Specified by:
getSecret
in interface ECDH
- Throws:
java.lang.Exception
-
public boolean validate(byte[] r,
byte[] s)
throws java.lang.Exception
- Specified by:
validate
in interface ECDH
- Throws:
java.lang.Exception