class SimpleHDKeyChain implements EncryptableKeyChain, KeyBag {

    @Override
    public SimpleHDKeyChain toDecrypted(CharSequence password) {
        checkNotNull(password, "Attempt to decrypt with a null password.");
        checkArgument(password.length() > 0, "Attempt to decrypt with an empty password.");
        KeyCrypter crypter = getKeyCrypter();
        checkState(crypter != null, "Chain not encrypted");
        KeyParameter derivedKey = crypter.deriveKey(password);
        return toDecrypted(derivedKey);
    }

    public  SimpleHDKeyChain(DeterministicKey rootkey);
      SimpleHDKeyChain(DeterministicKey rootkey, @Nullable KeyCrypter crypter);
      SimpleHDKeyChain(DeterministicKey rootkey, @Nullable KeyCrypter crypter,
                     @Nullable KeyParameter key);
    private  SimpleHDKeyChain(KeyCrypter crypter, KeyParameter aesKey, SimpleHDKeyChain chain);

}