| Prev Class | Next Class | Frames | No Frames |
| Summary: Nested | Field | Method | Constr | Detail: Nested | Field | Method | Constr |
java.lang.Objectcom.sshtools.j2ssh.transport.publickey.SshPublicKeycom.sshtools.j2ssh.transport.publickey.dsa.SshDssPublicKeypublic class SshDssPublicKeyextends SshPublicKeyConstructor Summary | |
| |
| |
Method Summary | |
String | |
int | |
byte[] | |
boolean |
|
Methods inherited from class com.sshtools.j2ssh.transport.publickey.SshPublicKey | |
equals, getAlgorithmName, getBitLength, getEncoded, getFingerprint, hashCode, verifySignature | |
public SshDssPublicKey(DSAPublicKey key)
Creates a new SshDssPublicKey object.
- Parameters:
key-
public SshDssPublicKey(byte[] key)
throws InvalidSshKeyExceptionCreates a new SshDssPublicKey object.
- Parameters:
key-
- Throws:
InvalidSshKeyException-
public String getAlgorithmName()
- Overrides:
- getAlgorithmName in interface SshPublicKey
- Returns:
public boolean verifySignature(byte[] signature,
byte[] data)
throws InvalidSshKeySignatureException
- Overrides:
- verifySignature in interface SshPublicKey
- Parameters:
signature-data-
- Returns:
- Throws:
InvalidSshKeySignatureException-