EncryptedKey

@Entity
open class EncryptedKey : AutoGeneratedIdentifiableEntity, KeyEncrypter

Constructors

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

Functions

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