public final class ECDH
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
static int |
EFS |
static int |
EGS |
static int |
ERROR |
static int |
INVALID_PUBLIC_KEY |
| Constructor and Description |
|---|
ECDH() |
| Modifier and Type | Method and Description |
|---|---|
static byte[] |
ECIES_DECRYPT(int sha,
byte[] P1,
byte[] P2,
byte[] V,
byte[] C,
byte[] T,
byte[] U) |
static byte[] |
ECIES_ENCRYPT(int sha,
byte[] P1,
byte[] P2,
RAND RNG,
byte[] W,
byte[] M,
byte[] V,
byte[] T) |
static boolean |
IN_RANGE(byte[] S) |
static int |
KEY_PAIR_GENERATE(RAND RNG,
byte[] S,
byte[] W) |
static int |
PUBLIC_KEY_VALIDATE(byte[] W) |
static void |
RFC7748(BIG r) |
static int |
SP_DSA(int sha,
RAND RNG,
byte[] S,
byte[] F,
byte[] C,
byte[] D) |
static int |
SVDP_DH(byte[] S,
byte[] WD,
byte[] Z,
int type) |
static int |
VP_DSA(int sha,
byte[] W,
byte[] F,
byte[] C,
byte[] D) |
public static final int INVALID_PUBLIC_KEY
public static final int ERROR
public static final int EFS
public static final int EGS
public static void RFC7748(BIG r)
public static boolean IN_RANGE(byte[] S)
public static int KEY_PAIR_GENERATE(RAND RNG, byte[] S, byte[] W)
public static int PUBLIC_KEY_VALIDATE(byte[] W)
public static int SVDP_DH(byte[] S,
byte[] WD,
byte[] Z,
int type)
public static int SP_DSA(int sha,
RAND RNG,
byte[] S,
byte[] F,
byte[] C,
byte[] D)
public static int VP_DSA(int sha,
byte[] W,
byte[] F,
byte[] C,
byte[] D)
public static byte[] ECIES_ENCRYPT(int sha,
byte[] P1,
byte[] P2,
RAND RNG,
byte[] W,
byte[] M,
byte[] V,
byte[] T)
public static byte[] ECIES_DECRYPT(int sha,
byte[] P1,
byte[] P2,
byte[] V,
byte[] C,
byte[] T,
byte[] U)