/etc/ssh/ssh_host_rsa_key
org.apache.sshd.common.util.security.SecurityUtils#getKeyPairResourceParser()
| Modifier and Type | Field and Description |
|---|---|
| public static final String | |
| public static final String | HOST_KEY_CONFIG_PROP
The server's keys configuration multi-value |
| public static final String | |
| public static final String | |
| public static final Function |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public static Map | findCertificates(Properties
The props, LinkOption... Properties holding the server's configuration - ignored if null/emptyThe options)LinkOptions to use when checking files existence
|
| public static Map | findIdentities(Properties
The props, LinkOption... Properties holding the server's configuration - ignored if null/emptyThe options)LinkOptions to use when checking files existence
|
| public static String | |
| public static String | Returns: The matching file name for the identity -null if no nameThe identity type - e.g., type)rsa - ignored if null/empty
|
| public static String | Returns: The identity type -null if cannot determine it - e.g., does not start/end with the
ID_FILE_PREFIX/ID_FILE_SUFFIXThe file name - ignored if name)null/empty
|
| private static Map | |
| public static Map | loadIdentities(Properties
The props, LinkOption... Properties holding the server's configuration - ignored if
null/emptyThe options)LinkOptions to use when checking files existence
|
| public static KeyPairProvider | Returns: AKeyPair for the identities - null if no identities available
(e.g., after filtering unsupported ones)The props, boolean Properties holding the server's configuration - ignored if
null/emptyIf supportedOnly, LinkOption... true then ignore identities that are not supported internallyThe options)LinkOptions to use when checking files existence
|
| public static < The generic server type S extends SshServer> S | Returns: The updated serverThe server, Properties SshServer to configureThe props, boolean Properties holding the server's configuration - ignored if
null/emptyIf supportedOnly)true then ignore identities that are not supported internallySets the server's |
| HOST_CERT_CONFIG_PROP | back to summary |
|---|---|
| public static final String HOST_CERT_CONFIG_PROP | |
| HOST_KEY_CONFIG_PROP | back to summary |
|---|---|
| public static final String HOST_KEY_CONFIG_PROP The server's keys configuration multi-value | |
| ID_FILE_PREFIX | back to summary |
|---|---|
| public static final String ID_FILE_PREFIX | |
| ID_FILE_SUFFIX | back to summary |
|---|---|
| public static final String ID_FILE_SUFFIX | |
| ID_GENERATOR | back to summary |
|---|---|
| public static final Function<String, String> ID_GENERATOR | |
| ServerIdentity | back to summary |
|---|---|
| private ServerIdentity() | |
| findCertificates | back to summary |
|---|---|
public static Map
| |
| findIdentities | back to summary |
|---|---|
public static Map
| |
| getIdentityFileName | back to summary |
|---|---|
| public static String getIdentityFileName(NamedResource r) | |
| getIdentityFileName | back to summary |
|---|---|
public static String getIdentityFileName(String type)
| |
| getIdentityType | back to summary |
|---|---|
public static String getIdentityType(String name)
| |
| getLocations | back to summary |
|---|---|
| private static Map | |
| loadIdentities | back to summary |
|---|---|
public static Map
| |
| loadKeyPairProvider | back to summary |
|---|---|
public static KeyPairProvider loadKeyPairProvider(Properties props, boolean supportedOnly, LinkOption... options) throws IOException, GeneralSecurityException
| |
| setKeyPairProvider | back to summary |
|---|---|
| public static <S extends SshServer> S setKeyPairProvider(S server, Properties props, boolean supportedOnly) throws IOException, GeneralSecurityException Sets the server's
| |