public abstract class Ssh2BaseDsaPrivateKey extends Ssh2BaseJCEPrivateKey implements SshPrivateKey
customProvider, prv
Constructor and Description |
---|
Ssh2BaseDsaPrivateKey(PrivateKey prv) |
Ssh2BaseDsaPrivateKey(PrivateKey prv,
Provider customProvider) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
String |
getAlgorithm() |
abstract SshDsaPublicKey |
getPublicKey() |
int |
hashCode() |
byte[] |
sign(byte[] data)
Create a signature from the data.
|
byte[] |
sign(byte[] data,
String signingAlgorithm) |
getJCEPrivateKey, getJCESignature
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
getJCEPrivateKey
public Ssh2BaseDsaPrivateKey(PrivateKey prv)
public Ssh2BaseDsaPrivateKey(PrivateKey prv, Provider customProvider)
public String getAlgorithm()
getAlgorithm
in interface SshPrivateKey
public byte[] sign(byte[] data) throws IOException
SshPrivateKey
sign
in interface SshPrivateKey
IOException
public byte[] sign(byte[] data, String signingAlgorithm) throws IOException
sign
in interface SshPrivateKey
IOException
public abstract SshDsaPublicKey getPublicKey()
Copyright © 2024. All rights reserved.