| 程序包 | 说明 |
|---|---|
| network.nerve.core.crypto |
| 限定符和类型 | 字段和说明 |
|---|---|
protected EncryptedData |
ECKey.encryptedPrivateKey |
| 限定符和类型 | 方法和说明 |
|---|---|
static EncryptedData |
AESEncrypt.encrypt(byte[] plainBytes,
byte[] iv,
org.bouncycastle.crypto.params.KeyParameter aesKey)
数据通过KeyParameter和初始化向量加密
|
static EncryptedData |
AESEncrypt.encrypt(byte[] plainBytes,
org.bouncycastle.crypto.params.KeyParameter aesKey)
数据通过KeyParameter加密
|
EncryptedData |
ECKey.getEncryptedData()
An alias for
ECKey.getEncryptedPrivateKey() |
EncryptedData |
ECKey.getEncryptedPrivateKey()
Returns the the encrypted private key bytes and initialisation vector for this ECKey, or null if the ECKey
is not encrypted.
|
| 限定符和类型 | 方法和说明 |
|---|---|
static byte[] |
AESEncrypt.decrypt(EncryptedData dataToDecrypt,
org.bouncycastle.crypto.params.KeyParameter aesKey)
数据通过KeyParameter解密
|
static ECKey |
ECKey.fromEncrypted(EncryptedData encryptedPrivateKey,
byte[] pubKey)
根据EncryptedData和公钥生成ECKey
|
void |
ECKey.setEncryptedPrivateKey(EncryptedData encryptedPrivateKey) |
Copyright © 2021. All rights reserved.