Uses of Class
com.sshtools.j2ssh.transport.publickey.SshPublicKey
Packages that use SshPublicKey
Package
Description
-
Uses of SshPublicKey in com.sshtools.common.automate
Methods in com.sshtools.common.automate with parameters of type SshPublicKeyModifier and TypeMethodDescriptionvoidAuthorizedKeys.addKey(String username, SshPublicKey key) booleanRemoteIdentification.configureUserAccess(SftpClient sftp, String serverId, String system, String username, SshPublicKey pk, String authorizationFile, int mode) booleanAuthorizedKeys.containsKey(SshPublicKey key) voidAuthorizedKeys.removeKey(SshPublicKey key) -
Uses of SshPublicKey in com.sshtools.common.hosts
Methods in com.sshtools.common.hosts with parameters of type SshPublicKeyModifier and TypeMethodDescriptionvoidDialogKnownHostsKeyVerification.onHostKeyMismatch(String host, SshPublicKey recorded, SshPublicKey actual) voidDialogKnownHostsKeyVerification.onUnknownHost(String host, SshPublicKey key) booleanAbstractHostKeyVerification.verifyHost(String host, SshPublicKey pk) -
Uses of SshPublicKey in com.sshtools.j2ssh
Methods in com.sshtools.j2ssh that return SshPublicKeyModifier and TypeMethodDescriptionSshClient.getServerHostKey()Returns the server's public key supplied during key exchange.Methods in com.sshtools.j2ssh with parameters of type SshPublicKeyModifier and TypeMethodDescriptionbooleanSshClient.acceptsKey(String username, SshPublicKey key) Determine whether a private/public key pair will be accepted for public key authentication. -
Uses of SshPublicKey in com.sshtools.j2ssh.agent
Methods in com.sshtools.j2ssh.agent that return SshPublicKeyMethods in com.sshtools.j2ssh.agent with parameters of type SshPublicKeyModifier and TypeMethodDescriptionbooleanAgentAuthenticationClient.acceptsKey(AuthenticationProtocolClient authentication, String username, String serviceToStart, SshPublicKey key) booleanKeyStore.addKey(SshPrivateKey prvkey, SshPublicKey pubkey, String description, KeyConstraints cs) voidSshAgentClient.addKey(SshPrivateKey prvkey, SshPublicKey pubkey, String description, KeyConstraints constraints) Add a key to the agentbooleanKeyStore.deleteKey(SshPublicKey pubkey, String description) voidSshAgentClient.deleteKey(SshPublicKey key, String description) Delete a key held by the agentKeyStore.getDescription(SshPublicKey key) KeyStore.getKeyConstraints(SshPublicKey key) byte[]SshAgentClient.hashAndSign(SshPublicKey key, byte[] data) Request a hash and sign operation be performed for a given public key.intKeyStore.indexOf(SshPublicKey key) byte[]KeyStore.performHashAndSign(SshPublicKey pubkey, List forwardingNodes, byte[] data) -
Uses of SshPublicKey in com.sshtools.j2ssh.authentication
Methods in com.sshtools.j2ssh.authentication with parameters of type SshPublicKeyModifier and TypeMethodDescriptionbooleanPublicKeyAuthenticationClient.acceptsKey(AuthenticationProtocolClient authentication, String username, String serviceToStart, SshPublicKey key) -
Uses of SshPublicKey in com.sshtools.j2ssh.transport
Fields in com.sshtools.j2ssh.transport declared as SshPublicKeyMethods in com.sshtools.j2ssh.transport that return SshPublicKeyMethods in com.sshtools.j2ssh.transport with parameters of type SshPublicKeyModifier and TypeMethodDescriptionvoidAbstractKnownHostsKeyVerification.allowHost(String host, SshPublicKey pk, boolean always) Allows a host key, optionally recording the key to the known_hosts file.abstract voidAbstractKnownHostsKeyVerification.onHostKeyMismatch(String host, SshPublicKey allowedHostKey, SshPublicKey actualHostKey) Called by theverifyHostmethod when the host key supplied by the host does not match the current key recording in the known hosts file.voidConsoleKnownHostsKeyVerification.onHostKeyMismatch(String host, SshPublicKey pk, SshPublicKey actual) Prompts the user through the console to verify the host key.abstract voidAbstractKnownHostsKeyVerification.onUnknownHost(String host, SshPublicKey key) Called by theverifyHostmethod when the host key supplied is not recorded in the known_hosts file.voidConsoleKnownHostsKeyVerification.onUnknownHost(String host, SshPublicKey pk) Prompts the user through the console to verify the host key.booleanAbstractKnownHostsKeyVerification.verifyHost(String host, SshPublicKey pk) Verifies a host key against the list of known_hosts.booleanHostKeyVerification.verifyHost(String host, SshPublicKey pk) Called by the transport protocol to verify the identity of the server through the supplied public key.booleanIgnoreHostKeyVerification.verifyHost(String host, SshPublicKey pk) Simply returnstrueto all requests. -
Uses of SshPublicKey in com.sshtools.j2ssh.transport.publickey
Methods in com.sshtools.j2ssh.transport.publickey that return SshPublicKeyModifier and TypeMethodDescriptionabstract SshPublicKeySshKeyPair.decodePublicKey(byte[] encoded) static SshPublicKeySshKeyPairFactory.decodePublicKey(byte[] encoded) SshKeyPair.getPublicKey()abstract SshPublicKeySshPrivateKey.getPublicKey()SshKeyPair.setPublicKey(byte[] encoded) SshPublicKeyFile.toPublicKey()Methods in com.sshtools.j2ssh.transport.publickey with parameters of type SshPublicKeyModifier and TypeMethodDescriptionstatic SshPublicKeyFileSshPublicKeyFile.create(SshPublicKey key, SshPublicKeyFormat format) -
Uses of SshPublicKey in com.sshtools.j2ssh.transport.publickey.dsa
Subclasses of SshPublicKey in com.sshtools.j2ssh.transport.publickey.dsaMethods in com.sshtools.j2ssh.transport.publickey.dsa that return SshPublicKey -
Uses of SshPublicKey in com.sshtools.j2ssh.transport.publickey.rsa
Subclasses of SshPublicKey in com.sshtools.j2ssh.transport.publickey.rsaMethods in com.sshtools.j2ssh.transport.publickey.rsa that return SshPublicKeyModifier and TypeMethodDescriptionSshRsaKeyPair.decodePublicKey(byte[] encoded) SshRsaPrivateKey.getPublicKey()