EncryptedKey

@Entity
open class EncryptedKey : Identifiable, KeyEncrypter

Constructors

Link copied to clipboard
constructor(user: ProductUser, keyType: KeyType)
constructor(user: ProductUser, apiKey: String, keyType: KeyType)

Functions

Link copied to clipboard
open fun decrypt(key: String): String
Link copied to clipboard
open fun encrypt(key: String): String
Link copied to clipboard
open fun getId(): Long
Link copied to clipboard
open fun setEncrypterDelegate(encrypterDelegate: KeyEncrypter)
Link copied to clipboard
open fun setId(id: Long)