Class EncryptionInitInfo
- java.lang.Object
- 
- org.firebirdsql.gds.ng.wire.crypt.EncryptionInitInfo
 
- 
 public final class EncryptionInitInfo extends java.lang.ObjectThe initial initialization information of an encryption plugin.Communicates success or failure, and contains the ciphers for encryption and decryption. - Since:
- 4.0
- Author:
- Mark Rotteveel
 
- 
- 
Nested Class SummaryNested Classes Modifier and Type Class Description static classEncryptionInitInfo.InitResult
 - 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static EncryptionInitInfofailure(EncryptionIdentifier encryptionIdentifier, java.sql.SQLException exception)javax.crypto.CiphergetDecryptionCipher()javax.crypto.CiphergetEncryptionCipher()EncryptionIdentifiergetEncryptionIdentifier()java.sql.SQLExceptiongetException()EncryptionInitInfo.InitResultgetInitResult()booleanisSuccess()static EncryptionInitInfosuccess(EncryptionIdentifier encryptionIdentifier, javax.crypto.Cipher encryptionCipher, javax.crypto.Cipher decryptionCipher)
 
- 
- 
- 
Method Detail- 
successpublic static EncryptionInitInfo success(EncryptionIdentifier encryptionIdentifier, javax.crypto.Cipher encryptionCipher, javax.crypto.Cipher decryptionCipher) 
 - 
failurepublic static EncryptionInitInfo failure(EncryptionIdentifier encryptionIdentifier, java.sql.SQLException exception) 
 - 
getEncryptionIdentifierpublic EncryptionIdentifier getEncryptionIdentifier() 
 - 
getInitResultpublic EncryptionInitInfo.InitResult getInitResult() 
 - 
isSuccesspublic boolean isSuccess() 
 - 
getEncryptionCipherpublic javax.crypto.Cipher getEncryptionCipher() 
 - 
getDecryptionCipherpublic javax.crypto.Cipher getDecryptionCipher() 
 - 
getExceptionpublic java.sql.SQLException getException() - Returns:
- nullon SUCCESS, otherwise exception with the cause of failure (multiple exceptions may be chained!)
 
 
- 
 
-