Package | Description |
---|---|
org.apache.sshd.common.cipher |
Cipher
implementations. |
org.apache.sshd.common.session.helpers |
Modifier and Type | Field and Description |
---|---|
protected Cipher.Mode |
BaseGCMCipher.mode |
protected Cipher.Mode |
ChaCha20Cipher.mode |
Modifier and Type | Method and Description |
---|---|
static Cipher.Mode |
Cipher.Mode.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Cipher.Mode[] |
Cipher.Mode.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
protected Cipher |
BaseGCMCipher.createCipherInstance(Cipher.Mode mode,
byte[] key,
byte[] iv) |
protected Cipher |
BaseCipher.createCipherInstance(Cipher.Mode mode,
byte[] key,
byte[] iv) |
protected Cipher |
BaseRC4Cipher.createCipherInstance(Cipher.Mode mode,
byte[] key,
byte[] iv) |
void |
ChaCha20Cipher.init(Cipher.Mode mode,
byte[] key,
byte[] iv) |
void |
CipherNone.init(Cipher.Mode mode,
byte[] key,
byte[] iv) |
void |
BaseCipher.init(Cipher.Mode mode,
byte[] key,
byte[] iv) |
void |
Cipher.init(Cipher.Mode mode,
byte[] key,
byte[] iv)
Initialize the cipher for encryption or decryption with the given key and initialization vector
|
protected byte[] |
BaseCipher.initializeIVData(Cipher.Mode mode,
byte[] iv,
int reqLen) |
protected byte[] |
BaseRC4Cipher.initializeIVData(Cipher.Mode mode,
byte[] iv,
int reqLen) |
protected byte[] |
BaseCipher.initializeKeyData(Cipher.Mode mode,
byte[] key,
int reqLen) |
Constructor and Description |
---|
MessageCodingSettings(Cipher cipher,
Mac mac,
Compression compression,
Cipher.Mode mode,
byte[] key,
byte[] iv) |
Copyright © 2008–2024 The Apache Software Foundation. All rights reserved.