EncryptedBinaryColumnType

Binary column for storing encrypted binary strings of a specific length, using the provided encryptor.

Samples

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

fun main() { 
   //sampleStart 
   registerColumn(name, EncryptedBinaryColumnType(encryptor, cipherByteLength)) 
   //sampleEnd
}

Constructors

Link copied to clipboard
constructor(encryptor: Encryptor, length: 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: ByteArray): Any
Link copied to clipboard
open fun parameterMarker(value: ByteArray?): 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: ByteArray?): Any?
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open override fun valueFromDB(value: Any): ByteArray?
Link copied to clipboard
open override fun valueToDB(value: ByteArray?): Any?
Link copied to clipboard
open fun valueToString(value: ByteArray?): String