SM2_DecString方法
方法原型: SM2_DecString(InString As String,Pin As
String,InPath As String)
As String
功能:使用锁中的SM2密钥对输入的字符串进行解密
参数1--InString(string);要解密的字符串。
参数2――pin(string);Pin码,只有Pin码正确才能进行解密
参数3――InPath (string);加密锁所在的设备路径
返回结果--若LastError属性为0,则表示函数执行成功,函数返回解密后的字符串;若LastError属性不为0, 则表示函数失败,错误原因可以参见错误代码含义。