Uses of Interface
com.maverick.ssh.SshPublicKey

Packages that use SshPublicKey
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.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.sshtools.jce This package contains a set of algoritm implementations that enable the Maverick API to use a Java Cryptography Extension provider. 
com.sshtools.publickey This package contains utility classes for loading/storing public/private keys and is based on the SSHTools key format architecture. 
 

Uses of SshPublicKey in com.maverick.ssh
 

Methods in com.maverick.ssh that return SshPublicKey
 SshPublicKey PublicKeyAuthentication.getPublicKey()
          Get the public key for this authentication.
 

Methods in com.maverick.ssh with parameters of type SshPublicKey
 void PublicKeyAuthentication.setPublicKey(SshPublicKey publickey)
          Set the public key for this authentication.
 boolean HostKeyVerification.verifyHost(java.lang.String host, SshPublicKey pk)
          Verify that the public key is acceptable for the host.
 

Uses of SshPublicKey in com.maverick.ssh1
 

Classes in com.maverick.ssh1 that implement SshPublicKey
 class Ssh1RsaPublicKey
          This class represents an SSH1 RSA public key.
 

Methods in com.maverick.ssh1 that return SshPublicKey
 SshPublicKey Ssh1RhostsRsaAuthentication.getPublicKey()
          Set the public key used for this authentication
 

Methods in com.maverick.ssh1 with parameters of type SshPublicKey
 void Ssh1RhostsRsaAuthentication.setPublicKey(SshPublicKey pub)
          Set the public key for the authentication attempt
 

Uses of SshPublicKey in com.maverick.ssh2
 

Classes in com.maverick.ssh2 that implement SshPublicKey
 class Ssh2DsaPublicKey
          Represents an SSH2 DSA public key.
 class Ssh2RsaPublicKey
          Represents an SSH2 RSA Public key.
 

Methods in com.maverick.ssh2 that return SshPublicKey
 SshPublicKey Ssh2HostbasedAuthentication.getPublicKey()
          Set the public key used for this authentication
 

Methods in com.maverick.ssh2 with parameters of type SshPublicKey
 byte[] SignatureGenerator.sign(SshPublicKey key, byte[] data)
          Sign the data using the private key of the public key provided.
 void Ssh2HostbasedAuthentication.setPublicKey(SshPublicKey pub)
          Set the public key for the authentication attempt
 

Uses of SshPublicKey in com.sshtools.jce
 

Classes in com.sshtools.jce that implement SshPublicKey
 class SshX509DsaPublicKey
          Basic implementation of X509 certificate support.
 class SshX509RsaPublicKey
          Basic implementation of X509 certificate support.
 

Uses of SshPublicKey in com.sshtools.publickey
 

Methods in com.sshtools.publickey that return SshPublicKey
 SshPublicKey SshKeyPair.getPublicKey()
          Get the public key.
 SshPublicKey SshPublicKeyFile.toPublicKey()
          Convert the key file into a usable SshPublicKey.
static SshPublicKey SshPublicKeyFileFactory.decodeSSH2PublicKey(byte[] encoded)
          Decode an SSH2 encoded public key as specified in the SSH2 transport protocol.
 SshPublicKey[] PublicKeySubsystem.list()
          List all of the users acceptable keys.
 

Methods in com.sshtools.publickey with parameters of type SshPublicKey
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
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.
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 AbstractKnownHostsKeyVerification.allowHost(java.lang.String host, SshPublicKey pk, boolean always)
           Allows a host key, optionally recording the key to the known_hosts file.
 boolean AbstractKnownHostsKeyVerification.verifyHost(java.lang.String host, SshPublicKey pk)
           Verifies a host key against the list of known_hosts.
 void ConsoleKnownHostsKeyVerification.onHostKeyMismatch(java.lang.String host, SshPublicKey pk, SshPublicKey actual)
           Prompts the user through the console to verify the host key.
 void ConsoleKnownHostsKeyVerification.onUnknownHost(java.lang.String host, SshPublicKey pk)
           Prompts the user through the console to verify the host key.
static SshPublicKeyFile SshPublicKeyFileFactory.create(SshPublicKey key, java.lang.String comment, int format)
          Create a file representation from an existing public key.
 void PublicKeySubsystem.add(SshPublicKey key, java.lang.String comment)
          Add a public key to the users list of acceptable keys.
 void PublicKeySubsystem.remove(SshPublicKey key)
          Remove a public key from the users list of acceptable keys.
 void PublicKeySubsystem.associateCommand(SshPublicKey key, java.lang.String command)
          Associate a command with an accepted public key.
 



Copyright © 2003 3SP LTD. All Rights Reserved.