Class CommonsCryptoAESDecryptor
java.lang.Object
org.apache.hadoop.hbase.io.crypto.aes.CommonsCryptoAESDecryptor
- All Implemented Interfaces:
Decryptor
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionCreate a stream for decryptionint
Get the cipher's internal block sizeint
Get the expected length for the initialization vectorvoid
reset()
Reset state, reinitialize with the key and ivvoid
setIv
(byte[] iv) Set the initialization vectorvoid
Set the secret key
-
Field Details
-
cipherMode
-
properties
-
key
-
iv
-
-
Constructor Details
-
CommonsCryptoAESDecryptor
-
-
Method Details
-
setKey
Description copied from interface:Decryptor
Set the secret key -
getIvLength
Description copied from interface:Decryptor
Get the expected length for the initialization vector- Specified by:
getIvLength
in interfaceDecryptor
- Returns:
- the expected length for the initialization vector
-
getBlockSize
Description copied from interface:Decryptor
Get the cipher's internal block size- Specified by:
getBlockSize
in interfaceDecryptor
- Returns:
- the cipher's internal block size
-
setIv
Description copied from interface:Decryptor
Set the initialization vector -
createDecryptionStream
Description copied from interface:Decryptor
Create a stream for decryption- Specified by:
createDecryptionStream
in interfaceDecryptor
-
reset
Description copied from interface:Decryptor
Reset state, reinitialize with the key and iv
-