Class GenericSignatureEd25519
java.lang.Object
org.apache.sshd.common.signature.AbstractSignature
org.apache.sshd.common.util.security.eddsa.generic.GenericSignatureEd25519
- All Implemented Interfaces:
AlgorithmNameProvider,Signature
- Direct Known Subclasses:
SignatureEd25519
- Author:
- Apache MINA SSHD Project
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanverify(SessionContext session, byte[] sig) Verify against the given signatureMethods inherited from class org.apache.sshd.common.signature.AbstractSignature
doInitSignature, doVerify, extractEncodedSignature, extractEncodedSignature, getAlgorithm, getSignature, getSshAlgorithmName, initSigner, initVerifier, sign, toString, update
-
Constructor Details
-
GenericSignatureEd25519
-
-
Method Details
-
verify
Description copied from interface:SignatureVerify against the given signature- Parameters:
session- TheSessionContextfor calling this method - may benullif not called within a session contextsig- The signed data- Returns:
trueif signature is valid- Throws:
Exception- If failed to extract signed data for validation
-