com.maverick.ssh.components.jce
Class Ssh2EcdsaSha2NistPrivateKey
java.lang.Object
com.maverick.ssh.components.jce.Ssh2EcdsaSha2NistPrivateKey
- All Implemented Interfaces:
- SshPrivateKey
public class Ssh2EcdsaSha2NistPrivateKey
- extends Object
- implements SshPrivateKey
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Ssh2EcdsaSha2NistPrivateKey
public Ssh2EcdsaSha2NistPrivateKey(ECPrivateKey prv)
throws IOException
- Throws:
IOException
sign
public byte[] sign(byte[] data)
throws IOException
- Description copied from interface:
SshPrivateKey
- Create a signature from the data.
- Specified by:
sign in interface SshPrivateKey
- Returns:
- byte[]
- Throws:
IOException
getAlgorithm
public String getAlgorithm()
- Specified by:
getAlgorithm in interface SshPrivateKey
getJCEPrivateKey
public PrivateKey getJCEPrivateKey()
Copyright © 2013. All Rights Reserved.