com.maverick.ssh.components
Interface SshDsaPrivateKey
- All Superinterfaces:
- SshPrivateKey
- All Known Implementing Classes:
- Ssh2DsaPrivateKey, Ssh2DsaPrivateKey
public interface SshDsaPrivateKey
- extends SshPrivateKey
This interface should be implemented by all DSA private key
implementations.
- Author:
- Lee David Painter
getX
java.math.BigInteger getX()
sign
byte[] sign(byte[] msg)
throws java.io.IOException
- Description copied from interface:
SshPrivateKey
- Create a signature from the data.
- Specified by:
sign in interface SshPrivateKey
- Returns:
- byte[]
- Throws:
java.io.IOException
getPublicKey
SshDsaPublicKey getPublicKey()
Copyright © 2003-2004 3SP LTD. All Rights Reserved.