| Package | Description |
|---|---|
| org.apache.sshd.common.compression |
Compression implementations. |
| org.apache.sshd.common.util.buffer | |
| org.apache.sshd.common.util.buffer.keys | |
| org.apache.sshd.common.util.security | |
| org.apache.sshd.common.util.security.eddsa |
| Modifier and Type | Method and Description |
|---|---|
void |
CompressionZlib.compress(Buffer buffer) |
void |
CompressionNone.compress(Buffer buffer) |
void |
Compression.compress(Buffer buffer)
Compress the given buffer in place.
|
void |
CompressionZlib.uncompress(Buffer from,
Buffer to) |
void |
CompressionNone.uncompress(Buffer from,
Buffer to) |
void |
Compression.uncompress(Buffer from,
Buffer to)
Uncompress the data in a buffer into another buffer.
|
| Modifier and Type | Class and Description |
|---|---|
class |
ByteArrayBuffer
Provides an implementation of
Buffer using a backing byte array |
| Modifier and Type | Method and Description |
|---|---|
static <B extends Buffer> |
BufferUtils.clear(B buffer)
Invokes
clear() |
| Modifier and Type | Method and Description |
|---|---|
static int |
BufferUtils.updateLengthPlaceholder(Buffer buffer,
int lenPos)
Used for encodings where we don't know the data length before adding it
to the buffer.
|
static void |
BufferUtils.updateLengthPlaceholder(Buffer buffer,
int lenPos,
int dataLength)
Updates a 32-bit "placeholder" location for data length - moves
the write position to the specified placeholder position, updates the length
value and then moves the write position it back to its original value.
|
| Modifier and Type | Method and Description |
|---|---|
protected ECPublicKey |
ECBufferPublicKeyParser.getRawECKey(String expectedCurve,
ECParameterSpec spec,
Buffer buffer) |
RSAPublicKey |
RSABufferPublicKeyParser.getRawPublicKey(String keyType,
Buffer buffer) |
PUB |
BufferPublicKeyParser.getRawPublicKey(String keyType,
Buffer buffer) |
PublicKey |
ED25519BufferPublicKeyParser.getRawPublicKey(String keyType,
Buffer buffer) |
ECPublicKey |
ECBufferPublicKeyParser.getRawPublicKey(String keyType,
Buffer buffer) |
DSAPublicKey |
DSSBufferPublicKeyParser.getRawPublicKey(String keyType,
Buffer buffer) |
| Modifier and Type | Method and Description |
|---|---|
static <B extends Buffer> |
SecurityUtils.putEDDSAKeyPair(B buffer,
KeyPair kp) |
static <B extends Buffer> |
SecurityUtils.putEDDSAKeyPair(B buffer,
PublicKey pubKey,
PrivateKey prvKey) |
static <B extends Buffer> |
SecurityUtils.putRawEDDSAPublicKey(B buffer,
PublicKey key) |
| Modifier and Type | Method and Description |
|---|---|
static KeyPair |
SecurityUtils.extractEDDSAKeyPair(Buffer buffer,
String keyType) |
| Modifier and Type | Method and Description |
|---|---|
static <B extends Buffer> |
EdDSASecurityProviderUtils.putEDDSAKeyPair(B buffer,
PublicKey pubKey,
PrivateKey prvKey) |
static <B extends Buffer> |
EdDSASecurityProviderUtils.putRawEDDSAPublicKey(B buffer,
PublicKey key) |
Copyright © 2018–2019 The Apache Software Foundation. All rights reserved.