EncryptedVarCharColumnType

Character column for storing encrypted strings, using the provided encryptor, with the specified maximum colLength.

Samples

import org.jetbrains.exposed.sql.Column
import org.jetbrains.exposed.sql.Table

fun main() { 
   //sampleStart 
   registerColumn(name, EncryptedVarCharColumnType(encryptor, cipherTextLength)) 
   //sampleEnd
}

Constructors

Link copied to clipboard
constructor(encryptor: Encryptor, colLength: Int)

Properties

Link copied to clipboard
Link copied to clipboard
open override var nullable: Boolean
Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open override fun notNullValueToDB(value: String): Any
Link copied to clipboard
open fun parameterMarker(value: String?): String
Link copied to clipboard
open fun readObject(rs: ResultSet, index: Int): Any?
Link copied to clipboard
open override fun setParameter(stmt: PreparedStatementApi, index: Int, value: Any?)
Link copied to clipboard
open override fun sqlType(): String
Link copied to clipboard
open override fun toString(): String
Link copied to clipboard
open fun unwrapRecursive(value: String?): Any?
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open override fun valueFromDB(value: Any): String?
Link copied to clipboard
open override fun valueToDB(value: String?): Any?
Link copied to clipboard
open fun valueToString(value: String?): String