public class SshDssPublicKey extends SshPublicKey
| Constructor and Description |
|---|
SshDssPublicKey(byte[] key)
Creates a new SshDssPublicKey object.
|
SshDssPublicKey(java.security.interfaces.DSAPublicKey key)
Creates a new SshDssPublicKey object.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getAlgorithmName() |
int |
getBitLength() |
byte[] |
getEncoded() |
boolean |
verifySignature(byte[] signature,
byte[] data) |
equals, getFingerprint, hashCodepublic SshDssPublicKey(java.security.interfaces.DSAPublicKey key)
key - public SshDssPublicKey(byte[] key)
throws InvalidSshKeyException
key - InvalidSshKeyExceptionpublic java.lang.String getAlgorithmName()
getAlgorithmName in class SshPublicKeypublic int getBitLength()
getBitLength in class SshPublicKeypublic byte[] getEncoded()
getEncoded in class SshPublicKeypublic boolean verifySignature(byte[] signature,
byte[] data)
throws InvalidSshKeySignatureException
verifySignature in class SshPublicKeysignature - data - InvalidSshKeySignatureExceptionCopyright © 2002-2003 Lee David Painter & Contributors. All Rights Reserved.