Uses of Class
com.sshtools.j2ssh.transport.publickey.SshPublicKey
-
-
Uses of SshPublicKey in com.sshtools.common.automate
Methods in com.sshtools.common.automate with parameters of type SshPublicKey Modifier and Type Method Description voidAuthorizedKeys. addKey(java.lang.String username, SshPublicKey key)booleanRemoteIdentification. configureUserAccess(SftpClient sftp, java.lang.String serverId, java.lang.String system, java.lang.String username, SshPublicKey pk, java.lang.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 SshPublicKey Modifier and Type Method Description voidDialogKnownHostsKeyVerification. onHostKeyMismatch(java.lang.String host, SshPublicKey recorded, SshPublicKey actual)voidDialogKnownHostsKeyVerification. onUnknownHost(java.lang.String host, SshPublicKey key)booleanAbstractHostKeyVerification. verifyHost(java.lang.String host, SshPublicKey pk) -
Uses of SshPublicKey in com.sshtools.j2ssh
Methods in com.sshtools.j2ssh that return SshPublicKey Modifier and Type Method Description SshPublicKeySshClient. getServerHostKey()Returns the server's public key supplied during key exchange.Methods in com.sshtools.j2ssh with parameters of type SshPublicKey Modifier and Type Method Description booleanSshClient. acceptsKey(java.lang.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 SshPublicKey Modifier and Type Method Description SshPublicKeyKeyStore. elementAt(int i)Methods in com.sshtools.j2ssh.agent with parameters of type SshPublicKey Modifier and Type Method Description booleanAgentAuthenticationClient. acceptsKey(AuthenticationProtocolClient authentication, java.lang.String username, java.lang.String serviceToStart, SshPublicKey key)booleanKeyStore. addKey(SshPrivateKey prvkey, SshPublicKey pubkey, java.lang.String description, KeyConstraints cs)voidSshAgentClient. addKey(SshPrivateKey prvkey, SshPublicKey pubkey, java.lang.String description, KeyConstraints constraints)Add a key to the agentbooleanKeyStore. deleteKey(SshPublicKey pubkey, java.lang.String description)voidSshAgentClient. deleteKey(SshPublicKey key, java.lang.String description)Delete a key held by the agentjava.lang.StringKeyStore. getDescription(SshPublicKey key)KeyConstraintsKeyStore. 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, java.util.List forwardingNodes, byte[] data) -
Uses of SshPublicKey in com.sshtools.j2ssh.authentication
Methods in com.sshtools.j2ssh.authentication with parameters of type SshPublicKey Modifier and Type Method Description booleanPublicKeyAuthenticationClient. acceptsKey(AuthenticationProtocolClient authentication, java.lang.String username, java.lang.String serviceToStart, SshPublicKey key) -
Uses of SshPublicKey in com.sshtools.j2ssh.transport
Fields in com.sshtools.j2ssh.transport declared as SshPublicKey Modifier and Type Field Description protected SshPublicKeyTransportProtocolClient. pkMethods in com.sshtools.j2ssh.transport that return SshPublicKey Modifier and Type Method Description SshPublicKeyTransportProtocolClient. getServerHostKey()Methods in com.sshtools.j2ssh.transport with parameters of type SshPublicKey Modifier and Type Method Description voidAbstractKnownHostsKeyVerification. allowHost(java.lang.String host, SshPublicKey pk, boolean always)Allows a host key, optionally recording the key to the known_hosts file.abstract voidAbstractKnownHostsKeyVerification. onHostKeyMismatch(java.lang.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(java.lang.String host, SshPublicKey pk, SshPublicKey actual)Prompts the user through the console to verify the host key.abstract voidAbstractKnownHostsKeyVerification. onUnknownHost(java.lang.String host, SshPublicKey key)Called by theverifyHostmethod when the host key supplied is not recorded in the known_hosts file.voidConsoleKnownHostsKeyVerification. onUnknownHost(java.lang.String host, SshPublicKey pk)Prompts the user through the console to verify the host key.booleanAbstractKnownHostsKeyVerification. verifyHost(java.lang.String host, SshPublicKey pk)Verifies a host key against the list of known_hosts.booleanHostKeyVerification. verifyHost(java.lang.String host, SshPublicKey pk)Called by the transport protocol to verify the identity of the server through the supplied public key.booleanIgnoreHostKeyVerification. verifyHost(java.lang.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 SshPublicKey Modifier and Type Method Description abstract SshPublicKeySshKeyPair. decodePublicKey(byte[] encoded)static SshPublicKeySshKeyPairFactory. decodePublicKey(byte[] encoded)SshPublicKeySshKeyPair. getPublicKey()abstract SshPublicKeySshPrivateKey. getPublicKey()SshPublicKeySshKeyPair. setPublicKey(byte[] encoded)SshPublicKeySshPublicKeyFile. toPublicKey()Methods in com.sshtools.j2ssh.transport.publickey with parameters of type SshPublicKey Modifier and Type Method Description static 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.dsa Modifier and Type Class Description classSshDssPublicKeyMethods in com.sshtools.j2ssh.transport.publickey.dsa that return SshPublicKey Modifier and Type Method Description SshPublicKeySshDssKeyPair. decodePublicKey(byte[] encoded) -
Uses of SshPublicKey in com.sshtools.j2ssh.transport.publickey.rsa
Subclasses of SshPublicKey in com.sshtools.j2ssh.transport.publickey.rsa Modifier and Type Class Description classSshRsaPublicKeyMethods in com.sshtools.j2ssh.transport.publickey.rsa that return SshPublicKey Modifier and Type Method Description SshPublicKeySshRsaKeyPair. decodePublicKey(byte[] encoded)SshPublicKeySshRsaPrivateKey. getPublicKey()
-