public final class StaticValueDbCryptCallback extends java.lang.Object implements DbCryptCallback
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getDbCryptCallbackName()
Name of the database encryption callback.
|
DbCryptData |
handleCallback(DbCryptData serverData)
Callback method to be called with the server data.
|
public java.lang.String getDbCryptCallbackName()
DbCryptCallback
getDbCryptCallbackName
in interface DbCryptCallback
DbCryptCallbackSpi.getDbCryptCallbackName()
public DbCryptData handleCallback(DbCryptData serverData)
DbCryptCallback
The implementation should reply with a response for the provided data. If the plugin cannot provide a response
(eg because the server data is invalid), use an empty reply (eg use DbCryptData.EMPTY_DATA
, or construct
your own). The plugin should not throw an exception.
handleCallback
in interface DbCryptCallback
serverData
- Data received from the server (never null
).null
, use DbCryptData.EMPTY_DATA
if there is no (valid) reply).Copyright © 2001-2021 Jaybird (Firebird JDBC/JCA) team. All rights reserved.