added an Intent and functionality to generate detached signatures

This commit is contained in:
Thialfihar
2010-12-25 14:00:25 +00:00
parent 01889c405f
commit 428cf39ba3
4 changed files with 177 additions and 10 deletions

View File

@@ -36,10 +36,20 @@ public class DataSource {
public void setText(String text) {
mText = text;
mData = null;
}
public void setData(byte[] data) {
mData = data;
mText = null;
}
public boolean isText() {
return mText != null;
}
public boolean isBinary() {
return mData != null;
}
public InputData getInputData(Context context, boolean withSize)