Package org.bitcoinj.crypto
Class EncryptedData
java.lang.Object
org.bitcoinj.crypto.EncryptedData
An instance of EncryptedData is a holder for an initialization vector and encrypted bytes. It is typically used to hold encrypted private key bytes.
The initialisation vector is random data that is used to initialise the AES block cipher when the private key bytes were encrypted. You need these for decryption.
-
Field Summary
-
Constructor Summary
-
Method Summary
-
Field Details
-
initialisationVector
public final byte[] initialisationVector -
encryptedBytes
public final byte[] encryptedBytes
-
-
Constructor Details
-
EncryptedData
public EncryptedData(byte[] initialisationVector, byte[] encryptedBytes)
-
-
Method Details