public final class AuthorizedKeys extends Object
DefaultVerifier
instances around SSH authorized_keys filesConstructor and Description |
---|
AuthorizedKeys() |
Modifier and Type | Method and Description |
---|---|
static Keychain |
defaultKeychain() |
static Keychain |
newKeychain(File authorizedKeysFile)
Convenience method which should simplify the interaction for 99% of implementations.
|
public static Keychain defaultKeychain() throws IOException
Keychain
attached to the authorized_keys identities read fromIOException
- if the default authorized_Keys file does not exist.public static Keychain newKeychain(File authorizedKeysFile) throws IOException
authorizedKeysFile
- File in the RFC4253 authorized_keys format that every Linux admin knows and loves,
which contains a list of public keys which are allowed for authenticationKeychain
attached to the authorized_keys identitiesIOException
- for any failure to parse designated fileCopyright © 2013-2017. All Rights Reserved.