Top Description Methods
org.apache.sshd.common.cipher

public Interface CipherInformation

extends AlgorithmNameProvider, KeySizeIndicator
Known Direct Subinterfaces
org.apache.sshd.common.cipher.Cipher, org.apache.sshd.common.cipher.CipherFactory
Imports
org.apache.sshd.common.AlgorithmNameProvider, org.apache.sshd.common.keyprovider.KeySizeIndicator

The reported algorithm name refers to the cipher base name - e.g., "AES", "ARCFOUR", etc.
Author
Apache MINA SSHD Project

Method Summary

Modifier and TypeMethod and Description
public int

Returns:

Size of the authentication tag (AT) in bytes or 0 if this cipher does not support authentication
getAuthenticationTagSize
()

public int

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
getCipherBlockSize
()

public int

Returns:

Size of the initialization vector (in bytes)
getIVSize
()

public int

Returns:

The block size (in bytes) used to derive the secret key for this cipher
getKdfSize
()

public String

Returns:

The actual transformation used - e.g., AES/CBC/NoPadding
getTransformation
()

Inherited from org.apache.sshd.common.AlgorithmNameProvider:
getAlgorithm
Inherited from org.apache.sshd.common.keyprovider.KeySizeIndicator:
getKeySize

Method Detail

getAuthenticationTagSizeback to summary
public int getAuthenticationTagSize()
Returns:int

Size of the authentication tag (AT) in bytes or 0 if this cipher does not support authentication

getCipherBlockSizeback to summary
public int getCipherBlockSize()
Returns:int

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

getIVSizeback to summary
public int getIVSize()
Returns:int

Size of the initialization vector (in bytes)

getKdfSizeback to summary
public int getKdfSize()
Returns:int

The block size (in bytes) used to derive the secret key for this cipher

getTransformationback to summary
public String getTransformation()
Returns:String

The actual transformation used - e.g., AES/CBC/NoPadding