public class KeyHolder
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected byte[] |
mOriginalPrivateKey |
protected byte[] |
mPrivateKey |
protected byte[] |
mPublicKeyDiffieHellman |
protected byte[] |
mPublicKeySignature |
Constructor and Description |
---|
KeyHolder(byte[] privateKey) |
KeyHolder(byte[] publicKeyDiffieHellman,
byte[] publicKeySignature) |
KeyHolder(byte[] privateKey,
byte[] publicKeyDiffieHellman,
byte[] publicKeySignature) |
Modifier and Type | Method and Description |
---|---|
protected byte[] |
computePublicSignatureKey(byte[] privateKey) |
static byte[] |
createPrivateKey(byte[] seed) |
byte[] |
getPrivateKey() |
byte[] |
getPrivateKeyUnclamped() |
byte[] |
getPublicKeyDiffieHellman() |
byte[] |
getPublicKeySignature() |
protected final byte[] mPrivateKey
protected final byte[] mOriginalPrivateKey
protected final byte[] mPublicKeyDiffieHellman
protected final byte[] mPublicKeySignature
public KeyHolder(byte[] privateKey)
public KeyHolder(byte[] publicKeyDiffieHellman, byte[] publicKeySignature)
public KeyHolder(byte[] privateKey, byte[] publicKeyDiffieHellman, byte[] publicKeySignature)
public static byte[] createPrivateKey(byte[] seed)
protected byte[] computePublicSignatureKey(byte[] privateKey)
public byte[] getPrivateKey()
public byte[] getPrivateKeyUnclamped()
public byte[] getPublicKeyDiffieHellman()
public byte[] getPublicKeySignature()