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, hashCode
public SshDssPublicKey(java.security.interfaces.DSAPublicKey key)
key
- public SshDssPublicKey(byte[] key) throws InvalidSshKeyException
key
- InvalidSshKeyException
public java.lang.String getAlgorithmName()
getAlgorithmName
in class SshPublicKey
public int getBitLength()
getBitLength
in class SshPublicKey
public byte[] getEncoded()
getEncoded
in class SshPublicKey
public boolean verifySignature(byte[] signature, byte[] data) throws InvalidSshKeySignatureException
verifySignature
in class SshPublicKey
signature
- data
- InvalidSshKeySignatureException
Copyright © 2002-2003 Lee David Painter & Contributors. All Rights Reserved.