| Modifier and Type | Field and Description |
|---|---|
| public static final Function | MAP_TO_KEY_PAIR_PROVIDER
Transforms a |
| private final Map |
| Access | Constructor and Description |
|---|---|
| public | |
| public | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| public Iterable | getKeyTypes(SessionContext
The session)SessionContext for invoking this load command - may be null
if not invoked within a session context (e.g., offline tool).Overrides default org.
|
| public KeyPair | loadKey(SessionContext
The session, String SessionContext for invoking this load command - may be null
if not invoked within a session context (e.g., offline tool).the type of key to load type)Overrides default org. Load a key of the specified type which can be "ssh-rsa", "ssh-dss", or "ecdsa-sha2-nistp{256,384,521}". |
| public Iterable | loadKeys(SessionContext
The session)SessionContext for invoking this load command - may be null
if not invoked within a session context (e.g., offline tool or session unknown).Implements org. Load available keys. |
| public static Map | |
| public String |
| MAP_TO_KEY_PAIR_PROVIDER | back to summary |
|---|---|
| public static final Function<Map<String, KeyPair>, KeyPairProvider> MAP_TO_KEY_PAIR_PROVIDER Transforms a | |
| pairsMap | back to summary |
|---|---|
| private final Map<String, KeyPair> pairsMap | |
| MappedKeyPairProvider | back to summary |
|---|---|
| public MappedKeyPairProvider(KeyPair... pairs) | |
| MappedKeyPairProvider | back to summary |
|---|---|
| public MappedKeyPairProvider(Collection<KeyPair> pairs) | |
| MappedKeyPairProvider | back to summary |
|---|---|
| public MappedKeyPairProvider(Map<String, KeyPair> pairsMap) | |
| getKeyTypes | back to summary |
|---|---|
| public Iterable Overrides default org.
| |
| loadKey | back to summary |
|---|---|
| public KeyPair loadKey(SessionContext session, String type) Overrides default org. Doc from org. Load a key of the specified type which can be "ssh-rsa", "ssh-dss", or
"ecdsa-sha2-nistp{256,384,521}". If there is no key of this type, return
| |
| loadKeys | back to summary |
|---|---|
| public Iterable Implements org. Doc from org. Load available keys.
| |
| mapUniquePairs | back to summary |
|---|---|
| public static Map | |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object.
Satisfying this method's contract implies a non- | |