Search in sources :

Example 1 with PwEntryV4

use of com.keepassdroid.database.PwEntryV4 in project KeePassDX by Kunzisoft.

the class ImporterV4 method ReadXmlElement.

private KdbContext ReadXmlElement(KdbContext ctx, XmlPullParser xpp) throws XmlPullParserException, IOException, InvalidDBException {
    String name = xpp.getName();
    switch(ctx) {
        case Null:
            if (name.equalsIgnoreCase(ElemDocNode)) {
                return SwitchContext(ctx, KdbContext.KeePassFile, xpp);
            } else
                ReadUnknown(xpp);
            break;
        case KeePassFile:
            if (name.equalsIgnoreCase(ElemMeta)) {
                return SwitchContext(ctx, KdbContext.Meta, xpp);
            } else if (name.equalsIgnoreCase(ElemRoot)) {
                return SwitchContext(ctx, KdbContext.Root, xpp);
            } else {
                ReadUnknown(xpp);
            }
            break;
        case Meta:
            if (name.equalsIgnoreCase(ElemGenerator)) {
                // Ignore
                ReadString(xpp);
            } else if (name.equalsIgnoreCase(ElemHeaderHash)) {
                String encodedHash = ReadString(xpp);
                if (!EmptyUtils.isNullOrEmpty(encodedHash) && (hashOfHeader != null)) {
                    byte[] hash = Base64Coder.decode(encodedHash);
                    if (!Arrays.equals(hash, hashOfHeader)) {
                        throw new InvalidDBException();
                    }
                }
            } else if (name.equalsIgnoreCase(ElemSettingsChanged)) {
                db.settingsChanged = ReadTime(xpp);
            } else if (name.equalsIgnoreCase(ElemDbName)) {
                db.name = ReadString(xpp);
            } else if (name.equalsIgnoreCase(ElemDbNameChanged)) {
                db.nameChanged = ReadTime(xpp);
            } else if (name.equalsIgnoreCase(ElemDbDesc)) {
                db.description = ReadString(xpp);
            } else if (name.equalsIgnoreCase(ElemDbDescChanged)) {
                db.descriptionChanged = ReadTime(xpp);
            } else if (name.equalsIgnoreCase(ElemDbDefaultUser)) {
                db.defaultUserName = ReadString(xpp);
            } else if (name.equalsIgnoreCase(ElemDbDefaultUserChanged)) {
                db.defaultUserNameChanged = ReadTime(xpp);
            } else if (name.equalsIgnoreCase(ElemDbColor)) {
                // TODO: Add support to interpret the color if we want to allow changing the database color
                db.color = ReadString(xpp);
            } else if (name.equalsIgnoreCase(ElemDbMntncHistoryDays)) {
                db.maintenanceHistoryDays = ReadUInt(xpp, DEFAULT_HISTORY_DAYS);
            } else if (name.equalsIgnoreCase(ElemDbKeyChanged)) {
                db.keyLastChanged = ReadTime(xpp);
            } else if (name.equalsIgnoreCase(ElemDbKeyChangeRec)) {
                db.keyChangeRecDays = ReadLong(xpp, -1);
            } else if (name.equalsIgnoreCase(ElemDbKeyChangeForce)) {
                db.keyChangeForceDays = ReadLong(xpp, -1);
            } else if (name.equalsIgnoreCase(ElemDbKeyChangeForceOnce)) {
                db.keyChangeForceOnce = ReadBool(xpp, false);
            } else if (name.equalsIgnoreCase(ElemMemoryProt)) {
                return SwitchContext(ctx, KdbContext.MemoryProtection, xpp);
            } else if (name.equalsIgnoreCase(ElemCustomIcons)) {
                return SwitchContext(ctx, KdbContext.CustomIcons, xpp);
            } else if (name.equalsIgnoreCase(ElemRecycleBinEnabled)) {
                db.recycleBinEnabled = ReadBool(xpp, true);
            } else if (name.equalsIgnoreCase(ElemRecycleBinUuid)) {
                db.recycleBinUUID = ReadUuid(xpp);
            } else if (name.equalsIgnoreCase(ElemRecycleBinChanged)) {
                db.recycleBinChanged = ReadTime(xpp);
            } else if (name.equalsIgnoreCase(ElemEntryTemplatesGroup)) {
                db.entryTemplatesGroup = ReadUuid(xpp);
            } else if (name.equalsIgnoreCase(ElemEntryTemplatesGroupChanged)) {
                db.entryTemplatesGroupChanged = ReadTime(xpp);
            } else if (name.equalsIgnoreCase(ElemHistoryMaxItems)) {
                db.historyMaxItems = ReadInt(xpp, -1);
            } else if (name.equalsIgnoreCase(ElemHistoryMaxSize)) {
                db.historyMaxSize = ReadLong(xpp, -1);
            } else if (name.equalsIgnoreCase(ElemEntryTemplatesGroupChanged)) {
                db.entryTemplatesGroupChanged = ReadTime(xpp);
            } else if (name.equalsIgnoreCase(ElemLastSelectedGroup)) {
                db.lastSelectedGroup = ReadUuid(xpp);
            } else if (name.equalsIgnoreCase(ElemLastTopVisibleGroup)) {
                db.lastTopVisibleGroup = ReadUuid(xpp);
            } else if (name.equalsIgnoreCase(ElemBinaries)) {
                return SwitchContext(ctx, KdbContext.Binaries, xpp);
            } else if (name.equalsIgnoreCase(ElemCustomData)) {
                return SwitchContext(ctx, KdbContext.CustomData, xpp);
            }
            break;
        case MemoryProtection:
            if (name.equalsIgnoreCase(ElemProtTitle)) {
                db.memoryProtection.protectTitle = ReadBool(xpp, false);
            } else if (name.equalsIgnoreCase(ElemProtUserName)) {
                db.memoryProtection.protectUserName = ReadBool(xpp, false);
            } else if (name.equalsIgnoreCase(ElemProtPassword)) {
                db.memoryProtection.protectPassword = ReadBool(xpp, false);
            } else if (name.equalsIgnoreCase(ElemProtURL)) {
                db.memoryProtection.protectUrl = ReadBool(xpp, false);
            } else if (name.equalsIgnoreCase(ElemProtNotes)) {
                db.memoryProtection.protectNotes = ReadBool(xpp, false);
            } else if (name.equalsIgnoreCase(ElemProtAutoHide)) {
                db.memoryProtection.autoEnableVisualHiding = ReadBool(xpp, false);
            } else {
                ReadUnknown(xpp);
            }
            break;
        case CustomIcons:
            if (name.equalsIgnoreCase(ElemCustomIconItem)) {
                return SwitchContext(ctx, KdbContext.CustomIcon, xpp);
            } else {
                ReadUnknown(xpp);
            }
            break;
        case CustomIcon:
            if (name.equalsIgnoreCase(ElemCustomIconItemID)) {
                customIconID = ReadUuid(xpp);
            } else if (name.equalsIgnoreCase(ElemCustomIconItemData)) {
                String strData = ReadString(xpp);
                if (strData != null && strData.length() > 0) {
                    customIconData = Base64Coder.decode(strData);
                } else {
                    assert (false);
                }
            } else {
                ReadUnknown(xpp);
            }
            break;
        case Binaries:
            if (name.equalsIgnoreCase(ElemBinary)) {
                String key = xpp.getAttributeValue(null, AttrId);
                if (key != null) {
                    ProtectedBinary pbData = ReadProtectedBinary(xpp);
                    int id = Integer.parseInt(key);
                    db.binPool.put(id, pbData);
                } else {
                    ReadUnknown(xpp);
                }
            } else {
                ReadUnknown(xpp);
            }
            break;
        case CustomData:
            if (name.equalsIgnoreCase(ElemStringDictExItem)) {
                return SwitchContext(ctx, KdbContext.CustomDataItem, xpp);
            } else {
                ReadUnknown(xpp);
            }
            break;
        case CustomDataItem:
            if (name.equalsIgnoreCase(ElemKey)) {
                customDataKey = ReadString(xpp);
            } else if (name.equalsIgnoreCase(ElemValue)) {
                customDataValue = ReadString(xpp);
            } else {
                ReadUnknown(xpp);
            }
            break;
        case Root:
            if (name.equalsIgnoreCase(ElemGroup)) {
                assert (ctxGroups.size() == 0);
                if (ctxGroups.size() != 0)
                    throw new IOException("Group list should be empty.");
                db.rootGroup = new PwGroupV4();
                ctxGroups.push((PwGroupV4) db.rootGroup);
                ctxGroup = ctxGroups.peek();
                return SwitchContext(ctx, KdbContext.Group, xpp);
            } else if (name.equalsIgnoreCase(ElemDeletedObjects)) {
                return SwitchContext(ctx, KdbContext.RootDeletedObjects, xpp);
            } else {
                ReadUnknown(xpp);
            }
            break;
        case Group:
            if (name.equalsIgnoreCase(ElemUuid)) {
                ctxGroup.setUUID(ReadUuid(xpp));
            } else if (name.equalsIgnoreCase(ElemName)) {
                ctxGroup.setName(ReadString(xpp));
            } else if (name.equalsIgnoreCase(ElemNotes)) {
                ctxGroup.setNotes(ReadString(xpp));
            } else if (name.equalsIgnoreCase(ElemIcon)) {
                ctxGroup.setIcon(db.iconFactory.getIcon((int) ReadUInt(xpp, 0)));
            } else if (name.equalsIgnoreCase(ElemCustomIconID)) {
                ctxGroup.setCustomIcon(db.iconFactory.getIcon(ReadUuid(xpp)));
            } else if (name.equalsIgnoreCase(ElemTimes)) {
                return SwitchContext(ctx, KdbContext.GroupTimes, xpp);
            } else if (name.equalsIgnoreCase(ElemIsExpanded)) {
                ctxGroup.setExpanded(ReadBool(xpp, true));
            } else if (name.equalsIgnoreCase(ElemGroupDefaultAutoTypeSeq)) {
                ctxGroup.setDefaultAutoTypeSequence(ReadString(xpp));
            } else if (name.equalsIgnoreCase(ElemEnableAutoType)) {
                ctxGroup.setEnableAutoType(StringToBoolean(ReadString(xpp)));
            } else if (name.equalsIgnoreCase(ElemEnableSearching)) {
                ctxGroup.setEnableSearching(StringToBoolean(ReadString(xpp)));
            } else if (name.equalsIgnoreCase(ElemLastTopVisibleEntry)) {
                ctxGroup.setLastTopVisibleEntry(ReadUuid(xpp));
            } else if (name.equalsIgnoreCase(ElemCustomData)) {
                return SwitchContext(ctx, KdbContext.GroupCustomData, xpp);
            } else if (name.equalsIgnoreCase(ElemGroup)) {
                ctxGroup = new PwGroupV4();
                ctxGroups.peek().AddGroup(ctxGroup);
                ctxGroups.push(ctxGroup);
                return SwitchContext(ctx, KdbContext.Group, xpp);
            } else if (name.equalsIgnoreCase(ElemEntry)) {
                ctxEntry = new PwEntryV4();
                ctxGroup.AddEntry(ctxEntry);
                entryInHistory = false;
                return SwitchContext(ctx, KdbContext.Entry, xpp);
            } else {
                ReadUnknown(xpp);
            }
            break;
        case GroupCustomData:
            if (name.equalsIgnoreCase(ElemStringDictExItem)) {
                return SwitchContext(ctx, KdbContext.GroupCustomDataItem, xpp);
            } else {
                ReadUnknown(xpp);
            }
            break;
        case GroupCustomDataItem:
            if (name.equalsIgnoreCase(ElemKey)) {
                groupCustomDataKey = ReadString(xpp);
            } else if (name.equalsIgnoreCase(ElemValue)) {
                groupCustomDataValue = ReadString(xpp);
            } else {
                ReadUnknown(xpp);
            }
            break;
        case Entry:
            if (name.equalsIgnoreCase(ElemUuid)) {
                ctxEntry.setUUID(ReadUuid(xpp));
            } else if (name.equalsIgnoreCase(ElemIcon)) {
                ctxEntry.setIcon(db.iconFactory.getIcon((int) ReadUInt(xpp, 0)));
            } else if (name.equalsIgnoreCase(ElemCustomIconID)) {
                ctxEntry.setCustomIcon(db.iconFactory.getIcon(ReadUuid(xpp)));
            } else if (name.equalsIgnoreCase(ElemFgColor)) {
                ctxEntry.setForegroundColor(ReadString(xpp));
            } else if (name.equalsIgnoreCase(ElemBgColor)) {
                ctxEntry.setBackgroupColor(ReadString(xpp));
            } else if (name.equalsIgnoreCase(ElemOverrideUrl)) {
                ctxEntry.setOverrideURL(ReadString(xpp));
            } else if (name.equalsIgnoreCase(ElemTags)) {
                ctxEntry.setTags(ReadString(xpp));
            } else if (name.equalsIgnoreCase(ElemTimes)) {
                return SwitchContext(ctx, KdbContext.EntryTimes, xpp);
            } else if (name.equalsIgnoreCase(ElemString)) {
                return SwitchContext(ctx, KdbContext.EntryString, xpp);
            } else if (name.equalsIgnoreCase(ElemBinary)) {
                return SwitchContext(ctx, KdbContext.EntryBinary, xpp);
            } else if (name.equalsIgnoreCase(ElemAutoType)) {
                return SwitchContext(ctx, KdbContext.EntryAutoType, xpp);
            } else if (name.equalsIgnoreCase(ElemCustomData)) {
                return SwitchContext(ctx, KdbContext.EntryCustomData, xpp);
            } else if (name.equalsIgnoreCase(ElemHistory)) {
                assert (!entryInHistory);
                if (!entryInHistory) {
                    ctxHistoryBase = ctxEntry;
                    return SwitchContext(ctx, KdbContext.EntryHistory, xpp);
                } else {
                    ReadUnknown(xpp);
                }
            } else {
                ReadUnknown(xpp);
            }
            break;
        case EntryCustomData:
            if (name.equalsIgnoreCase(ElemStringDictExItem)) {
                return SwitchContext(ctx, KdbContext.EntryCustomDataItem, xpp);
            } else {
                ReadUnknown(xpp);
            }
            break;
        case EntryCustomDataItem:
            if (name.equalsIgnoreCase(ElemKey)) {
                entryCustomDataKey = ReadString(xpp);
            } else if (name.equalsIgnoreCase(ElemValue)) {
                entryCustomDataValue = ReadString(xpp);
            } else {
                ReadUnknown(xpp);
            }
            break;
        case GroupTimes:
        case EntryTimes:
            ITimeLogger tl;
            if (ctx == KdbContext.GroupTimes) {
                tl = ctxGroup;
            } else {
                tl = ctxEntry;
            }
            if (name.equalsIgnoreCase(ElemLastModTime)) {
                tl.setLastModificationTime(ReadPwTime(xpp));
            } else if (name.equalsIgnoreCase(ElemCreationTime)) {
                tl.setCreationTime(ReadPwTime(xpp));
            } else if (name.equalsIgnoreCase(ElemLastAccessTime)) {
                tl.setLastAccessTime(ReadPwTime(xpp));
            } else if (name.equalsIgnoreCase(ElemExpiryTime)) {
                tl.setExpiryTime(ReadPwTime(xpp));
            } else if (name.equalsIgnoreCase(ElemExpires)) {
                tl.setExpires(ReadBool(xpp, false));
            } else if (name.equalsIgnoreCase(ElemUsageCount)) {
                tl.setUsageCount(ReadULong(xpp, 0));
            } else if (name.equalsIgnoreCase(ElemLocationChanged)) {
                tl.setLocationChanged(ReadPwTime(xpp));
            } else {
                ReadUnknown(xpp);
            }
            break;
        case EntryString:
            if (name.equalsIgnoreCase(ElemKey)) {
                ctxStringName = ReadString(xpp);
            } else if (name.equalsIgnoreCase(ElemValue)) {
                ctxStringValue = ReadProtectedString(xpp);
            } else {
                ReadUnknown(xpp);
            }
            break;
        case EntryBinary:
            if (name.equalsIgnoreCase(ElemKey)) {
                ctxBinaryName = ReadString(xpp);
            } else if (name.equalsIgnoreCase(ElemValue)) {
                ctxBinaryValue = ReadProtectedBinary(xpp);
            }
            break;
        case EntryAutoType:
            if (name.equalsIgnoreCase(ElemAutoTypeEnabled)) {
                ctxEntry.getAutoType().enabled = ReadBool(xpp, true);
            } else if (name.equalsIgnoreCase(ElemAutoTypeObfuscation)) {
                ctxEntry.getAutoType().obfuscationOptions = ReadUInt(xpp, 0);
            } else if (name.equalsIgnoreCase(ElemAutoTypeDefaultSeq)) {
                ctxEntry.getAutoType().defaultSequence = ReadString(xpp);
            } else if (name.equalsIgnoreCase(ElemAutoTypeItem)) {
                return SwitchContext(ctx, KdbContext.EntryAutoTypeItem, xpp);
            } else {
                ReadUnknown(xpp);
            }
            break;
        case EntryAutoTypeItem:
            if (name.equalsIgnoreCase(ElemWindow)) {
                ctxATName = ReadString(xpp);
            } else if (name.equalsIgnoreCase(ElemKeystrokeSequence)) {
                ctxATSeq = ReadString(xpp);
            } else {
                ReadUnknown(xpp);
            }
            break;
        case EntryHistory:
            if (name.equalsIgnoreCase(ElemEntry)) {
                ctxEntry = new PwEntryV4();
                ctxHistoryBase.addToHistory(ctxEntry);
                entryInHistory = true;
                return SwitchContext(ctx, KdbContext.Entry, xpp);
            } else {
                ReadUnknown(xpp);
            }
            break;
        case RootDeletedObjects:
            if (name.equalsIgnoreCase(ElemDeletedObject)) {
                ctxDeletedObject = new PwDeletedObject();
                db.deletedObjects.add(ctxDeletedObject);
                return SwitchContext(ctx, KdbContext.DeletedObject, xpp);
            } else {
                ReadUnknown(xpp);
            }
            break;
        case DeletedObject:
            if (name.equalsIgnoreCase(ElemUuid)) {
                ctxDeletedObject.uuid = ReadUuid(xpp);
            } else if (name.equalsIgnoreCase(ElemDeletionTime)) {
                ctxDeletedObject.setDeletionTime(ReadTime(xpp));
            } else {
                ReadUnknown(xpp);
            }
            break;
        default:
            ReadUnknown(xpp);
            break;
    }
    return ctx;
}
Also used : InvalidDBException(com.keepassdroid.database.exception.InvalidDBException) PwEntryV4(com.keepassdroid.database.PwEntryV4) PwDeletedObject(com.keepassdroid.database.PwDeletedObject) PwGroupV4(com.keepassdroid.database.PwGroupV4) ITimeLogger(com.keepassdroid.database.ITimeLogger) ProtectedBinary(com.keepassdroid.database.security.ProtectedBinary) ProtectedString(com.keepassdroid.database.security.ProtectedString) IOException(java.io.IOException)

Example 2 with PwEntryV4

use of com.keepassdroid.database.PwEntryV4 in project KeePassDX by Kunzisoft.

the class SprEngineV4 method fillRefPlaceholders.

private String fillRefPlaceholders(String text, SprContextV4 ctx, int recursionLevel) {
    if (ctx.db == null) {
        return text;
    }
    int offset = 0;
    for (int i = 0; i < 20; ++i) {
        text = fillRefsUsingCache(text, ctx);
        int start = StrUtil.indexOfIgnoreCase(text, STR_REF_START, offset, Locale.ENGLISH);
        if (start < 0) {
            break;
        }
        int end = StrUtil.indexOfIgnoreCase(text, STR_REF_END, start + 1, Locale.ENGLISH);
        if (end <= start) {
            break;
        }
        String fullRef = text.substring(start, end - start + 1);
        TargetResult result = findRefTarget(fullRef, ctx);
        if (result != null) {
            PwEntryV4 found = result.entry;
            char wanted = result.wanted;
            if (found != null) {
                String data;
                switch(wanted) {
                    case 'T':
                        data = found.getTitle();
                        break;
                    case 'U':
                        data = found.getUsername();
                        break;
                    case 'A':
                        data = found.getUrl();
                        break;
                    case 'P':
                        data = found.getPassword();
                        break;
                    case 'N':
                        data = found.getNotes();
                        break;
                    case 'I':
                        data = found.getUUID().toString();
                        break;
                    default:
                        offset = start + 1;
                        continue;
                }
                SprContextV4 subCtx = (SprContextV4) ctx.clone();
                subCtx.entry = found;
                String innerContent = compileInternal(data, subCtx, recursionLevel + 1);
                addRefsToCache(fullRef, innerContent, ctx);
                text = fillRefsUsingCache(text, ctx);
            } else {
                offset = start + 1;
                continue;
            }
        }
    }
    return text;
}
Also used : PwEntryV4(com.keepassdroid.database.PwEntryV4)

Example 3 with PwEntryV4

use of com.keepassdroid.database.PwEntryV4 in project KeePassDX by Kunzisoft.

the class PwDbV4Output method writeList.

private void writeList(String name, List<PwEntryV4> value, boolean isHistory) throws IllegalArgumentException, IllegalStateException, IOException {
    assert (name != null && value != null);
    xml.startTag(null, name);
    for (PwEntryV4 entry : value) {
        writeEntry(entry, isHistory);
    }
    xml.endTag(null, name);
}
Also used : PwEntryV4(com.keepassdroid.database.PwEntryV4)

Example 4 with PwEntryV4

use of com.keepassdroid.database.PwEntryV4 in project KeePassDX by Kunzisoft.

the class EntryV4 method testBackup.

public void testBackup() {
    PwDatabaseV4 db = new PwDatabaseV4();
    db.historyMaxItems = 2;
    PwEntryV4 entry = new PwEntryV4();
    entry.startToDecodeReference(db);
    entry.setTitle("Title1");
    entry.setUsername("User1");
    entry.createBackup(db);
    entry.setTitle("Title2");
    entry.setUsername("User2");
    entry.createBackup(db);
    entry.setTitle("Title3");
    entry.setUsername("User3");
    entry.createBackup(db);
    PwEntryV4 backup = entry.getHistory().get(0);
    entry.endToDecodeReference(db);
    assertEquals("Title2", backup.getTitle());
    assertEquals("User2", backup.getUsername());
}
Also used : PwEntryV4(com.keepassdroid.database.PwEntryV4) PwDatabaseV4(com.keepassdroid.database.PwDatabaseV4)

Example 5 with PwEntryV4

use of com.keepassdroid.database.PwEntryV4 in project KeePassDX by Kunzisoft.

the class PwEntryTestV4 method testAssign.

public void testAssign() {
    PwEntryV4 entry = new PwEntryV4();
    entry.setAdditional("test223");
    entry.setAutoType(new AutoType());
    entry.getAutoType().defaultSequence = "1324";
    entry.getAutoType().enabled = true;
    entry.getAutoType().obfuscationOptions = 123412432109L;
    entry.getAutoType().put("key", "value");
    entry.setBackgroupColor("blue");
    entry.putProtectedBinary("key1", new ProtectedBinary(false, new byte[] { 0, 1 }));
    entry.setCustomIcon(new PwIconCustom(UUID.randomUUID(), new byte[0]));
    entry.setForegroundColor("red");
    entry.addToHistory(new PwEntryV4());
    entry.setIcon(new PwIconStandard(5));
    entry.setOverrideURL("override");
    entry.setParent(new PwGroupV4());
    entry.addField("key2", new ProtectedString(false, "value2"));
    entry.setUrl("http://localhost");
    entry.setUUID(UUID.randomUUID());
    PwEntryV4 target = new PwEntryV4();
    target.assign(entry);
/* This test is not so useful now that I am not implementing value equality for Entries
		assertTrue("Entries do not match.", entry.equals(target));
		*/
}
Also used : PwEntryV4(com.keepassdroid.database.PwEntryV4) AutoType(com.keepassdroid.database.AutoType) PwGroupV4(com.keepassdroid.database.PwGroupV4) ProtectedBinary(com.keepassdroid.database.security.ProtectedBinary) PwIconCustom(com.keepassdroid.database.PwIconCustom) ProtectedString(com.keepassdroid.database.security.ProtectedString) PwIconStandard(com.keepassdroid.database.PwIconStandard)

Aggregations

PwEntryV4 (com.keepassdroid.database.PwEntryV4)6 PwGroupV4 (com.keepassdroid.database.PwGroupV4)2 ProtectedBinary (com.keepassdroid.database.security.ProtectedBinary)2 ProtectedString (com.keepassdroid.database.security.ProtectedString)2 AutoType (com.keepassdroid.database.AutoType)1 ITimeLogger (com.keepassdroid.database.ITimeLogger)1 PwDatabaseV4 (com.keepassdroid.database.PwDatabaseV4)1 PwDeletedObject (com.keepassdroid.database.PwDeletedObject)1 PwIconCustom (com.keepassdroid.database.PwIconCustom)1 PwIconStandard (com.keepassdroid.database.PwIconStandard)1 InvalidDBException (com.keepassdroid.database.exception.InvalidDBException)1 IOException (java.io.IOException)1 UUID (java.util.UUID)1