Class BasicKeyChain

A KeyChain that implements the simplest model possible: it can have keys imported into it, and just acts as
a dumb bag of keys. It will, left to its own devices, always return the same key for usage by the wallet, although
it will automatically add one to itself if it's empty or if encryption is requested.

getEarliestKeyCreationTime

Returns the earliest creation time of keys in this chain, in seconds since the epoch. This can return zero
if at least one key does not have that data (was created before key timestamping was implemented). If there
are no keys in the wallet, Long.MAX_VALUE is returned.

toDecrypted

Decrypt the key chain with the given AES key and whatever KeyCrypter is already set. Note that if you
just want to spend money from an encrypted wallet, don't decrypt the whole thing first. Instead, set the
SendRequest.aesKey field before asking the wallet to build the send.

getFilter

Gets a bloom filter that contains all of the public keys from this chain, and which will provide the given
false-positive rate if it has size elements. Keep in mind that you will get 2 elements in the bloom filter for
each key in the key chain, for the public key and the hash of the public key (address form). For this reason
size should be at least 2x the result of KeyChain.numKeys().