public final class EncryptionInitInfo
extends java.lang.Object
Communicates success or failure, and contains the ciphers for encryption and decryption.
Modifier and Type | Class and Description |
---|---|
static class |
EncryptionInitInfo.InitResult |
Modifier and Type | Method and Description |
---|---|
static EncryptionInitInfo |
failure(EncryptionIdentifier encryptionIdentifier,
java.sql.SQLException exception) |
javax.crypto.Cipher |
getDecryptionCipher() |
javax.crypto.Cipher |
getEncryptionCipher() |
EncryptionIdentifier |
getEncryptionIdentifier() |
java.sql.SQLException |
getException() |
EncryptionInitInfo.InitResult |
getInitResult() |
boolean |
isSuccess() |
static EncryptionInitInfo |
success(EncryptionIdentifier encryptionIdentifier,
javax.crypto.Cipher encryptionCipher,
javax.crypto.Cipher decryptionCipher) |
public static EncryptionInitInfo success(EncryptionIdentifier encryptionIdentifier, javax.crypto.Cipher encryptionCipher, javax.crypto.Cipher decryptionCipher)
public static EncryptionInitInfo failure(EncryptionIdentifier encryptionIdentifier, java.sql.SQLException exception)
public EncryptionIdentifier getEncryptionIdentifier()
public EncryptionInitInfo.InitResult getInitResult()
public boolean isSuccess()
public javax.crypto.Cipher getEncryptionCipher()
public javax.crypto.Cipher getDecryptionCipher()
public java.sql.SQLException getException()
null
on SUCCESS, otherwise exception with the cause of failure (multiple exceptions may be chained!)Copyright © 2001-2021 Jaybird (Firebird JDBC/JCA) team. All rights reserved.