Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type KeyEncryptionKeyRepository ¶
type KeyEncryptionKeyRepository interface { Find(context.Context, int) (models.KeyEncryptionKey, error) FindActive(context.Context) (models.KeyEncryptionKey, error) }
KeyEncryptionKeyRepository interface for KeyEncryptionKey (KEK) data access layer
func NewKeyEncryptionKeyRepository ¶
func NewKeyEncryptionKeyRepository(keys []models.KeyEncryptionKey, db *sql.DB) KeyEncryptionKeyRepository
NewKeyEncryptionKeyRepository creates an KeyEncryptionKeyRepository using the default implementation.
Click to show internal directories.
Click to hide internal directories.