Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateKeysForUser ¶
func CrudUsecases ¶
func CrudUsecases() crud.Usecases[decrdecryptionKeysRepoPkg.DecryptionKeys, DecryptionKey]
Types ¶
type DecryptionKey ¶
type DecryptionKey struct { entityPkg.Entity UserID app.ID PrivateKeySalt Salt EncryptedPrivateKey Key DecryptionKeyType DecryptionKeyType }
func FetchPrivateKeyForUser ¶
type DecryptionKeyType ¶
type DecryptionKeyType string
const ( DecryptionKeyTypePrivate DecryptionKeyType = "private" DecryptionKeyTypeRecovery DecryptionKeyType = "recovery" )
func (DecryptionKeyType) String ¶
func (dkt DecryptionKeyType) String() string
Click to show internal directories.
Click to hide internal directories.