public class MPIN
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
static int |
BAD_PARAMS |
static int |
BAD_PIN |
static int |
EFS |
static int |
EGS |
static int |
INVALID_POINT |
static int |
MAXPIN |
static int |
PBLEN |
static int |
WRONG_ORDER |
| Constructor and Description |
|---|
MPIN() |
| Modifier and Type | Method and Description |
|---|---|
static int |
CLIENT_1(byte[] CID,
RAND rng,
byte[] X,
int pin,
byte[] TOKEN,
byte[] SEC,
byte[] xID) |
static int |
CLIENT_2(byte[] X,
byte[] Y,
byte[] SEC) |
static void |
ENCODE_TO_CURVE(byte[] DST,
byte[] ID,
byte[] HCID) |
static int |
EXTRACT_PIN(byte[] CID,
int pin,
byte[] TOKEN) |
static int |
GET_CLIENT_SECRET(byte[] S,
byte[] IDHTC,
byte[] CST) |
static int |
GET_SERVER_SECRET(byte[] S,
byte[] SST) |
static int |
RANDOM_GENERATE(RAND rng,
byte[] S) |
static int |
SERVER(byte[] HID,
byte[] Y,
byte[] SST,
byte[] xID,
byte[] mSEC) |
public static final int EFS
public static final int EGS
public static final int INVALID_POINT
public static final int BAD_PARAMS
public static final int WRONG_ORDER
public static final int BAD_PIN
public static final int MAXPIN
public static final int PBLEN
public static void ENCODE_TO_CURVE(byte[] DST,
byte[] ID,
byte[] HCID)
public static int RANDOM_GENERATE(RAND rng, byte[] S)
public static int EXTRACT_PIN(byte[] CID,
int pin,
byte[] TOKEN)
public static int CLIENT_2(byte[] X,
byte[] Y,
byte[] SEC)
public static int GET_CLIENT_SECRET(byte[] S,
byte[] IDHTC,
byte[] CST)
public static int CLIENT_1(byte[] CID,
RAND rng,
byte[] X,
int pin,
byte[] TOKEN,
byte[] SEC,
byte[] xID)
public static int GET_SERVER_SECRET(byte[] S,
byte[] SST)
public static int SERVER(byte[] HID,
byte[] Y,
byte[] SST,
byte[] xID,
byte[] mSEC)