Class CommonsCryptoAESDecryptor
java.lang.Object
org.apache.hadoop.hbase.io.crypto.aes.CommonsCryptoAESDecryptor
- All Implemented Interfaces:
Decryptor
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionCreate a stream for decryptionintGet the cipher's internal block sizeintGet the expected length for the initialization vectorvoidreset()Reset state, reinitialize with the key and ivvoidsetIv(byte[] iv) Set the initialization vectorvoidSet the secret key
-
Field Details
-
cipherMode
-
properties
-
key
-
iv
-
-
Constructor Details
-
CommonsCryptoAESDecryptor
-
-
Method Details
-
setKey
Description copied from interface:DecryptorSet the secret key -
getIvLength
Description copied from interface:DecryptorGet the expected length for the initialization vector- Specified by:
getIvLengthin interfaceDecryptor- Returns:
- the expected length for the initialization vector
-
getBlockSize
Description copied from interface:DecryptorGet the cipher's internal block size- Specified by:
getBlockSizein interfaceDecryptor- Returns:
- the cipher's internal block size
-
setIv
Description copied from interface:DecryptorSet the initialization vector -
createDecryptionStream
Description copied from interface:DecryptorCreate a stream for decryption- Specified by:
createDecryptionStreamin interfaceDecryptor
-
reset
Description copied from interface:DecryptorReset state, reinitialize with the key and iv
-