public class SignatureSM2 extends AbstractSignature
| Modifier | Constructor and Description |
|---|---|
|
SignatureSM2() |
protected |
SignatureSM2(String algorithm) |
| 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, updateclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetSshAlgorithmName, updatepublic SignatureSM2()
protected SignatureSM2(String algorithm)
public boolean verify(SessionContext session, byte[] sig) throws Exception
Signaturesession - 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–2025 The Apache Software Foundation. All rights reserved.