C# Class KeePass.Util.EntryUtil

This class contains various static functions for entry operations.
Show file Open project: amiryal/keepass2 Class Usage Examples

Public Methods

Method Description
CopyEntriesToClipboard ( KeePassLib.PwDatabase pwDatabase, PwEntry vEntries, IntPtr hOwner ) : void
CreateSummaryList ( PwGroup pgSubGroups, PwEntry vEntries ) : string
CreateSummaryList ( PwGroup pgItems, bool bStartWithNewPar ) : string
EntriesHaveSameParent ( PwObjectList v ) : bool
ExpireTanEntryIfOption ( PwEntry pe ) : bool

Test whether an entry is a TAN entry and if so, expire it, provided that the option for expiring TANs on use is enabled.

FillPlaceholders ( string strText, SprContext ctx ) : string
PasteEntriesFromClipboard ( KeePassLib.PwDatabase pwDatabase, PwGroup pgStorage ) : void
ReorderEntriesAsInDatabase ( PwObjectList v, KeePassLib.PwDatabase pd ) : void
SaveEntryAttachments ( PwEntry vEntries, string strBasePath ) : void

Save all attachments of an array of entries to a directory.

Private Methods

Method Description
CopyEntriesToClipboard ( KeePassLib.PwDatabase pwDatabase, PwEntry vEntries ) : void
ExpireTanEntry ( PwEntry pe ) : void
PasteEntriesFromClipboardPriv ( KeePassLib.PwDatabase pwDatabase, PwGroup pgStorage ) : void
ReplaceHmacOtpPlaceholder ( string strText, SprContext ctx ) : string
ReplaceNewPasswordPlaceholder ( string strText, SprContext ctx ) : string

Method Details

CopyEntriesToClipboard() public static method

public static CopyEntriesToClipboard ( KeePassLib.PwDatabase pwDatabase, PwEntry vEntries, IntPtr hOwner ) : void
pwDatabase KeePassLib.PwDatabase
vEntries PwEntry
hOwner System.IntPtr
return void

CreateSummaryList() public static method

public static CreateSummaryList ( PwGroup pgSubGroups, PwEntry vEntries ) : string
pgSubGroups PwGroup
vEntries PwEntry
return string

CreateSummaryList() public static method

public static CreateSummaryList ( PwGroup pgItems, bool bStartWithNewPar ) : string
pgItems PwGroup
bStartWithNewPar bool
return string

EntriesHaveSameParent() public static method

public static EntriesHaveSameParent ( PwObjectList v ) : bool
v PwObjectList
return bool

ExpireTanEntryIfOption() public static method

Test whether an entry is a TAN entry and if so, expire it, provided that the option for expiring TANs on use is enabled.
public static ExpireTanEntryIfOption ( PwEntry pe ) : bool
pe PwEntry Entry.
return bool

FillPlaceholders() public static method

public static FillPlaceholders ( string strText, SprContext ctx ) : string
strText string
ctx KeePass.Util.Spr.SprContext
return string

PasteEntriesFromClipboard() public static method

public static PasteEntriesFromClipboard ( KeePassLib.PwDatabase pwDatabase, PwGroup pgStorage ) : void
pwDatabase KeePassLib.PwDatabase
pgStorage PwGroup
return void

ReorderEntriesAsInDatabase() public static method

public static ReorderEntriesAsInDatabase ( PwObjectList v, KeePassLib.PwDatabase pd ) : void
v PwObjectList
pd KeePassLib.PwDatabase
return void

SaveEntryAttachments() public static method

Save all attachments of an array of entries to a directory.
public static SaveEntryAttachments ( PwEntry vEntries, string strBasePath ) : void
vEntries PwEntry Array of entries whose attachments are extracted and saved.
strBasePath string Directory in which the attachments are stored.
return void