|
virtual HRESULT | InitPrimaryInstance ()=0 |
| Used by KeePass internally, plugins must not call this method. More...
|
|
virtual INT | SetMasterKey (LPCTSTR lpMasterKey, BOOL bDiskDrive, LPCTSTR lpSecondKey)=0 |
| Set the master key for the database (will be used in the database loading / saving process). More...
|
|
virtual DWORD | GetEntryCount ()=0 |
| Returns the total number of entries in database. More...
|
|
virtual DWORD | GetGroupCount ()=0 |
| Returns the total number of groups in database. More...
|
|
virtual DWORD | GetEntryCountInGroup (LPCTSTR lpGroup)=0 |
| Count entries in a group (identified by its name). More...
|
|
virtual DWORD | GetEntryCountInGroupN (DWORD dwGroupId)=0 |
| Count entries in a group (identified by its ID). More...
|
|
virtual PW_ENTRY * | GetEntry (DWORD dwIndex)=0 |
| Get an entry (by index). More...
|
|
virtual PW_ENTRY * | GetEntryByGroup (DWORD dwGroupId, DWORD dwIndex)=0 |
| Get an entry (by specifying an index of a group). More...
|
|
virtual DWORD | GetEntryByGroupN (DWORD dwGroupId, DWORD dwIndex)=0 |
|
virtual PW_ENTRY * | GetEntryByUuid (const BYTE *pUuid)=0 |
| Get an entry (by its UUID). More...
|
|
virtual DWORD | GetEntryByUuidN (const BYTE *pUuid)=0 |
|
virtual DWORD | GetEntryPosInGroup (const PW_ENTRY *pEntry)=0 |
|
virtual PW_ENTRY * | GetLastEditedEntry ()=0 |
| Get the entry that was last modified. More...
|
|
virtual PW_GROUP * | GetGroup (DWORD dwIndex)=0 |
| Get a group (by index). More...
|
|
virtual PW_GROUP * | GetGroupById (DWORD dwGroupId)=0 |
| Get a group (by ID). More...
|
|
virtual DWORD | GetGroupByIdN (DWORD dwGroupId)=0 |
|
virtual DWORD | GetGroupId (LPCTSTR lpGroupName)=0 |
|
virtual DWORD | GetGroupIdByIndex (DWORD dwIndex)=0 |
|
virtual DWORD | GetLastChildGroup (DWORD dwParentIndex)=0 |
|
virtual BOOL | GetGroupTree (DWORD dwGroupId, DWORD *pvIndices)=0 |
|
virtual BOOL | AddGroup (const PW_GROUP *pTemplate)=0 |
|
virtual BOOL | AddEntry (const PW_ENTRY *pTemplate)=0 |
|
virtual BOOL | BackupEntry (const PW_ENTRY *pe, BOOL *pbGroupCreated)=0 |
|
virtual BOOL | DeleteEntry (DWORD dwIndex)=0 |
|
virtual BOOL | DeleteGroupById (DWORD dwGroupId, BOOL bCreateBackupEntries)=0 |
|
virtual BOOL | SetGroup (DWORD dwIndex, const PW_GROUP *pTemplate)=0 |
|
virtual BOOL | SetEntry (DWORD dwIndex, const PW_ENTRY *pTemplate)=0 |
|
virtual HRESULT | LockEntryPassword (PW_ENTRY *pEntry)=0 |
| In-memory protection: encrypt the password of an entry. More...
|
|
virtual HRESULT | UnlockEntryPassword (PW_ENTRY *pEntry)=0 |
| In-memory protection: decrypt the password of an entry. More...
|
|
virtual HRESULT | NewDatabase ()=0 |
|
virtual INT | OpenDatabase (LPCTSTR lpFile, PWDB_REPAIR_INFO *pRepair)=0 |
|
virtual INT | SaveDatabase (LPCTSTR lpFile, BYTE *pWrittenDataHash32)=0 |
|
virtual HRESULT | MoveEntry (DWORD dwGroupId, DWORD dwFrom, DWORD dwTo)=0 |
|
virtual BOOL | MoveGroup (DWORD dwFrom, DWORD dwTo)=0 |
|
virtual BOOL | MoveGroupEx (DWORD dwFromId, DWORD dwToId)=0 |
|
virtual BOOL | MoveGroupExDir (DWORD dwGroupId, INT iDirection)=0 |
|
virtual HRESULT | SortGroup (DWORD dwGroupId, DWORD dwSortByField)=0 |
|
virtual HRESULT | SortGroupList ()=0 |
|
virtual DWORD | Find (LPCTSTR lpFindString, BOOL bCaseSensitive, DWORD dwSearchFlags, DWORD dwStart)=0 |
|
virtual BOOL | SetEncryptionAlgorithm (INT nAlgorithm)=0 |
|
virtual INT | GetEncryptionAlgorithm ()=0 |
|
virtual DWORD | GetKeyEncRounds ()=0 |
|
virtual HRESULT | SetKeyEncRounds (DWORD dwRounds)=0 |
|
virtual const PW_DBHEADER * | GetLastDatabaseHeader ()=0 |
| Get the last used database header. More...
|
|
virtual HRESULT | FixGroupTree ()=0 |
| Checks and corrects the group tree (level order, etc). More...
|
|
virtual HRESULT | SubstEntryGroupIds (DWORD dwExistingId, DWORD dwNewId)=0 |
|
virtual HRESULT | GetRawMasterKey (BYTE *pStorage)=0 |
|
virtual HRESULT | SetRawMasterKey (const BYTE *pNewKey)=0 |
|
virtual HRESULT | GetPropertyString (DWORD dwPropertyId, LPTSTR lpBuf, DWORD dwBufMaxChars)=0 |
|
virtual BOOL | SetPropertyString (DWORD dwPropertyId, LPCTSTR lpValue)=0 |
|
virtual BOOL | SetCustomKvp (LPCTSTR lpKey, LPCTSTR lpValue)=0 |
| Set a custom key-value pair, plugins can use this method to store own data in the database. More...
|
|
virtual LPCTSTR | GetCustomKvp (LPCTSTR lpKey)=0 |
| Get a custom key-value pair, these are typically set by plugins to store own data in the database. More...
|
|
virtual LPCTSTR | GetBackupGroupName (BOOL bTranslated)=0 |
| Get the name of the entry backups group. More...
|
|
virtual HRESULT | QueryInterface (REFIID riid, void **ppvObject)=0 |
| COM infrastructure, provides access to all interfaces supported by this object. More...
|
|
virtual ULONG | AddRef ()=0 |
| COM infrastructure, increments the reference count for this object. More...
|
|
virtual ULONG | Release ()=0 |
| COM infrastructure, decrements the reference count for this object and eventually deletes it. More...
|
|
Interface to a database handling object.
Use IKpAPI::QueryInstance to retrieve an interface to a singleton object in KeePass handling database operations.