Modifier and Type | Method and Description |
---|---|
void |
AuthorizedKeys.addKey(java.lang.String username,
SshPublicKey key) |
boolean |
RemoteIdentification.configureUserAccess(SftpClient sftp,
java.lang.String serverId,
java.lang.String system,
java.lang.String username,
SshPublicKey pk,
java.lang.String authorizationFile,
int mode) |
boolean |
AuthorizedKeys.containsKey(SshPublicKey key) |
void |
AuthorizedKeys.removeKey(SshPublicKey key) |
Modifier and Type | Method and Description |
---|---|
void |
DialogKnownHostsKeyVerification.onHostKeyMismatch(java.lang.String host,
SshPublicKey recorded,
SshPublicKey actual) |
void |
DialogKnownHostsKeyVerification.onUnknownHost(java.lang.String host,
SshPublicKey key) |
boolean |
AbstractHostKeyVerification.verifyHost(java.lang.String host,
SshPublicKey pk) |
Modifier and Type | Method and Description |
---|---|
SshPublicKey |
SshClient.getServerHostKey()
Returns the server's public key supplied during key exchange.
|
Modifier and Type | Method and Description |
---|---|
boolean |
SshClient.acceptsKey(java.lang.String username,
SshPublicKey key)
Determine whether a private/public key pair will be accepted for public
key authentication.
|
Modifier and Type | Method and Description |
---|---|
SshPublicKey |
KeyStore.elementAt(int i) |
Modifier and Type | Method and Description |
---|---|
boolean |
AgentAuthenticationClient.acceptsKey(AuthenticationProtocolClient authentication,
java.lang.String username,
java.lang.String serviceToStart,
SshPublicKey key) |
boolean |
KeyStore.addKey(SshPrivateKey prvkey,
SshPublicKey pubkey,
java.lang.String description,
KeyConstraints cs) |
void |
SshAgentClient.addKey(SshPrivateKey prvkey,
SshPublicKey pubkey,
java.lang.String description,
KeyConstraints constraints)
Add a key to the agent
|
boolean |
KeyStore.deleteKey(SshPublicKey pubkey,
java.lang.String description) |
void |
SshAgentClient.deleteKey(SshPublicKey key,
java.lang.String description)
Delete a key held by the agent
|
java.lang.String |
KeyStore.getDescription(SshPublicKey key) |
KeyConstraints |
KeyStore.getKeyConstraints(SshPublicKey key) |
byte[] |
SshAgentClient.hashAndSign(SshPublicKey key,
byte[] data)
Request a hash and sign operation be performed for a given public key.
|
int |
KeyStore.indexOf(SshPublicKey key) |
byte[] |
KeyStore.performHashAndSign(SshPublicKey pubkey,
java.util.List forwardingNodes,
byte[] data) |
Modifier and Type | Method and Description |
---|---|
boolean |
PublicKeyAuthenticationClient.acceptsKey(AuthenticationProtocolClient authentication,
java.lang.String username,
java.lang.String serviceToStart,
SshPublicKey key) |
Modifier and Type | Field and Description |
---|---|
protected SshPublicKey |
TransportProtocolClient.pk |
Modifier and Type | Method and Description |
---|---|
SshPublicKey |
TransportProtocolClient.getServerHostKey() |
Modifier and Type | Method and Description |
---|---|
void |
AbstractKnownHostsKeyVerification.allowHost(java.lang.String host,
SshPublicKey pk,
boolean always)
Allows a host key, optionally recording the key to the known_hosts file.
|
abstract void |
AbstractKnownHostsKeyVerification.onHostKeyMismatch(java.lang.String host,
SshPublicKey allowedHostKey,
SshPublicKey actualHostKey)
Called by the
verifyHost method when the host key supplied
by the host does not match the current key recording in the known hosts
file. |
void |
ConsoleKnownHostsKeyVerification.onHostKeyMismatch(java.lang.String host,
SshPublicKey pk,
SshPublicKey actual)
Prompts the user through the console to verify the host key.
|
abstract void |
AbstractKnownHostsKeyVerification.onUnknownHost(java.lang.String host,
SshPublicKey key)
Called by the
verifyHost method when the host key supplied
is not recorded in the known_hosts file. |
void |
ConsoleKnownHostsKeyVerification.onUnknownHost(java.lang.String host,
SshPublicKey pk)
Prompts the user through the console to verify the host key.
|
boolean |
HostKeyVerification.verifyHost(java.lang.String host,
SshPublicKey pk)
Called by the transport protocol to verify the identity of the server
through the supplied public key.
|
boolean |
AbstractKnownHostsKeyVerification.verifyHost(java.lang.String host,
SshPublicKey pk)
Verifies a host key against the list of known_hosts.
|
boolean |
IgnoreHostKeyVerification.verifyHost(java.lang.String host,
SshPublicKey pk)
Simply returns
true to all requests. |
Modifier and Type | Method and Description |
---|---|
abstract SshPublicKey |
SshKeyPair.decodePublicKey(byte[] encoded) |
static SshPublicKey |
SshKeyPairFactory.decodePublicKey(byte[] encoded) |
SshPublicKey |
SshKeyPair.getPublicKey() |
abstract SshPublicKey |
SshPrivateKey.getPublicKey() |
SshPublicKey |
SshKeyPair.setPublicKey(byte[] encoded) |
SshPublicKey |
SshPublicKeyFile.toPublicKey() |
Modifier and Type | Method and Description |
---|---|
static SshPublicKeyFile |
SshPublicKeyFile.create(SshPublicKey key,
SshPublicKeyFormat format) |
Modifier and Type | Class and Description |
---|---|
class |
SshDssPublicKey |
Modifier and Type | Method and Description |
---|---|
SshPublicKey |
SshDssKeyPair.decodePublicKey(byte[] encoded) |
Modifier and Type | Class and Description |
---|---|
class |
SshRsaPublicKey |
Modifier and Type | Method and Description |
---|---|
SshPublicKey |
SshRsaKeyPair.decodePublicKey(byte[] encoded) |
SshPublicKey |
SshRsaPrivateKey.getPublicKey() |
Copyright © 2002-2003 Lee David Painter & Contributors. All Rights Reserved.