|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use KeyCrypter | |
|---|---|
| com.google.bitcoin.core | |
| com.google.bitcoin.crypto | |
| Uses of KeyCrypter in com.google.bitcoin.core |
|---|
| Methods in com.google.bitcoin.core that return KeyCrypter | |
|---|---|
KeyCrypter |
Wallet.getKeyCrypter()
Get the wallet's KeyCrypter. |
KeyCrypter |
ECKey.getKeyCrypter()
|
| Methods in com.google.bitcoin.core with parameters of type KeyCrypter | |
|---|---|
ECKey |
Wallet.addNewEncryptedKey(KeyCrypter keyCrypter,
org.spongycastle.crypto.params.KeyParameter aesKey)
Create a new, random encrypted ECKey and add it to the wallet. |
ECKey |
ECKey.decrypt(KeyCrypter keyCrypter,
org.spongycastle.crypto.params.KeyParameter aesKey)
Create a decrypted private key with the keyCrypter and AES key supplied. |
void |
Wallet.encrypt(KeyCrypter keyCrypter,
org.spongycastle.crypto.params.KeyParameter aesKey)
Encrypt the wallet using the KeyCrypter and the AES key. |
ECKey |
ECKey.encrypt(KeyCrypter keyCrypter,
org.spongycastle.crypto.params.KeyParameter aesKey)
Create an encrypted private key with the keyCrypter and the AES key supplied. |
static boolean |
ECKey.encryptionIsReversible(ECKey originalKey,
ECKey encryptedKey,
KeyCrypter keyCrypter,
org.spongycastle.crypto.params.KeyParameter aesKey)
Check that it is possible to decrypt the key with the keyCrypter and that the original key is returned. |
void |
Wallet.setKeyCrypter(KeyCrypter keyCrypter)
Sets the wallet's KeyCrypter. |
| Constructors in com.google.bitcoin.core with parameters of type KeyCrypter | |
|---|---|
ECKey(EncryptedPrivateKey encryptedPrivateKey,
byte[] pubKey,
KeyCrypter keyCrypter)
Create a new ECKey with an encrypted private key, a public key and a KeyCrypter. |
|
Wallet(NetworkParameters params,
KeyCrypter keyCrypter)
Create a wallet with a keyCrypter to use in encrypting and decrypting keys. |
|
| Uses of KeyCrypter in com.google.bitcoin.crypto |
|---|
| Classes in com.google.bitcoin.crypto that implement KeyCrypter | |
|---|---|
class |
KeyCrypterScrypt
This class encrypts and decrypts byte arrays and strings using scrypt as the key derivation function and AES for the encryption. |
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||