Class BlockCipher
java.lang.Object
net.schmizz.sshj.transport.cipher.BaseCipher
net.schmizz.sshj.transport.cipher.BlockCipher
- All Implemented Interfaces:
Cipher
- Direct Known Subclasses:
AES128CBC
,AES128CTR
,AES192CBC
,AES192CTR
,AES256CBC
,AES256CTR
,BlowfishCBC
,TripleDESCBC
-
Nested Class Summary
Nested classes/interfaces inherited from interface net.schmizz.sshj.transport.cipher.Cipher
Cipher.Mode
-
Field Summary
Fields inherited from class net.schmizz.sshj.transport.cipher.BaseCipher
cipher
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected void
initCipher
(Cipher cipher, Cipher.Mode mode, byte[] key, byte[] iv) Methods inherited from class net.schmizz.sshj.transport.cipher.BaseCipher
getAuthenticationTagSize, getBlockSize, getIVSize, getKeySpec, getMode, init, setSequenceNumber, update, updateAAD, updateAAD, updateWithAAD
-
Constructor Details
-
BlockCipher
-
-
Method Details
-
initCipher
protected void initCipher(Cipher cipher, Cipher.Mode mode, byte[] key, byte[] iv) throws InvalidKeyException, InvalidAlgorithmParameterException - Specified by:
initCipher
in classBaseCipher
- Throws:
InvalidKeyException
InvalidAlgorithmParameterException
-