Package | Description |
---|---|
com.maverick.agent | |
com.maverick.agent.client | |
com.maverick.agent.openssh | |
com.maverick.agent.rfc | |
com.maverick.ssh |
This package contains a set of general interface contracts for SSH communication that
provide the core set of functionality available in both the SSH1 and SSH2 protocol specifications.
|
com.maverick.ssh.components |
This package contains an abstract cryptographic provider for the SSH protocol.
|
com.maverick.ssh.components.jce |
This package contains a set of algoritm implementations that enable the Maverick API
to use a Java Cryptography Extension provider.
|
com.maverick.ssh1 |
This package contains an SSH1 implementation of the
com.maverick.ssh interfaces.
|
com.maverick.ssh2 |
This package contains an SSH2 implementation of the
com.maverick.ssh interfaces.
|
com.maverick.util |
A set of SSHTools utility classes.
|
com.sshtools.publickey |
This package contains utility classes for loading/storing public/private keys
and is based on the SSHTools key format architecture.
|
com.sshtools.publickey.authorized |
Modifier and Type | Method and Description |
---|---|
SshPublicKey |
InMemoryKeyStore.elementAt(int i)
Get the public key at the specified index
|
Modifier and Type | Method and Description |
---|---|
Map<SshPublicKey,String> |
KeyStore.getPublicKeys()
Return a Map of all the installed keys.
|
Map<SshPublicKey,String> |
InMemoryKeyStore.getPublicKeys() |
Modifier and Type | Method and Description |
---|---|
boolean |
KeyStore.addKey(SshPrivateKey prvkey,
SshPublicKey pubkey,
String description,
KeyConstraints cs)
Add a key to this keystore
|
boolean |
InMemoryKeyStore.addKey(SshPrivateKey prvkey,
SshPublicKey pubkey,
String description,
KeyConstraints cs) |
boolean |
KeyStore.deleteKey(SshPublicKey pubkey)
Delete a key from the keystore.
|
boolean |
InMemoryKeyStore.deleteKey(SshPublicKey pubkey) |
KeyConstraints |
KeyStore.getKeyConstraints(SshPublicKey key)
Get the constraints for a key stored in this keystore.
|
KeyConstraints |
InMemoryKeyStore.getKeyConstraints(SshPublicKey key) |
int |
InMemoryKeyStore.indexOf(SshPublicKey key)
Find the index of a key.
|
byte[] |
KeyStore.performHashAndSign(SshPublicKey pubkey,
List<ForwardingNotice> forwardingNodes,
byte[] data)
Hash and sign some data using a key stored in this keystore.
|
byte[] |
InMemoryKeyStore.performHashAndSign(SshPublicKey pubkey,
List<ForwardingNotice> forwardingNodes,
byte[] data) |
Modifier and Type | Method and Description |
---|---|
Map<SshPublicKey,String> |
SshAgentClient.listKeys()
List all the keys on the agent.
|
Modifier and Type | Method and Description |
---|---|
void |
SshAgentClient.addKey(SshPrivateKey prvkey,
SshPublicKey pubkey,
String description,
KeyConstraints constraints)
Add a key to the agent
|
void |
SshAgentClient.deleteKey(SshPublicKey key,
String description)
Delete a key held by the agent
|
byte[] |
SshAgentClient.hashAndSign(SshPublicKey key,
byte[] data)
Request a hash and sign operation be performed for a given public key.
|
byte[] |
SshAgentClient.sign(SshPublicKey key,
byte[] data) |
Modifier and Type | Method and Description |
---|---|
SshPublicKey |
SshAgentPrivateKeyOp.getPublicKey() |
SshPublicKey |
SshAgentDeleteKey.getPublicKey() |
SshPublicKey |
SshAgentAddKey.getPublicKey() |
SshPublicKey |
OpenSshSignRequest.getPublicKey() |
Modifier and Type | Method and Description |
---|---|
Map<SshPublicKey,String> |
SshAgentKeyList.getKeys() |
Modifier and Type | Method and Description |
---|---|
protected byte[] |
OpenSSHAgentConnection.encodeSignature(SshPublicKey key,
int flags,
byte[] signature) |
Constructor and Description |
---|
OpenSshSignRequest(SshPublicKey pubkey,
byte[] data)
Creates a new SshAgentPrivateKeyOp object.
|
SshAgentAddKey(SshPrivateKey prvkey,
SshPublicKey pubkey,
String description,
KeyConstraints constraints)
Creates a new SshAgentAddKey object.
|
SshAgentDeleteKey(SshPublicKey pubkey,
String description)
Creates a new SshAgentDeleteKey object.
|
SshAgentPrivateKeyOp(SshPublicKey pubkey,
byte[] data,
UnsignedInteger32 flags)
Creates a new SshAgentPrivateKeyOp object.
|
Constructor and Description |
---|
SshAgentKeyList(Map<SshPublicKey,String> keys)
Creates a new SshAgentKeyList object.
|
Modifier and Type | Method and Description |
---|---|
SshPublicKey |
SshAgentPrivateKeyOp.getPublicKey() |
SshPublicKey |
SshAgentDeleteKey.getPublicKey() |
SshPublicKey |
SshAgentAddKey.getPublicKey() |
Modifier and Type | Method and Description |
---|---|
Map<SshPublicKey,String> |
SshAgentKeyList.getKeys() |
Constructor and Description |
---|
SshAgentAddKey(SshPrivateKey prvkey,
SshPublicKey pubkey,
String description,
KeyConstraints constraints)
Creates a new SshAgentAddKey object.
|
SshAgentDeleteKey(SshPublicKey pubkey,
String description)
Creates a new SshAgentDeleteKey object.
|
SshAgentPrivateKeyOp(SshPublicKey pubkey,
String operation,
byte[] data)
Creates a new SshAgentPrivateKeyOp object.
|
Constructor and Description |
---|
SshAgentKeyList(Map<SshPublicKey,String> keys)
Creates a new SshAgentKeyList object.
|
Modifier and Type | Field and Description |
---|---|
protected SshPublicKey |
PublicKeyAuthentication.publickey |
Modifier and Type | Method and Description |
---|---|
static SshPublicKey |
SshKeyUtils.getHostKey(String hostname,
int port) |
static SshPublicKey |
SshCompatibilityUtils.getHostKey(String hostname,
int port) |
static SshPublicKey |
SshKeyUtils.getHostKey(String hostname,
int port,
String algorithm) |
static SshPublicKey |
SshCompatibilityUtils.getHostKey(String hostname,
int port,
String algorithm) |
SshPublicKey |
ConfigurationCollector.getKey() |
SshPublicKey |
PublicKeyAuthentication.getPublicKey()
Get the public key for this authentication.
|
Modifier and Type | Method and Description |
---|---|
static Set<SshPublicKey> |
SshKeyUtils.getSupportedHostKeys(String hostname,
int port) |
static Set<SshPublicKey> |
SshCompatibilityUtils.getSupportedHostKeys(String hostname,
int port) |
Modifier and Type | Method and Description |
---|---|
static String |
SshKeyFingerprint.getBubbleBabble(SshPublicKey key) |
static String |
SshKeyFingerprint.getFingerprint(SshPublicKey key) |
static String |
SshKeyFingerprint.getFingerprint(SshPublicKey key,
String algorithm) |
static String |
SshKeyFingerprint.getFingerprint(SshPublicKey key,
String algorithm,
SshKeyFingerprint.Encoding encoding) |
boolean |
HostKeyUpdater.isKnownHost(String host,
SshPublicKey key) |
void |
SshClientListener.keyExchangeComplete(SshClient client,
SshPublicKey hostkey,
String keyExchange,
String cipherCS,
String cipherSC,
String macCS,
String macSC,
String compressionCS,
String compressionSC) |
void |
SshClientAdapter.keyExchangeComplete(SshClient client,
SshPublicKey hostkey,
String keyExchange,
String cipherCS,
String cipherSC,
String macCS,
String macSC,
String compressionCS,
String compressionSC) |
void |
ConfigurationCollector.keyExchangeComplete(SshClient client,
SshPublicKey hostkey,
String keyExchange,
String cipherCS,
String cipherSC,
String macCS,
String macSC,
String compressionCS,
String compressionSC) |
void |
PublicKeyAuthentication.setPublicKey(SshPublicKey publickey)
Set the public key for this authentication.
|
void |
HostKeyUpdater.updateHostKey(String host,
SshPublicKey key) |
boolean |
HostKeyVerification.verifyHost(String host,
SshPublicKey pk)
Verify that the public key is acceptable for the host.
|
Modifier and Type | Interface and Description |
---|---|
interface |
SshDsaPublicKey
This interface should be implemented by all DSA public key implementations.
|
interface |
SshRsaPublicKey
This interface should be implemented by all RSA public key implementations.
|
Modifier and Type | Method and Description |
---|---|
SshPublicKey |
SshKeyPair.getPublicKey()
Get the public key.
|
Modifier and Type | Method and Description |
---|---|
ComponentFactory<SshPublicKey> |
ComponentManager.supportedPublicKeys()
Deprecated.
Preferences should be configured on Ssh2Context or SshContext objects and not directly on the ComponentManager.
|
ComponentFactory<SshPublicKey> |
ComponentManager.supportedPublicKeys(boolean clone)
Deprecated.
Preferences should be configured on Ssh2Context or SshContext objects and not directly on the ComponentManager.
|
Modifier and Type | Method and Description |
---|---|
static SshKeyPair |
SshKeyPair.getKeyPair(SshPrivateKey prv,
SshPublicKey pub)
Wraps a public/private key pair into an SshKeyPair instance.
|
void |
SshKeyPair.setPublicKey(SshPublicKey publickey)
Set the public key
|
Modifier and Type | Method and Description |
---|---|
protected abstract void |
ComponentManager.initializePublicKeyFactory(ComponentFactory<SshPublicKey> publickeys)
Initialize the public key factory.
|
Modifier and Type | Interface and Description |
---|---|
interface |
SshEd25519PublicKey |
interface |
SshEd448PublicKey |
Modifier and Type | Class and Description |
---|---|
class |
OpenSshCertificate
To generate a key that supports this use
ssh-keygen -s ca_key -I 2 -n lee,kelly -z 12345 -O force-command=ls -O
source-address=192.168.82.0/24 -O no-port-forwarding user_key.pub
|
class |
OpenSshDsaCertificate |
class |
OpenSshEcdsaCertificate |
class |
OpenSshEcdsaSha2Nist256Certificate |
class |
OpenSshEcdsaSha2Nist384Certificate |
class |
OpenSshEcdsaSha2Nist521Certificate |
class |
OpenSshEd25519Certificate |
class |
OpenSshRsaCertificate
A RSA public key implementation which uses a JCE provider.
|
class |
OpenSshRsaSha256Certificate
A RSA public key implementation which uses a JCE provider.
|
class |
OpenSshRsaSha512Certificate
A RSA public key implementation which uses a JCE provider.
|
class |
Ssh1RsaPublicKey
RSA public key implementation for the SSH1 protocol.
|
class |
Ssh2DsaPublicKey
A DSA public key implementation which uses a JCE provider.
|
class |
Ssh2EcdsaSha2Nist256PublicKey |
class |
Ssh2EcdsaSha2Nist384PublicKey |
class |
Ssh2EcdsaSha2Nist521PublicKey |
class |
Ssh2EcdsaSha2NistPublicKey |
class |
Ssh2RsaPublicKey
A RSA public key implementation which uses a JCE provider.
|
class |
Ssh2RsaPublicKeySHA256 |
class |
Ssh2RsaPublicKeySHA512 |
class |
SshEd25519PublicKeyJCE |
class |
SshEd448PublicKeyJCE |
class |
SshX509DsaPublicKey
Basic implementation of X509 certificate support.
|
class |
SshX509DsaPublicKeyRfc6187 |
class |
SshX509EcdsaSha2Nist256Rfc6187 |
class |
SshX509EcdsaSha2Nist384Rfc6187 |
class |
SshX509EcdsaSha2Nist521Rfc6187 |
class |
SshX509EcdsaSha2NistPublicKeyRfc6187 |
class |
SshX509Rsa2048Sha256Rfc6187 |
class |
SshX509RsaPublicKey
Basic implementation of X509 certificate support.
|
class |
SshX509RsaPublicKeyRfc6187 |
class |
SshX509RsaSha1PublicKey
Basic implementation of X509 certificate support.
|
Modifier and Type | Method and Description |
---|---|
SshPublicKey |
OpenSshCertificate.getSignedBy() |
SshPublicKey |
OpenSshCertificate.getSignedKey() |
Modifier and Type | Method and Description |
---|---|
void |
OpenSshCertificate.sign(SshPublicKey publicKey,
UnsignedInteger64 serial,
int type,
String keyId,
List<String> validPrincipals,
UnsignedInteger64 validAfter,
UnsignedInteger64 validBefore,
List<CriticalOption> criticalOptions,
List<CertificateExtension> extensions,
SshKeyPair signingKey) |
Modifier and Type | Method and Description |
---|---|
protected void |
JCEComponentManager.initializePublicKeyFactory(ComponentFactory<SshPublicKey> publickeys) |
Modifier and Type | Method and Description |
---|---|
SshPublicKey |
Ssh1RhostsRsaAuthentication.getPublicKey()
Set the public key used for this authentication
|
Modifier and Type | Method and Description |
---|---|
void |
Ssh1RhostsRsaAuthentication.setPublicKey(SshPublicKey pub)
Set the public key for the authentication attempt
|
Modifier and Type | Method and Description |
---|---|
SshPublicKey |
Ssh2Client.getHostKey() |
SshPublicKey |
Ssh2HostbasedAuthentication.getPublicKey()
Set the public key used for this authentication
|
Modifier and Type | Method and Description |
---|---|
ComponentFactory<SshPublicKey> |
Ssh2Context.supportedPublicKeys()
Get this context's supported public keys.
|
Modifier and Type | Method and Description |
---|---|
void |
Ssh2HostbasedAuthentication.setPublicKey(SshPublicKey pub)
Set the public key for the authentication attempt
|
byte[] |
SignatureGenerator.sign(SshPublicKey key,
byte[] data)
Sign the data using the private key of the public key provided.
|
Modifier and Type | Method and Description |
---|---|
static SshPublicKey |
SshKeyUtils.getPublicKey(File key) |
static SshPublicKey |
SshKeyUtils.getPublicKey(InputStream key) |
static SshPublicKey |
SshKeyUtils.getPublicKey(String formattedKey) |
Modifier and Type | Method and Description |
---|---|
static String |
SshKeyUtils.getBubbleBabble(SshPublicKey pub) |
static String |
SshKeyUtils.getFingerprint(SshPublicKey key) |
static String |
SshKeyUtils.getFormattedKey(SshPublicKey key,
String comment) |
static String |
SshKeyUtils.getFormattedKey(SshPublicKey key,
String comment,
int format) |
static String |
SshKeyUtils.getOpenSSHFormattedKey(SshPublicKey key) |
static String |
SshKeyUtils.getOpenSSHFormattedKey(SshPublicKey key,
String comment) |
Modifier and Type | Method and Description |
---|---|
static SshPublicKey |
SshPublicKeyFileFactory.decodeSSH2PublicKey(byte[] encoded)
Decode an SSH2 encoded public key as specified in the SSH2 transport
protocol.
|
static SshPublicKey |
SshPublicKeyFileFactory.decodeSSH2PublicKey(byte[] encoded,
int off,
int len) |
static SshPublicKey |
SshPublicKeyFileFactory.decodeSSH2PublicKey(String algorithm,
byte[] encoded) |
SshPublicKey |
KnownHostsKeyVerification.KeyEntry.getKey() |
SshPublicKey[] |
PublicKeySubsystem.list()
List all of the users acceptable keys.
|
SshPublicKey |
SshPublicKeyFile.toPublicKey()
Convert the key file into a usable SshPublicKey.
|
SshPublicKey |
SECSHPublicKeyFile.toPublicKey() |
SshPublicKey |
OpenSSHPublicKeyFile.toPublicKey() |
Modifier and Type | Method and Description |
---|---|
Hashtable<String,List<SshPublicKey>> |
AbstractMultipleKnownHostsKeyVerification.allowedHosts()
Deprecated.
Returns a Map of the allowed hosts.
|
Hashtable<String,Hashtable<String,SshPublicKey>> |
AbstractKnownHostsKeyVerification.allowedHosts()
Deprecated.
Returns a Map of the allowed hosts.
|
Modifier and Type | Method and Description |
---|---|
void |
PublicKeySubsystem.add(SshPublicKey key,
String comment)
Add a public key to the users list of acceptable keys.
|
void |
KnownHostsKeyVerification.addEntry(SshPublicKey key,
String comment,
String... names) |
void |
KnownHostsKeyVerification.allowHost(String host,
SshPublicKey key,
boolean always) |
void |
AbstractMultipleKnownHostsKeyVerification.allowHost(String host,
SshPublicKey pk,
boolean always)
Deprecated.
Allows a host key, optionally recording the key to the known_hosts file.
|
void |
AbstractKnownHostsKeyVerification.allowHost(String host,
SshPublicKey pk,
boolean always)
Deprecated.
Allows a host key, optionally recording the key to the known_hosts file.
|
void |
PublicKeySubsystem.associateCommand(SshPublicKey key,
String command)
Associate a command with an accepted public key.
|
static SshPublicKeyFile |
SshPublicKeyFileFactory.create(SshPublicKey key,
String comment,
int format)
Create a file representation from an existing public key.
|
static SshPublicKeyFile |
SshPublicKeyFileFactory.create(SshPublicKey key,
String options,
String comment,
int format)
Create a file representation from an existing public key.
|
static void |
SshPublicKeyFileFactory.createFile(SshPublicKey key,
String comment,
int format,
File toFile)
Take a SshPublicKey and write it to a
file
|
static OpenSshCertificate |
SshCertificateAuthority.generateCertificate(SshPublicKey key,
long serial,
int type,
String keyId,
List<String> validPrincipals,
int validityDays,
List<CriticalOption> criticalOptions,
List<CertificateExtension> extensions,
SshKeyPair signedBy) |
static OpenSshCertificate |
SshCertificateAuthority.generateCertificate(SshPublicKey key,
long serial,
int type,
String keyId,
String principal,
int validityDays,
List<CertificateExtension> extensions,
SshKeyPair signedBy) |
static OpenSshCertificate |
SshCertificateAuthority.generateCertificate(SshPublicKey key,
long serial,
int type,
String keyId,
String principal,
int validityDays,
SshKeyPair signedBy) |
static OpenSshCertificate |
SshCertificateAuthority.generateHostCertificate(SshPublicKey key,
long serial,
String hostname,
int validityDays,
SshKeyPair signedBy) |
static OpenSshCertificate |
SshCertificateAuthority.generateUserCertificate(SshPublicKey key,
long serial,
String principalName,
int validityDays,
SshKeyPair signedBy) |
boolean |
KnownHostsKeyVerification.isKnownHost(String host,
SshPublicKey key) |
protected void |
KnownHostsKeyVerification.onHostKeyAdded(Set<String> names,
SshPublicKey key) |
protected void |
KnownHostsFile.onHostKeyAdded(Set<String> names,
SshPublicKey key) |
protected void |
KnownHostsKeyVerification.onHostKeyMismatch(String host,
List<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. |
protected void |
KnownHostsFile.onHostKeyMismatch(String host,
List<SshPublicKey> allowedHostKey,
SshPublicKey actualHostKey) |
void |
HostKeyVerificationListener.onHostKeyMismatch(String host,
List<SshPublicKey> allowedHostKeys,
SshPublicKey pk) |
void |
HostKeyVerificationAdapter.onHostKeyMismatch(String host,
List<SshPublicKey> allowedHostKeys,
SshPublicKey pk) |
void |
ConsoleMultipleKnownHostsKeyVerification.onHostKeyMismatch(String host,
List<SshPublicKey> pk,
SshPublicKey actual)
Deprecated.
Prompts the user through the console to verify the host key.
|
protected void |
ConsoleKnownHostsFile.onHostKeyMismatch(String host,
List<SshPublicKey> allowedHostKey,
SshPublicKey actual) |
abstract void |
AbstractMultipleKnownHostsKeyVerification.onHostKeyMismatch(String host,
List<SshPublicKey> allowedHostKey,
SshPublicKey actualHostKey)
Deprecated.
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(String host,
SshPublicKey pk,
SshPublicKey actual)
Deprecated.
Prompts the user through the console to verify the host key.
|
abstract void |
AbstractKnownHostsKeyVerification.onHostKeyMismatch(String host,
SshPublicKey allowedHostKey,
SshPublicKey actualHostKey)
Deprecated.
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. |
protected void |
KnownHostsKeyVerification.onHostKeyRemoved(Set<String> names,
SshPublicKey key) |
protected void |
KnownHostsFile.onHostKeyRemoved(Set<String> names,
SshPublicKey key) |
protected void |
KnownHostsKeyVerification.onHostKeyUpdated(Set<String> names,
SshPublicKey key) |
protected void |
KnownHostsFile.onHostKeyUpdated(Set<String> names,
SshPublicKey key) |
protected void |
KnownHostsKeyVerification.onRevokedKey(String host,
SshPublicKey key)
Called by the
verifyHost method when the host key supplied
is listed as a revoked key. |
protected void |
KnownHostsFile.onRevokedKey(String host,
SshPublicKey key) |
void |
HostKeyVerificationListener.onRevokedKey(String host,
SshPublicKey pk) |
void |
HostKeyVerificationAdapter.onRevokedKey(String host,
SshPublicKey pk) |
protected void |
ConsoleKnownHostsFile.onRevokedKey(String host,
SshPublicKey key) |
protected void |
KnownHostsKeyVerification.onUnknownHost(String host,
SshPublicKey key)
Called by the
verifyHost method when the host key supplied
is not recorded in the known_hosts file. |
protected void |
KnownHostsFile.onUnknownHost(String host,
SshPublicKey key) |
void |
HostKeyVerificationListener.onUnknownHost(String host,
SshPublicKey pk) |
void |
HostKeyVerificationAdapter.onUnknownHost(String host,
SshPublicKey pk) |
void |
ConsoleMultipleKnownHostsKeyVerification.onUnknownHost(String host,
SshPublicKey pk)
Deprecated.
Prompts the user through the console to verify the host key.
|
void |
ConsoleKnownHostsKeyVerification.onUnknownHost(String host,
SshPublicKey pk)
Deprecated.
Prompts the user through the console to verify the host key.
|
void |
ConsoleKnownHostsFile.onUnknownHost(String host,
SshPublicKey pk)
Prompts the user through the console to verify the host key.
|
abstract void |
AbstractMultipleKnownHostsKeyVerification.onUnknownHost(String host,
SshPublicKey key)
Deprecated.
Called by the
verifyHost method when the host key supplied
is not recorded in the known_hosts file. |
abstract void |
AbstractKnownHostsKeyVerification.onUnknownHost(String host,
SshPublicKey key)
Deprecated.
Called by the
verifyHost method when the host key supplied
is not recorded in the known_hosts file. |
void |
PublicKeySubsystem.remove(SshPublicKey key)
Remove a public key from the users list of acceptable keys.
|
void |
KnownHostsKeyVerification.removeEntries(SshPublicKey key) |
void |
KnownHostsKeyVerification.removeEntries(String host,
SshPublicKey key) |
void |
KnownHostsKeyVerification.updateHostKey(String host,
SshPublicKey key) |
boolean |
X509HostKeyVerification.verifyHost(String host,
SshPublicKey pk) |
boolean |
KnownHostsKeyVerification.verifyHost(String host,
SshPublicKey pk)
Verifies a host key against the list of known_hosts.
|
boolean |
HostKeyVerificationManager.verifyHost(String host,
SshPublicKey pk) |
boolean |
AbstractMultipleKnownHostsKeyVerification.verifyHost(String host,
SshPublicKey pk)
Deprecated.
Verifies a host key against the list of known_hosts.
|
boolean |
AbstractKnownHostsKeyVerification.verifyHost(String host,
SshPublicKey pk)
Deprecated.
Verifies a host key against the list of known_hosts.
|
Modifier and Type | Method and Description |
---|---|
protected void |
KnownHostsKeyVerification.onHostKeyMismatch(String host,
List<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. |
protected void |
KnownHostsFile.onHostKeyMismatch(String host,
List<SshPublicKey> allowedHostKey,
SshPublicKey actualHostKey) |
void |
HostKeyVerificationListener.onHostKeyMismatch(String host,
List<SshPublicKey> allowedHostKeys,
SshPublicKey pk) |
void |
HostKeyVerificationAdapter.onHostKeyMismatch(String host,
List<SshPublicKey> allowedHostKeys,
SshPublicKey pk) |
void |
ConsoleMultipleKnownHostsKeyVerification.onHostKeyMismatch(String host,
List<SshPublicKey> pk,
SshPublicKey actual)
Deprecated.
Prompts the user through the console to verify the host key.
|
protected void |
ConsoleKnownHostsFile.onHostKeyMismatch(String host,
List<SshPublicKey> allowedHostKey,
SshPublicKey actual) |
abstract void |
AbstractMultipleKnownHostsKeyVerification.onHostKeyMismatch(String host,
List<SshPublicKey> allowedHostKey,
SshPublicKey actualHostKey)
Deprecated.
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. |
Modifier and Type | Method and Description |
---|---|
void |
AuthorizedKeyFile.addKey(SshPublicKey key,
String comment) |
void |
AuthorizedKeyFile.addKey(SshPublicKey key,
String comment,
Option<?>... options) |
PublicKeyEntry |
AuthorizedKeyFile.getKeyEntry(SshPublicKey key) |
boolean |
AuthorizedKeyFile.isAuthorizedKey(SshPublicKey key) |
void |
AuthorizedKeyFile.removeKeys(SshPublicKey... keys) |
void |
AuthorizedKeyFile.setOption(SshPublicKey key,
Option<?> option) |
Copyright © 2024. All rights reserved.