public class SignatureEd25519 extends AbstractSignature
Constructor and Description |
---|
SignatureEd25519() |
Modifier and Type | Method and Description |
---|---|
boolean |
verify(SessionContext session,
byte[] sig)
Verify against the given signature
|
doInitSignature, doVerify, extractEncodedSignature, extractEncodedSignature, getAlgorithm, getSignature, initSigner, initVerifier, sign, toString, update
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getSshAlgorithmName, update
public boolean verify(SessionContext session, byte[] sig) throws Exception
Signature
session
- The SessionContext
for calling this method - may be null
if not called within a
session contextsig
- The signed datatrue
if signature is validException
- If failed to extract signed data for validationCopyright © 2008–2024 The Apache Software Foundation. All rights reserved.