KeyPairs from text resources
| Modifier and Type | Field and Description |
|---|---|
| public static final KeyPairResourceLoader | EMPTY
An empty loader that never fails but always returns an empty list |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int |
| Modifier and Type | Method and Description |
|---|---|
| public default Collection | Returns: The extractedKeyPairs - may be null/empty if noneNote the resource loader may decide to skip unknown lines if more than one key pair type is encoded in it The session, Path SessionContext for invoking this load command - may be null
if not invoked within a session context (e.g., offline tool or session unknown).The private key file path, FilePasswordProvider PathThe passwordProvider, OpenOption... FilePasswordProvider to use in case the data is encrypted - may be
null if no encrypted data is expectedThe options)OpenOption-s to use to access the file dataLoads private key data - Note: any non-ASCII characters are assumed to be UTF-8 encoded |
| public default Collection | loadKeyPairs(SessionContext session, Path path, FilePasswordProvider passwordProvider, Charset cs, OpenOption... options)
|
| public default Collection | |
| public default Collection | |
| public default Collection | |
| public default Collection | loadKeyPairs(SessionContext session, IoResource<?> resource, FilePasswordProvider passwordProvider, Charset cs)
|
| public default Collection | loadKeyPairs(SessionContext session, NamedResource resourceKey, FilePasswordProvider passwordProvider, String data)
|
| public default Collection | loadKeyPairs(SessionContext session, NamedResource resourceKey, FilePasswordProvider passwordProvider, InputStream stream)
|
| public default Collection | loadKeyPairs(SessionContext session, NamedResource resourceKey, FilePasswordProvider passwordProvider, InputStream stream, Charset cs)
|
| public default Collection | loadKeyPairs(SessionContext session, NamedResource resourceKey, FilePasswordProvider passwordProvider, Reader r)
|
| public default Collection | loadKeyPairs(SessionContext session, NamedResource resourceKey, FilePasswordProvider passwordProvider, BufferedReader r)
|
| public Collection | Returns: The extractedKeyPairs - may be null/empty if noneNote the resource loader may decide to skip unknown lines if more than one key pair type is encoded in it The session, NamedResource SessionContext for invoking this load command - may be null
if not invoked within a session context (e.g., offline tool or session unknown).A hint as to the origin of the text lines resourceKey, FilePasswordProvider The passwordProvider, List<String> FilePasswordProvider to use in case the data is encrypted - may be
null if no encrypted data is expectedThe lines)List of lines as read from the resourceLoads key pairs from the given resource text lines |
| EMPTY | back to summary |
|---|---|
| public static final KeyPairResourceLoader EMPTY An empty loader that never fails but always returns an empty list | |
| MAX_CIPHER_NAME_LENGTH | back to summary |
|---|---|
| public static final int MAX_CIPHER_NAME_LENGTH | |
| MAX_KEY_COMMENT_LENGTH | back to summary |
|---|---|
| public static final int MAX_KEY_COMMENT_LENGTH | |
| MAX_KEY_TYPE_NAME_LENGTH | back to summary |
|---|---|
| public static final int MAX_KEY_TYPE_NAME_LENGTH | |
| MAX_PRIVATE_KEY_DATA_SIZE | back to summary |
|---|---|
| public static final int MAX_PRIVATE_KEY_DATA_SIZE | |
| MAX_PUBLIC_KEY_DATA_SIZE | back to summary |
|---|---|
| public static final int MAX_PUBLIC_KEY_DATA_SIZE | |
| loadKeyPairs | back to summary |
|---|---|
| public default Collection Loads private key data - Note: any non-ASCII characters are assumed to be UTF-8 encoded
| |
| loadKeyPairs | back to summary |
|---|---|
| public default Collection | |
| loadKeyPairs | back to summary |
|---|---|
| public default Collection | |
| loadKeyPairs | back to summary |
|---|---|
| public default Collection | |
| loadKeyPairs | back to summary |
|---|---|
| public default Collection | |
| loadKeyPairs | back to summary |
|---|---|
| public default Collection | |
| loadKeyPairs | back to summary |
|---|---|
| public default Collection | |
| loadKeyPairs | back to summary |
|---|---|
| public default Collection | |
| loadKeyPairs | back to summary |
|---|---|
| public default Collection | |
| loadKeyPairs | back to summary |
|---|---|
| public default Collection | |
| loadKeyPairs | back to summary |
|---|---|
| public default Collection | |
| loadKeyPairs | back to summary |
|---|---|
| public Collection Loads key pairs from the given resource text lines
| |