Class AESDecryptor
java.lang.Object
org.apache.hadoop.hbase.io.crypto.aes.AESDecryptor
- All Implemented Interfaces:
- Decryptor
- 
Field SummaryFields
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionCreate a stream for decryptionintGet the cipher's internal block size(package private) CipherintGet the expected length for the initialization vectorprotected voidinit()voidreset()Reset state, reinitialize with the key and ivvoidsetIv(byte[] iv) Set the initialization vectorvoidSet the secret key
- 
Field Details- 
cipher
- 
key
- 
iv
- 
initialized
 
- 
- 
Constructor Details- 
AESDecryptor
 
- 
- 
Method Details- 
getCipher
- 
setKeyDescription copied from interface:DecryptorSet the secret key
- 
getIvLengthDescription copied from interface:DecryptorGet the expected length for the initialization vector- Specified by:
- getIvLengthin interface- Decryptor
- Returns:
- the expected length for the initialization vector
 
- 
getBlockSizeDescription copied from interface:DecryptorGet the cipher's internal block size- Specified by:
- getBlockSizein interface- Decryptor
- Returns:
- the cipher's internal block size
 
- 
setIvDescription copied from interface:DecryptorSet the initialization vector
- 
createDecryptionStreamDescription copied from interface:DecryptorCreate a stream for decryption- Specified by:
- createDecryptionStreamin interface- Decryptor
 
- 
resetDescription copied from interface:DecryptorReset state, reinitialize with the key and iv
- 
init
 
-