Package com.hierynomus.sshj.signature
Class SignatureEdDSA
- java.lang.Object
-
- net.schmizz.sshj.signature.AbstractSignature
-
- com.hierynomus.sshj.signature.SignatureEdDSA
-
- All Implemented Interfaces:
Signature
public class SignatureEdDSA extends AbstractSignature
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
SignatureEdDSA.Factory
-
Field Summary
-
Fields inherited from class net.schmizz.sshj.signature.AbstractSignature
signature
-
-
Method Summary
-
Methods inherited from class net.schmizz.sshj.signature.AbstractSignature
extractSig, getSignatureName, initSign, initVerify, sign, update, update
-
-
-
-
Method Detail
-
encode
public byte[] encode(byte[] signature)
Description copied from interface:Signature
Encode the signature as blog- Parameters:
signature
- the signature to encode- Returns:
- Encoded signature
-
verify
public boolean verify(byte[] sig)
Description copied from interface:Signature
Verify against the given signature.- Parameters:
sig
- the signature to verify against- Returns:
true
on successful verification,false
on failure
-
-