Documentation
¶
Index ¶
- func NewDfltItemService(keyService KeyService, itemRepo out.ItemRepo) *dfltItemService
- func NewDfltKeyService(cryptoUtils out.CrytpoUtils, profileRepo out.ProfileRepo) *dfltKeyService
- func NewDfltVaultService(itemRepo out.ItemRepo, profileRepo out.ProfileRepo) *dfltVaultService
- type ItemService
- type KeyService
- type VaultService
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewDfltItemService ¶
func NewDfltItemService(keyService KeyService, itemRepo out.ItemRepo) *dfltItemService
func NewDfltKeyService ¶
func NewDfltKeyService(cryptoUtils out.CrytpoUtils, profileRepo out.ProfileRepo) *dfltKeyService
func NewDfltVaultService ¶
func NewDfltVaultService(itemRepo out.ItemRepo, profileRepo out.ProfileRepo) *dfltVaultService
Types ¶
type ItemService ¶
type KeyService ¶
type KeyService interface { CheckHmac(msg, key, desiredHmac []byte) error DecodeData(key, initVector, data []byte) ([]byte, error) DecodeKeys(key, derivedKey, derivedMac []byte) ([]byte, []byte, error) DecodeOpdata(cipherText, key, macKey []byte) ([]byte, error) DerivedKeys(password string) ([]byte, []byte, error) ItemKeys(item *domain.RawItem, keys *domain.Keys) ([]byte, []byte) MasterKeys(derivedKey, derivedMac []byte) ([]byte, []byte, error) OverviewKeys(derivedKey, derivedMac []byte) ([]byte, []byte, error) }
type VaultService ¶
Click to show internal directories.
Click to hide internal directories.