public final class CipherBox extends Object
| 限定符和类型 | 字段和说明 |
|---|---|
int |
aesKeyLength |
static CipherBox |
INSTANCE |
| 构造器和说明 |
|---|
CipherBox() |
| 限定符和类型 | 方法和说明 |
|---|---|
int |
getAesKeyLength() |
RSAPublicKey |
getPublicKey() |
RsaCipher |
getRsaCipher() |
byte[] |
mixKey(byte[] clientKey,
byte[] serverKey) |
byte[] |
randomAESIV() |
byte[] |
randomAESKey() |
public int aesKeyLength
public static final CipherBox INSTANCE
public RSAPublicKey getPublicKey()
public byte[] randomAESKey()
public byte[] randomAESIV()
public byte[] mixKey(byte[] clientKey,
byte[] serverKey)
public int getAesKeyLength()
public RsaCipher getRsaCipher()
Copyright © 2016. All rights reserved.