Package net.randombit.botan.seckey.block
Class BotanBlockCipher.DesCfb
java.lang.Object
javax.crypto.CipherSpi
net.randombit.botan.seckey.BotanBaseAsymmetricCipher
net.randombit.botan.seckey.block.BotanBlockCipher
net.randombit.botan.seckey.block.BotanBlockCipher.DesCfb
- Enclosing class:
- BotanBlockCipher
-
Nested Class Summary
Nested classes/interfaces inherited from class net.randombit.botan.seckey.block.BotanBlockCipher
BotanBlockCipher.AesCbc, BotanBlockCipher.AesCfb, BotanBlockCipher.DesCbc, BotanBlockCipher.DesCfb, BotanBlockCipher.DesEdeCbc, BotanBlockCipher.DesEdeCfb -
Field Summary
Fields inherited from class net.randombit.botan.seckey.block.BotanBlockCipher
buffer, cipherMode, padding, updateGranularityFields inherited from class net.randombit.botan.seckey.BotanBaseAsymmetricCipher
cipherRef, iv, mode, name -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected StringgetBotanCipherName(int keyLength) Gets the native botan cipher name (e.g.protected booleanWhether the operation modes requires data block aligned or not.Methods inherited from class net.randombit.botan.seckey.block.BotanBlockCipher
engineDoFinal, engineGetBlockSize, engineGetOutputSize, engineInit, engineReset, engineSetPadding, engineUpdate, isValidNonceLengthMethods inherited from class net.randombit.botan.seckey.BotanBaseAsymmetricCipher
clone, doCipher, engineDoFinal, engineGetIV, engineGetParameters, engineInit, engineInit, engineSetMode, engineUpdate, isDecryptingMethods inherited from class javax.crypto.CipherSpi
engineDoFinal, engineGetKeySize, engineUnwrap, engineUpdate, engineUpdateAAD, engineUpdateAAD, engineWrap
-
Constructor Details
-
DesCfb
public DesCfb()
-
-
Method Details
-
getBotanCipherName
Description copied from class:BotanBaseAsymmetricCipherGets the native botan cipher name (e.g. 'AES-128/CBC/PKCS7').- Specified by:
getBotanCipherNamein classBotanBaseAsymmetricCipher- Parameters:
keyLength- the key length- Returns:
Stringcontaining the Botan cipher name.
-
requiresDataBlockAligned
protected boolean requiresDataBlockAligned()Description copied from class:BotanBlockCipherWhether the operation modes requires data block aligned or not.- Specified by:
requiresDataBlockAlignedin classBotanBlockCipher- Returns:
trueif data must be block size aligned,falseotherwise.
-