| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public static KeyPairProvider | Returns: AKeyPair for the identities - null if no identities available (e.g., after
filtering unsupported ones)If supportedOnly)true then ignore identities that are not supported internally
|
| public static String | Returns: The identity file name ornull if no nameThe file name prefix - ignored if prefix, String null/emptyThe identity type - ignored if type, String null/emptyThe file name suffix - ignored if suffix)null/empty
|
| public static NavigableMap | Returns: ANavigableMap of the identities where key=identity type (case
insensitive), value=the KeyPair of the identityThe session, Map<String, ? extends Path> paths, FilePasswordProvider SessionContext for invoking this load command - may be null
if not invoked within a session context (e.g., offline tool or session unknown).A provider, OpenOption... FilePasswordProvider - may be null if the loaded keys are
guaranteed not to be encrypted. The argument to
FilePasswordProvider#getPassword is the path of the file whose key is to
be loadedThe options)OpenOptions to use when reading the key data
|
| IdentityUtils | back to summary |
|---|---|
| private IdentityUtils() | |
| createKeyPairProvider | back to summary |
|---|---|
public static KeyPairProvider createKeyPairProvider(Map<String, KeyPair> ids, boolean supportedOnly)
| |
| getIdentityFileName | back to summary |
|---|---|
| public static String getIdentityFileName(String prefix, String type, String suffix) | |
| loadIdentities | back to summary |
|---|---|
public static NavigableMap
| |