Package org.apache.sshd.common.cipher
Interface CipherInformation
-
- All Superinterfaces:
AlgorithmNameProvider
,KeySizeIndicator
- All Known Subinterfaces:
Cipher
,CipherFactory
- All Known Implementing Classes:
BaseCipher
,BaseRC4Cipher
,BuiltinCiphers
,CipherNone
public interface CipherInformation extends AlgorithmNameProvider, KeySizeIndicator
The reported algorithm name refers to the cipher base name - e.g., "AES", "ARCFOUR", etc.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description int
getCipherBlockSize()
int
getIVSize()
int
getKdfSize()
java.lang.String
getTransformation()
-
Methods inherited from interface org.apache.sshd.common.AlgorithmNameProvider
getAlgorithm
-
Methods inherited from interface org.apache.sshd.common.keyprovider.KeySizeIndicator
getKeySize
-
-
-
-
Method Detail
-
getTransformation
java.lang.String getTransformation()
- Returns:
- The actual transformation used - e.g., AES/CBC/NoPadding
-
getIVSize
int getIVSize()
- Returns:
- Size of the initialization vector (in bytes)
-
getCipherBlockSize
int getCipherBlockSize()
- Returns:
- Size of block data used by the cipher (in bytes). For stream ciphers this value is (currently) used to indicate some average work buffer size to be used for the automatic re-keying mechanism described in RFC 4253 - Section 9
-
getKdfSize
int getKdfSize()
- Returns:
- The block size (in bytes) used to derive the secret key for this cipher
-
-