|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sshtools.j2ssh.transport.publickey.SshPublicKey
com.sshtools.j2ssh.transport.publickey.dsa.SshDssPublicKey
DOCUMENT ME!
Constructor Summary | |
SshDssPublicKey(byte[] key)
Creates a new SshDssPublicKey object. |
|
SshDssPublicKey(java.security.interfaces.DSAPublicKey key)
Creates a new SshDssPublicKey object. |
Method Summary | |
java.lang.String |
getAlgorithmName()
DOCUMENT ME! |
int |
getBitLength()
DOCUMENT ME! |
byte[] |
getEncoded()
DOCUMENT ME! |
boolean |
verifySignature(byte[] signature,
byte[] data)
DOCUMENT ME! |
Methods inherited from class com.sshtools.j2ssh.transport.publickey.SshPublicKey |
equals, getFingerprint, hashCode |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public SshDssPublicKey(java.security.interfaces.DSAPublicKey key)
key
- DOCUMENT ME!public SshDssPublicKey(byte[] key) throws InvalidSshKeyException
key
- DOCUMENT ME!
InvalidSshKeyException
- DOCUMENT ME!Method Detail |
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
- DOCUMENT ME!data
- DOCUMENT ME!
InvalidSshKeySignatureException
- DOCUMENT ME!
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |