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
IOException
public byte[] sign(byte[] data) throws IOException
SshPrivateKey
sign
in interface SshPrivateKey
IOException
public String getAlgorithm()
getAlgorithm
in interface SshPrivateKey
public PrivateKey getJCEPrivateKey()
Copyright © 2016. All rights reserved.