public class RSAKeyPair
extends java.lang.Object
Created by amyodov on 21.04.16.
| Modifier and Type | Field | Description |
|---|---|---|
byte[] |
d |
Private exponent.
|
byte[] |
dP |
|
byte[] |
dQ |
|
byte[] |
e |
Public exponent.
|
byte[] |
n |
Modulus.
|
byte[] |
p |
First prime factor of n.
|
byte[] |
q |
Second prime factor of n.
|
byte[] |
qInv |
| Constructor | Description |
|---|---|
RSAKeyPair(byte[] n,
byte[] e,
byte[] d,
byte[] p,
byte[] q,
byte[] dP,
byte[] dQ,
byte[] qInv) |
Full constructor.
|
| Modifier and Type | Method | Description |
|---|---|---|
static RSAKeyPair |
fromExponents(byte[] e,
byte[] p,
byte[] q) |
Generate from the exponents.
|
public final byte[] n
public final byte[] e
public final byte[] d
public final byte[] p
public final byte[] q
public final byte[] dP
public final byte[] dQ
public final byte[] qInv
public RSAKeyPair(byte[] n,
byte[] e,
byte[] d,
byte[] p,
byte[] q,
byte[] dP,
byte[] dQ,
byte[] qInv)
public static RSAKeyPair fromExponents(byte[] e, byte[] p, byte[] q)