public class Ssh2EcdsaSha2NistPrivateKey extends Object implements SshPrivateKey
| Constructor and Description |
|---|
Ssh2EcdsaSha2NistPrivateKey(ECPrivateKey prv) |
| Modifier and Type | Method and Description |
|---|---|
String |
getAlgorithm() |
PrivateKey |
getJCEPrivateKey() |
byte[] |
sign(byte[] data)
Create a signature from the data.
|
public Ssh2EcdsaSha2NistPrivateKey(ECPrivateKey prv) throws IOException
IOExceptionpublic byte[] sign(byte[] data)
throws IOException
SshPrivateKeysign in interface SshPrivateKeyIOExceptionpublic String getAlgorithm()
getAlgorithm in interface SshPrivateKeypublic PrivateKey getJCEPrivateKey()
Copyright © 2016. All rights reserved.