com.maverick.ssh
Interface SshPrivateKey

All Known Implementing Classes:
SshDsaPrivateKey, SshDsaPrivateKey, SshRsaPrivateCrtKey, SshRsaPrivateKey, SshRsaPrivateKey

public interface SshPrivateKey

Interface for SSH supported private keys.

Author:
Lee David Painter

Method Summary
 java.lang.String getAlgorithm()
           
 byte[] sign(byte[] data)
          Create a signature from the data.
 

Method Detail

sign

public byte[] sign(byte[] data)
            throws java.io.IOException
Create a signature from the data.

Parameters:
data -
Returns:
Throws:
SshException
java.io.IOException

getAlgorithm

public java.lang.String getAlgorithm()


Copyright © 2003 3SP LTD. All Rights Reserved.