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, getJCESignatureclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitgetJCEPrivateKeypublic Ssh2BaseDsaPrivateKey(PrivateKey prv)
public Ssh2BaseDsaPrivateKey(PrivateKey prv, Provider customProvider)
public String getAlgorithm()
getAlgorithm in interface SshPrivateKeypublic byte[] sign(byte[] data)
throws IOException
SshPrivateKeysign in interface SshPrivateKeyIOExceptionpublic byte[] sign(byte[] data,
String signingAlgorithm)
throws IOException
sign in interface SshPrivateKeyIOExceptionpublic abstract SshDsaPublicKey getPublicKey()
Copyright © 2025. All rights reserved.