Class Ssh2EcdsaSha2NistPrivateKey
java.lang.Object
com.sshtools.common.ssh.components.jce.Ssh2BaseJCEPrivateKey
com.sshtools.common.ssh.components.jce.Ssh2EcdsaSha2NistPrivateKey
- All Implemented Interfaces:
SshPrivateKey
-
Field Summary
Fields inherited from class com.sshtools.common.ssh.components.jce.Ssh2BaseJCEPrivateKey
customProvider, prv -
Constructor Summary
ConstructorsConstructorDescriptionSsh2EcdsaSha2NistPrivateKey(PrivateKey prv, String curve) Ssh2EcdsaSha2NistPrivateKey(PrivateKey prv, String curve, Provider customProvider) -
Method Summary
Methods inherited from class com.sshtools.common.ssh.components.jce.Ssh2BaseJCEPrivateKey
getJCESignature
-
Constructor Details
-
Ssh2EcdsaSha2NistPrivateKey
- Throws:
IOException
-
Ssh2EcdsaSha2NistPrivateKey
public Ssh2EcdsaSha2NistPrivateKey(PrivateKey prv, String curve, Provider customProvider) throws IOException - Throws:
IOException
-
-
Method Details
-
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
-
getAlgorithm
- Specified by:
getAlgorithmin interfaceSshPrivateKey
-
getJCEPrivateKey
- Specified by:
getJCEPrivateKeyin interfaceSshPrivateKey- Overrides:
getJCEPrivateKeyin classSsh2BaseJCEPrivateKey
-
hashCode
public int hashCode() -
equals
-