public final class AuthorizedKeys
extends java.lang.Object
DefaultVerifier instances around SSH authorized_keys files| Constructor and Description |
|---|
AuthorizedKeys() |
| Modifier and Type | Method and Description |
|---|---|
static Keychain |
defaultKeychain() |
static Keychain |
newKeychain(java.io.File authorizedKeysFile)
Convenience method which should simplify the interaction for 99% of implementations.
|
public static Keychain defaultKeychain() throws java.io.IOException
Keychain attached to the authorized_keys identities read fromjava.io.IOException - if the default authorized_Keys file does not exist.public static Keychain newKeychain(java.io.File authorizedKeysFile) throws java.io.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 identitiesjava.io.IOException - for any failure to parse designated fileCopyright © 2013-2017. All Rights Reserved.