public class SignatureEdDSA extends AbstractSignature
| Modifier and Type | Class and Description |
|---|---|
static class |
SignatureEdDSA.Factory |
signature| Modifier and Type | Method and Description |
|---|---|
byte[] |
encode(byte[] signature)
Encode the signature as blog
|
boolean |
verify(byte[] sig)
Verify against the given signature.
|
extractSig, initSign, initVerify, sign, update, updatepublic byte[] encode(byte[] signature)
Signaturesignature - the signature to encodepublic boolean verify(byte[] sig)
Signaturesig - the signature to verify againsttrue on successful verification, false on failure