public class Sm2AlgorithmHandler extends AlgorithmHandlerAdapter
| 构造器和说明 |
|---|
Sm2AlgorithmHandler() |
| 限定符和类型 | 方法和说明 |
|---|---|
String |
decrypt()
解密
|
String |
encrypt()
加密
|
String |
sign()
生成签名
|
boolean |
verify(String sign)
验证签名与内容
|
load, prepareclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitfetchSwitch, loadKeyChainpublic String decrypt() throws Exception
AlgorithmHandlerExceptionpublic String encrypt() throws Exception
AlgorithmHandlerExceptionpublic boolean verify(String sign) throws GeneralSecurityException
AlgorithmHandlerverify 在接口中 AlgorithmHandlerverify 在类中 AlgorithmHandlerAdapterGeneralSecurityExceptionpublic String sign() throws GeneralSecurityException
AlgorithmHandlersign 在接口中 AlgorithmHandlersign 在类中 AlgorithmHandlerAdapterGeneralSecurityExceptionCopyright © 2022. All rights reserved.