| Modifier and Type | Class and Description |
|---|---|
class |
KnownHostDigest
Available digesters for known hosts entries
|
| Modifier and Type | Method and Description |
|---|---|
static <A extends Appendable> |
KnownHostHashValue.append(A sb,
NamedResource factory,
byte[] salt,
byte[] digest) |
| Modifier and Type | Method and Description |
|---|---|
Collection<? extends NamedResource> |
LazyClientKeyIdentityProvider.getLocations() |
| Modifier and Type | Method and Description |
|---|---|
static String |
ClientIdentity.getIdentityFileName(NamedResource r) |
boolean |
ClientIdentityLoader.isValidLocation(NamedResource location) |
protected Iterable<KeyPair> |
LazyClientKeyIdentityProvider.loadClientIdentities(SessionContext session,
NamedResource location) |
Iterable<KeyPair> |
ClientIdentityLoader.loadClientIdentities(SessionContext session,
NamedResource location,
FilePasswordProvider provider) |
| Modifier and Type | Method and Description |
|---|---|
static KeyIdentityProvider |
ClientIdentityLoader.asKeyIdentityProvider(ClientIdentityLoader loader,
Collection<? extends NamedResource> locations,
FilePasswordProvider passwordProvider,
boolean ignoreNonExisting)
Uses the provided
ClientIdentityLoader to lazy load the keys locations |
| Constructor and Description |
|---|
LazyClientKeyIdentityProvider(ClientIdentityLoader loader,
Collection<? extends NamedResource> locations,
FilePasswordProvider passwordProvider,
boolean ignoreNonExisting) |
| Modifier and Type | Interface and Description |
|---|---|
interface |
BuiltinFactory<T>
A named optional factory.
|
interface |
NamedFactory<T>
A named factory is a factory identified by a name.
|
interface |
Property<T>
Property definition.
|
| Modifier and Type | Class and Description |
|---|---|
static class |
Property.BaseProperty<T> |
static class |
Property.BooleanProperty |
static class |
Property.CharsetProperty |
static class |
Property.DurationInSecondsProperty |
static class |
Property.DurationProperty |
static class |
Property.EnumProperty<T extends Enum<T>> |
static class |
Property.IntegerProperty |
static class |
Property.LongProperty |
static class |
Property.ObjectProperty |
static class |
Property.StringProperty |
static class |
Property.Validating<T> |
| Modifier and Type | Field and Description |
|---|---|
static Comparator<NamedResource> |
NamedResource.BY_NAME_COMPARATOR
Compares 2
NamedResources according to their getName() value case insensitive |
static Function<NamedResource,String> |
NamedResource.NAME_EXTRACTOR
|
| Modifier and Type | Method and Description |
|---|---|
static <R extends NamedResource> |
NamedResource.findByName(String name,
Comparator<? super String> c,
Collection<? extends R> resources) |
static <R extends NamedResource> |
NamedResource.findFirstMatchByName(Collection<String> names,
Comparator<? super String> c,
Collection<? extends R> resources) |
static <R extends NamedResource> |
NamedResource.removeByName(String name,
Comparator<? super String> c,
Collection<? extends R> resources)
Remove the resource identified by the name from the list.
|
static <E extends NamedResource & OptionalFeature> |
NamedFactory.setUpBuiltinFactories(boolean ignoreUnsupported,
Collection<? extends E> preferred) |
static <S extends OptionalFeature,E extends NamedResource> |
NamedFactory.setUpTransformedFactories(boolean ignoreUnsupported,
Collection<? extends S> preferred,
Function<? super S,? extends E> xform) |
| Modifier and Type | Method and Description |
|---|---|
static NamedResource |
NamedResource.ofName(String name)
Wraps a name value inside a
NamedResource |
| Modifier and Type | Method and Description |
|---|---|
static int |
NamedResource.safeCompareByName(NamedResource r1,
NamedResource r2,
boolean caseSensitive) |
| Modifier and Type | Method and Description |
|---|---|
static List<String> |
NamedResource.getNameList(Collection<? extends NamedResource> resources) |
static String |
NamedResource.getNames(Collection<? extends NamedResource> resources) |
| Modifier and Type | Interface and Description |
|---|---|
interface |
UserAuthInstance<S extends SessionContext>
Represents an authentication-in-progress tracker for a specific session
|
interface |
UserAuthMethodFactory<S extends SessionContext,M extends UserAuthInstance<S>>
Represents a user authentication method
|
| Modifier and Type | Interface and Description |
|---|---|
interface |
CipherFactory |
| Modifier and Type | Class and Description |
|---|---|
class |
BuiltinCiphers
Provides easy access to the currently implemented ciphers
|
class |
ECCurves
Utilities for working with elliptic curves.
|
| Modifier and Type | Interface and Description |
|---|---|
interface |
Compression
Interface used to compress the stream of data between the SSH server and clients.
|
interface |
CompressionFactory |
interface |
CompressionInformation |
| Modifier and Type | Class and Description |
|---|---|
class |
BaseCompression |
class |
BuiltinCompressions |
class |
CompressionDelayedZlib
ZLib delayed compression.
|
class |
CompressionNone |
class |
CompressionZlib
ZLib based Compression.
|
| Modifier and Type | Class and Description |
|---|---|
class |
FactoriesListParseResult<T,F extends NamedResource> |
class |
NamedFactoriesListParseResult<T,F extends NamedResource>
Holds the result of parsing a list of
NamedFactoryies |
class |
NamedResourceListParseResult<R extends NamedResource> |
| Modifier and Type | Class and Description |
|---|---|
class |
CompressionConfigValue
Provides a "bridge" between the configuration values and the actual
NamedFactory for the Compression. |
| Modifier and Type | Interface and Description |
|---|---|
interface |
Identity
Represents an SSH key type - the referenced algorithm is the one used to generate the key - e.g., "RSA",
"DSA", "EC".
|
| Modifier and Type | Class and Description |
|---|---|
class |
BuiltinIdentities |
| Modifier and Type | Method and Description |
|---|---|
default <T> T |
FilePasswordProvider.decode(SessionContext session,
NamedResource resourceKey,
FilePasswordProvider.Decoder<? extends T> decoder)
Obtains the password through
FilePasswordProvider.getPassword(SessionContext, NamedResource, int), invokes the
FilePasswordProvider.Decoder and then
FilePasswordProvider.handleDecodeAttemptResult(SessionContext, NamedResource, int, String, Exception) and then returns the
decoded result. |
String |
FilePasswordProvider.getPassword(SessionContext session,
NamedResource resourceKey,
int retryIndex) |
default FilePasswordProvider.ResourceDecodeResult |
FilePasswordProvider.handleDecodeAttemptResult(SessionContext session,
NamedResource resourceKey,
int retryIndex,
String password,
Exception err)
Invoked to inform the password provide about the decoding result.
|
default PUB |
PublicKeyRawDataReader.readPublicKey(SessionContext session,
NamedResource resourceKey,
BufferedReader rdr) |
default PUB |
PublicKeyRawDataReader.readPublicKey(SessionContext session,
NamedResource resourceKey,
InputStream stream) |
default PUB |
PublicKeyRawDataReader.readPublicKey(SessionContext session,
NamedResource resourceKey,
InputStream stream,
Charset cs) |
PUB |
PublicKeyRawDataReader.readPublicKey(SessionContext session,
NamedResource resourceKey,
List<String> lines) |
default PUB |
PublicKeyRawDataReader.readPublicKey(SessionContext session,
NamedResource resourceKey,
Reader rdr) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
AbstractKeyPairResourceParser.canExtractKeyPairs(NamedResource resourceKey,
List<String> lines) |
boolean |
KeyPairResourceParser.canExtractKeyPairs(NamedResource resourceKey,
List<String> lines) |
Collection<KeyPair> |
AbstractKeyPairResourceParser.extractKeyPairs(SessionContext session,
NamedResource resourceKey,
String beginMarker,
String endMarker,
FilePasswordProvider passwordProvider,
byte[] bytes,
Map<String,String> headers) |
abstract Collection<KeyPair> |
AbstractKeyPairResourceParser.extractKeyPairs(SessionContext session,
NamedResource resourceKey,
String beginMarker,
String endMarker,
FilePasswordProvider passwordProvider,
InputStream stream,
Map<String,String> headers) |
Collection<KeyPair> |
AbstractKeyPairResourceParser.extractKeyPairs(SessionContext session,
NamedResource resourceKey,
String beginMarker,
String endMarker,
FilePasswordProvider passwordProvider,
List<String> lines,
Map<String,String> headers)
Extracts the key pairs within a single delimited by markers block of lines.
|
default Collection<KeyPair> |
KeyPairResourceLoader.loadKeyPairs(SessionContext session,
NamedResource resourceKey,
FilePasswordProvider passwordProvider,
BufferedReader r) |
default Collection<KeyPair> |
KeyPairResourceLoader.loadKeyPairs(SessionContext session,
NamedResource resourceKey,
FilePasswordProvider passwordProvider,
InputStream stream) |
default Collection<KeyPair> |
KeyPairResourceLoader.loadKeyPairs(SessionContext session,
NamedResource resourceKey,
FilePasswordProvider passwordProvider,
InputStream stream,
Charset cs) |
Collection<KeyPair> |
AbstractKeyPairResourceParser.loadKeyPairs(SessionContext session,
NamedResource resourceKey,
FilePasswordProvider passwordProvider,
List<String> lines) |
Collection<KeyPair> |
KeyPairResourceLoader.loadKeyPairs(SessionContext session,
NamedResource resourceKey,
FilePasswordProvider passwordProvider,
List<String> lines)
Loads key pairs from the given resource text lines
|
Collection<KeyPair> |
FileWatcherKeyPairResourceLoader.loadKeyPairs(SessionContext session,
NamedResource resourceKey,
FilePasswordProvider passwordProvider,
List<String> lines) |
default Collection<KeyPair> |
KeyPairResourceLoader.loadKeyPairs(SessionContext session,
NamedResource resourceKey,
FilePasswordProvider passwordProvider,
Reader r) |
default Collection<KeyPair> |
KeyPairResourceLoader.loadKeyPairs(SessionContext session,
NamedResource resourceKey,
FilePasswordProvider passwordProvider,
String data) |
protected Collection<KeyPair> |
FileWatcherKeyPairResourceLoader.reloadKeyPairs(SessionContext session,
NamedResource resourceKey,
FilePasswordProvider passwordProvider,
List<String> lines) |
protected Map.Entry<Map<String,String>,List<String>> |
AbstractKeyPairResourceParser.separateDataLinesFromHeaders(SessionContext session,
NamedResource resourceKey,
String startLine,
String endLine,
List<String> dataLines) |
| Modifier and Type | Interface and Description |
|---|---|
interface |
OpenSSHKdfOptions |
| Modifier and Type | Method and Description |
|---|---|
byte[] |
OpenSSHKeyDecryptor.decodePrivateKeyBytes(SessionContext session,
NamedResource resourceKey,
CipherFactory cipherSpec,
byte[] privateDataBytes,
String password) |
Collection<KeyPair> |
OpenSSHKeyPairResourceParser.extractKeyPairs(SessionContext session,
NamedResource resourceKey,
String beginMarker,
String endMarker,
FilePasswordProvider passwordProvider,
InputStream stream,
Map<String,String> headers) |
protected Map.Entry<PrivateKey,String> |
OpenSSHKeyPairResourceParser.readPrivateKey(SessionContext session,
NamedResource resourceKey,
OpenSSHParserContext context,
String keyType,
FilePasswordProvider passwordProvider,
InputStream stream) |
protected List<KeyPair> |
OpenSSHKeyPairResourceParser.readPrivateKeys(SessionContext session,
NamedResource resourceKey,
OpenSSHParserContext context,
Collection<? extends PublicKey> publicKeys,
FilePasswordProvider passwordProvider,
InputStream stream) |
protected PublicKey |
OpenSSHKeyPairResourceParser.readPublicKey(SessionContext session,
NamedResource resourceKey,
OpenSSHParserContext context,
InputStream stream,
Map<String,String> headers) |
protected OpenSSHKdfOptions |
OpenSSHKeyPairResourceParser.resolveKdfOptions(SessionContext session,
NamedResource resourceKey,
String beginMarker,
String endMarker,
InputStream stream,
Map<String,String> headers) |
protected <S extends InputStream> |
OpenSSHKeyPairResourceParser.validateStreamMagicMarker(SessionContext session,
NamedResource resourceKey,
S stream) |
| Modifier and Type | Class and Description |
|---|---|
class |
BCryptKdfOptions |
class |
RawKdfOptions
Generic options
|
| Modifier and Type | Method and Description |
|---|---|
byte[] |
RawKdfOptions.decodePrivateKeyBytes(SessionContext session,
NamedResource resourceKey,
CipherFactory cipherSpec,
byte[] privateDataBytes,
String password) |
byte[] |
BCryptKdfOptions.decodePrivateKeyBytes(SessionContext session,
NamedResource resourceKey,
CipherFactory cipherSpec,
byte[] privateDataBytes,
String password) |
| Modifier and Type | Method and Description |
|---|---|
Collection<KeyPair> |
PKCS8PEMResourceKeyPairParser.decryptKeyPairs(SessionContext session,
NamedResource resourceKey,
FilePasswordProvider passwordProvider,
byte[] encrypted) |
Collection<KeyPair> |
RSAPEMResourceKeyPairParser.extractKeyPairs(SessionContext session,
NamedResource resourceKey,
String beginMarker,
String endMarker,
FilePasswordProvider passwordProvider,
InputStream stream,
Map<String,String> headers) |
Collection<KeyPair> |
DSSPEMResourceKeyPairParser.extractKeyPairs(SessionContext session,
NamedResource resourceKey,
String beginMarker,
String endMarker,
FilePasswordProvider passwordProvider,
InputStream stream,
Map<String,String> headers) |
Collection<KeyPair> |
PKCS8PEMResourceKeyPairParser.extractKeyPairs(SessionContext session,
NamedResource resourceKey,
String beginMarker,
String endMarker,
FilePasswordProvider passwordProvider,
InputStream stream,
Map<String,String> headers) |
Collection<KeyPair> |
ECDSAPEMResourceKeyPairParser.extractKeyPairs(SessionContext session,
NamedResource resourceKey,
String beginMarker,
String endMarker,
FilePasswordProvider passwordProvider,
InputStream stream,
Map<String,String> headers) |
Collection<KeyPair> |
AbstractPEMResourceKeyPairParser.extractKeyPairs(SessionContext session,
NamedResource resourceKey,
String beginMarker,
String endMarker,
FilePasswordProvider passwordProvider,
List<String> lines,
Map<String,String> headers) |
| Modifier and Type | Method and Description |
|---|---|
PublicKey |
Ssh2PublicKeyEntryDecoder.readPublicKey(SessionContext session,
NamedResource resourceKey,
List<String> lines) |
PublicKey |
Ssh2PublicKeyEntryDecoder.readPublicKey(SessionContext session,
NamedResource resourceKey,
String beginMarker,
String endMarker,
byte[] dataBytes,
Map<String,String> headers) |
PublicKey |
Ssh2PublicKeyEntryDecoder.readPublicKey(SessionContext session,
NamedResource resourceKey,
String beginMarker,
String endMarker,
List<String> lines,
Map<String,String> headers) |
protected Map.Entry<Map<String,String>,List<String>> |
Ssh2PublicKeyEntryDecoder.separateDataLinesFromHeaders(SessionContext session,
NamedResource resourceKey,
String startLine,
String endLine,
List<String> lines) |
| Modifier and Type | Interface and Description |
|---|---|
interface |
DigestFactory |
| Modifier and Type | Class and Description |
|---|---|
class |
BuiltinDigests
Provides easy access to the currently implemented digests
|
| Modifier and Type | Interface and Description |
|---|---|
interface |
KexExtensionParser<T>
Parses a known KEX extension
|
| Modifier and Type | Class and Description |
|---|---|
class |
AbstractKexExtensionParser<T> |
class |
DelayCompression |
class |
Elevation |
class |
HostBoundPubkeyAuthentication |
class |
NoFlowControl |
class |
ServerSignatureAlgorithms |
| Modifier and Type | Method and Description |
|---|---|
protected Iterable<KeyPair> |
AbstractResourceKeyPairProvider.doLoadKeys(SessionContext session,
NamedResource resourceKey,
InputStream inputStream,
FilePasswordProvider provider) |
protected Iterable<KeyPair> |
AbstractResourceKeyPairProvider.doLoadKeys(SessionContext session,
NamedResource resourceKey,
R resource,
FilePasswordProvider provider) |
protected InputStream |
AbstractResourceKeyPairProvider.openKeyPairResource(SessionContext session,
NamedResource resourceKey,
R resource) |
| Modifier and Type | Interface and Description |
|---|---|
interface |
MacFactory |
| Modifier and Type | Class and Description |
|---|---|
class |
BuiltinMacs
Provides easy access to the currently implemented macs
|
| Modifier and Type | Interface and Description |
|---|---|
interface |
Random
A pseudo random number generator.
|
interface |
RandomFactory |
| Modifier and Type | Class and Description |
|---|---|
class |
AbstractRandom |
class |
AbstractRandomFactory |
class |
JceRandom
A
Random implementation using the built-in SecureRandom PRNG. |
class |
JceRandomFactory
Named factory for the JCE
Random |
class |
SingletonRandomFactory
A random factory wrapper that uses a single random instance.
|
| Modifier and Type | Interface and Description |
|---|---|
interface |
SignatureFactory |
| Modifier and Type | Class and Description |
|---|---|
class |
BuiltinSignatures
Provides easy access to the currently implemented signatures
|
| Modifier and Type | Interface and Description |
|---|---|
interface |
IoResource<T> |
| Modifier and Type | Class and Description |
|---|---|
class |
AbstractIoResource<T>
TODO Add javadoc
|
class |
ClassLoaderResource
TODO Add javadoc
|
class |
PathResource |
class |
URIResource |
class |
URLResource |
| Modifier and Type | Interface and Description |
|---|---|
interface |
SecurityProviderChoice |
interface |
SecurityProviderRegistrar |
| Modifier and Type | Class and Description |
|---|---|
class |
AbstractSecurityProviderRegistrar |
| Modifier and Type | Method and Description |
|---|---|
static Iterable<KeyPair> |
SecurityUtils.loadKeyPairIdentities(SessionContext session,
NamedResource resourceKey,
InputStream inputStream,
FilePasswordProvider provider) |
| Modifier and Type | Class and Description |
|---|---|
class |
BouncyCastleRandom
BouncyCastle
Random. |
class |
BouncyCastleRandomFactory
Named factory for the BouncyCastle
Random |
class |
BouncyCastleSecurityProviderRegistrar |
| Modifier and Type | Method and Description |
|---|---|
protected void |
BouncyCastleGeneratorHostKeyProvider.doWriteKeyPair(NamedResource resourceKey,
KeyPair kp,
OutputStream outputStream) |
Collection<KeyPair> |
BouncyCastleKeyPairResourceParser.extractKeyPairs(SessionContext session,
NamedResource resourceKey,
String beginMarker,
String endMarker,
FilePasswordProvider passwordProvider,
InputStream stream,
Map<String,String> headers) |
Collection<KeyPair> |
BouncyCastleKeyPairResourceParser.extractKeyPairs(SessionContext session,
NamedResource resourceKey,
String beginMarker,
String endMarker,
FilePasswordProvider passwordProvider,
List<String> lines,
Map<String,String> headers) |
static KeyPair |
BouncyCastleKeyPairResourceParser.loadKeyPair(SessionContext session,
NamedResource resourceKey,
InputStream inputStream,
FilePasswordProvider provider) |
| Modifier and Type | Class and Description |
|---|---|
class |
EdDSASecurityProviderRegistrar |
| Modifier and Type | Method and Description |
|---|---|
Collection<KeyPair> |
Ed25519PEMResourceKeyParser.extractKeyPairs(SessionContext session,
NamedResource resourceKey,
String beginMarker,
String endMarker,
FilePasswordProvider passwordProvider,
InputStream stream,
Map<String,String> headers) |
| Modifier and Type | Method and Description |
|---|---|
protected Iterable<KeyPair> |
SimpleGeneratorHostKeyProvider.doReadKeyPairs(SessionContext session,
NamedResource resourceKey,
InputStream inputStream) |
protected Iterable<KeyPair> |
AbstractGeneratorHostKeyProvider.doReadKeyPairs(SessionContext session,
NamedResource resourceKey,
InputStream inputStream) |
protected void |
SimpleGeneratorHostKeyProvider.doWriteKeyPair(NamedResource resourceKey,
KeyPair kp,
OutputStream outputStream) |
protected abstract void |
AbstractGeneratorHostKeyProvider.doWriteKeyPair(NamedResource resourceKey,
KeyPair kp,
OutputStream outputStream) |
Copyright © 2018–2024 The Apache Software Foundation. All rights reserved.