com.maverick.ssh.components
Interface SshPrivateKey

All Known Subinterfaces:
SshDsaPrivateKey, SshRsaPrivateCrtKey, SshRsaPrivateKey
All Known Implementing Classes:
Ssh2DsaPrivateKey, Ssh2EcdsaSha2NistPrivateKey, Ssh2RsaPrivateCrtKey, Ssh2RsaPrivateKey

public interface SshPrivateKey

Interface for SSH supported private keys.

Author:
Lee David Painter

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

Method Detail

sign

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

Parameters:
data -
Returns:
byte[]
Throws:
SshException
IOException

getAlgorithm

String getAlgorithm()


Copyright © 2013. All Rights Reserved.