Class BotanStreamCipher.AesOfb
java.lang.Object
javax.crypto.CipherSpi
net.randombit.botan.seckey.BotanBaseAsymmetricCipher
net.randombit.botan.seckey.stream.BotanStreamCipher
net.randombit.botan.seckey.stream.BotanStreamCipher.AesOfb
- Enclosing class:
- BotanStreamCipher
-
Nested Class Summary
Nested classes/interfaces inherited from class net.randombit.botan.seckey.stream.BotanStreamCipher
BotanStreamCipher.AesCtr, BotanStreamCipher.AesOfb, BotanStreamCipher.ChaCha20, BotanStreamCipher.DesCtr, BotanStreamCipher.DesEdeCtr, BotanStreamCipher.DesEdeOfb, BotanStreamCipher.DesOfb, BotanStreamCipher.Salsa20, BotanStreamCipher.XChaCha20, BotanStreamCipher.XSalsa20 -
Field Summary
Fields 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 booleanisValidNonceLength(int nonceLength) Checks whether the given nonce size is supported.Methods inherited from class net.randombit.botan.seckey.stream.BotanStreamCipher
engineDoFinal, engineGetBlockSize, engineGetOutputSize, engineSetPadding, engineUpdateMethods inherited from class net.randombit.botan.seckey.BotanBaseAsymmetricCipher
clone, doCipher, engineDoFinal, engineGetIV, engineGetParameters, engineInit, engineInit, engineInit, engineReset, engineSetMode, engineUpdate, isDecryptingMethods inherited from class javax.crypto.CipherSpi
engineDoFinal, engineGetKeySize, engineUnwrap, engineUpdate, engineUpdateAAD, engineUpdateAAD, engineWrap
-
Constructor Details
-
AesOfb
public AesOfb()
-
-
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.
-
isValidNonceLength
protected boolean isValidNonceLength(int nonceLength) Description copied from class:BotanBaseAsymmetricCipherChecks whether the given nonce size is supported.- Specified by:
isValidNonceLengthin classBotanBaseAsymmetricCipher- Parameters:
nonceLength- the nonce length- Returns:
Trueis the given nonce length is supported,Falseotherwise.
-