Class Ssh2BaseDsaPrivateKey
java.lang.Object
com.sshtools.common.ssh.components.jce.Ssh2BaseJCEPrivateKey
com.sshtools.common.ssh.components.jce.Ssh2BaseDsaPrivateKey
- All Implemented Interfaces:
SshPrivateKey
- Direct Known Subclasses:
Ssh2DsaPrivateKey
-
Field Summary
Fields inherited from class com.sshtools.common.ssh.components.jce.Ssh2BaseJCEPrivateKey
customProvider, prv -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanabstract SshDsaPublicKeyinthashCode()byte[]sign(byte[] data) Create a signature from the data.byte[]Methods inherited from class com.sshtools.common.ssh.components.jce.Ssh2BaseJCEPrivateKey
getJCEPrivateKey, getJCESignatureMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.sshtools.common.ssh.components.SshPrivateKey
getJCEPrivateKey
-
Constructor Details
-
Ssh2BaseDsaPrivateKey
-
Ssh2BaseDsaPrivateKey
-
-
Method Details
-
getAlgorithm
- Specified by:
getAlgorithmin interfaceSshPrivateKey
-
sign
Description copied from interface:SshPrivateKeyCreate a signature from the data.- Specified by:
signin interfaceSshPrivateKey- Returns:
- byte[]
- Throws:
IOException
-
sign
- Specified by:
signin interfaceSshPrivateKey- Throws:
IOException
-
getPublicKey
-
hashCode
public int hashCode() -
equals
-