| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public static < The generic factory manager M extends AbstractFactoryManager> M | Returns: The configured managerThe manager, PropertyResolver AbstractFactoryManager to configureThe props, boolean PropertyResolver to use for configuration - Note: if any known
configuration value has a default and does not appear in the properties, the default is
usedIf lenient, boolean true then any unknown configuration values are ignored. Otherwise an
IllegalArgumentException is thrownfilter out unsupported configuration values (e.g., ciphers, key exchanges, etc..) ignoreUnsupported)Note if after filtering out all the unknown or unsupported values there is an empty configuration exception is thrown Configures an |
| public static <M extends AbstractFactoryManager> M | |
| public static <M extends AbstractFactoryManager> M | |
| public static < The generic factory manager M extends AbstractFactoryManager> M | Returns: The configured manager - Note: if the result of filtering due to lenient mode or ignored unsupported value is empty then no factories are setThe manager, PropertyResolver AbstractFactoryManager to configureThe configuration props, boolean PropertiesIf lenient, boolean true and an unknown value is provided then it is ignoredIf ignoreUnsupported)false then check if the compression is currently supported before setting itConfigure the factory manager using one of the known |
| public static <M extends AbstractFactoryManager> M | |
| public static < The generic factory manager M extends AbstractFactoryManager> M | Returns: The configured managerThe manager, PropertyResolver AbstractFactoryManager to set up (may not be null)The (non- props, boolean null) PropertyResolver containing the configurationIf lenient, Function<? super DHFactory, ? extends KeyExchangeFactory> xformer, boolean true then any unknown/unsupported configuration values are ignored.
Otherwise an IllegalArgumentException is thrownFilter out any un-supported configurations - Note: if after ignoring the unknown
and un-supported values the result is an empty list of factories and exception is
thrown ignoreUnsupported)
|
| public static <M extends AbstractFactoryManager> M | configureKeyExchanges(M manager, String value, boolean lenient, Function<? super DHFactory, ? extends KeyExchangeFactory> xformer, boolean ignoreUnsupported)
|
| public static <M extends AbstractFactoryManager> M | |
| public static <M extends AbstractFactoryManager> M | |
| public static <M extends AbstractFactoryManager> M | |
| public static <M extends AbstractFactoryManager> M | |
| public static BuiltinCiphers. | Returns: AParseResult of all the NamedFactory-ies whose name appears in the string and
represent a built-in cipher. Any unknown name is ignored. The order of the returned result
is the same as the original order - bar the unknown ciphersNote it is up to caller to ensure that the lists do not contain duplicates The props)PropertyResolver - ignored if null/empty
|
| public static CompressionFactory | Returns: The matchingNamedFactory for the configured value. null if no configuration or
unknown name specifiedThe props)PropertyResolver - ignored if null/empty
|
| public static BuiltinDHFactories. | Returns: AParseResult of all the DHFactory-ies whose name appears in the string and
represent a built-in value. Any unknown name is ignored. The order of the returned result is
the same as the original order - bar the unknown onesNote it is up to caller to ensure that the list does not contain duplicates The props)PropertyResolver - ignored if null/empty
|
| public static BuiltinMacs. | Returns: AParseResult of all the NamedFactory-ies whose name appears in the string and
represent a built-in MAC. Any unknown name is ignored. The order of the returned result is
the same as the original order - bar the unknown MACsNote it is up to caller to ensure that the list does not contain duplicates The props)PropertyResolver - ignored if null/empty
|
| public static BuiltinSignatures. | Returns: AParseResult of all the NamedFactory whose name appears in the string and
represent a built-in signature. Any unknown name is ignored. The order of the returned
result is the same as the original order - bar the unknown signaturesNote it is up to caller to ensure that the list does not contain duplicates The props)PropertyResolver - ignored if null/empty
|
| SshConfigFileReader | back to summary |
|---|---|
| private SshConfigFileReader() | |
| configure | back to summary |
|---|---|
| public static <M extends AbstractFactoryManager> M configure(M manager, PropertyResolver props, boolean lenient, boolean ignoreUnsupported) Configures an
| |
| configureCiphers | back to summary |
|---|---|
| public static <M extends AbstractFactoryManager> M configureCiphers(M manager, PropertyResolver props, boolean lenient, boolean ignoreUnsupported) | |
| configureCiphers | back to summary |
|---|---|
| public static <M extends AbstractFactoryManager> M configureCiphers(M manager, String value, boolean lenient, boolean ignoreUnsupported) | |
| configureCompression | back to summary |
|---|---|
| public static <M extends AbstractFactoryManager> M configureCompression(M manager, PropertyResolver props, boolean lenient, boolean ignoreUnsupported) Configure the factory manager using one of the known
| |
| configureCompression | back to summary |
|---|---|
| public static <M extends AbstractFactoryManager> M configureCompression(M manager, String value, boolean lenient, boolean ignoreUnsupported) | |
| configureKeyExchanges | back to summary |
|---|---|
public static <M extends AbstractFactoryManager> M configureKeyExchanges(M manager, PropertyResolver props, boolean lenient, Function<? super DHFactory, ? extends KeyExchangeFactory> xformer, boolean ignoreUnsupported)
| |
| configureKeyExchanges | back to summary |
|---|---|
| public static <M extends AbstractFactoryManager> M configureKeyExchanges(M manager, String value, boolean lenient, Function<? super DHFactory, ? extends KeyExchangeFactory> xformer, boolean ignoreUnsupported) | |
| configureMacs | back to summary |
|---|---|
| public static <M extends AbstractFactoryManager> M configureMacs(M manager, PropertyResolver resolver, boolean lenient, boolean ignoreUnsupported) | |
| configureMacs | back to summary |
|---|---|
| public static <M extends AbstractFactoryManager> M configureMacs(M manager, String value, boolean lenient, boolean ignoreUnsupported) | |
| configureSignatures | back to summary |
|---|---|
| public static <M extends AbstractFactoryManager> M configureSignatures(M manager, PropertyResolver props, boolean lenient, boolean ignoreUnsupported) | |
| configureSignatures | back to summary |
|---|---|
| public static <M extends AbstractFactoryManager> M configureSignatures(M manager, String value, boolean lenient, boolean ignoreUnsupported) | |
| getCiphers | back to summary |
|---|---|
public static BuiltinCiphers.
| |
| getCompression | back to summary |
|---|---|
public static CompressionFactory getCompression(PropertyResolver props)
| |
| getKexFactories | back to summary |
|---|---|
public static BuiltinDHFactories.
| |
| getMacs | back to summary |
|---|---|
public static BuiltinMacs.
| |
| getSignatures | back to summary |
|---|---|
public static BuiltinSignatures.
| |