org.apache.sshd.common.signature
Class SignatureDSA
java.lang.Object
org.apache.sshd.common.signature.AbstractSignature
org.apache.sshd.common.signature.SignatureDSA
- All Implemented Interfaces:
- Signature
public class SignatureDSA
- extends AbstractSignature
DSA Signature
- Author:
- Apache MINA SSHD Project
Method Summary |
byte[] |
sign()
Compute the signature |
boolean |
verify(byte[] sig)
Verify against the given signature |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SignatureDSA
public SignatureDSA()
sign
public byte[] sign()
throws Exception
- Description copied from interface:
Signature
- Compute the signature
- Returns:
-
- Throws:
Exception
verify
public boolean verify(byte[] sig)
throws Exception
- Description copied from interface:
Signature
- Verify against the given signature
- Returns:
-
- Throws:
Exception
Copyright © 2008-2012 Apache Software Foundation. All Rights Reserved.