MultiBit HD / Technical library
INDEPENDENT KEYCHAINX RESOURCE
EncryptedFileListItem: decryption validation contract
This abstract file wrapper requires subclasses to define isValidDecryption. The reader uses that contract to assess decrypted output. The interface itself does not prove that every concrete validator establishes complete wallet correctness.
Source inspection only. Historical Java code; not executed or security-audited for this publication.
mbhd-core/src/main/java/org/multibit/hd/core/files/EncryptedFileListItem.java
View the exact upstream file · Read raw source · License notices
SHA-256: fb54ef816e2c3564751efe412aeede169e03087b62ab19b93b032a1753936a17
1package org.multibit.hd.core.files;23import java.io.File;4import java.io.IOException;5import java.io.InputStream;67/**8 * Created by Keepkey on 10/10/16.9 */10public abstract class EncryptedFileListItem extends File {11 public EncryptedFileListItem (String path){12 super(path);1314 }151617 abstract public boolean isValidDecryption(InputStream inputStream) throws IOException ;18}Read in context
This abstract file wrapper requires subclasses to define isValidDecryption. The reader uses that contract to assess decrypted output. The interface itself does not prove that every concrete validator establishes complete wallet correctness.
Compare the callers, dependency versions and corresponding tests. The pinned file is one part of a larger application. Do not execute write, prune or migration routines against your only copy of a wallet.