|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.sshd.common.signature.AbstractSignature
org.apache.sshd.common.signature.SignatureDSA
public class SignatureDSA
DSA Signature
| Nested Class Summary | |
|---|---|
static class |
SignatureDSA.Factory
A named factory for DSA signature |
| Field Summary |
|---|
| Fields inherited from class org.apache.sshd.common.signature.AbstractSignature |
|---|
algorithm, signature |
| Constructor Summary | |
|---|---|
SignatureDSA()
|
|
| Method Summary | |
|---|---|
byte[] |
sign()
Compute the signature |
boolean |
verify(byte[] sig)
Verify against the given signature |
| Methods inherited from class org.apache.sshd.common.signature.AbstractSignature |
|---|
extractSig, init, update |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SignatureDSA()
| Method Detail |
|---|
public byte[] sign()
throws java.lang.Exception
Signature
java.lang.Exception
public boolean verify(byte[] sig)
throws java.lang.Exception
Signature
java.lang.Exception
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||