1 Star 0 Fork 0

陈文甲 / fabric

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
idemixerrs.go 773 Bytes
一键复制 编辑 原始数据 按行查看 历史
Angelo De Caro 提交于 2018-11-05 13:45 . [FAB-9527] Use Idemix-Based BCCSP
/*
Copyright IBM Corp. All Rights Reserved.
SPDX-License-Identifier: Apache-2.0
*/
package bccsp
import (
"fmt"
)
type IdemixIIssuerPublicKeyImporterErrorType int
const (
IdemixIssuerPublicKeyImporterUnmarshallingError IdemixIIssuerPublicKeyImporterErrorType = iota
IdemixIssuerPublicKeyImporterHashError
IdemixIssuerPublicKeyImporterValidationError
IdemixIssuerPublicKeyImporterNumAttributesError
IdemixIssuerPublicKeyImporterAttributeNameError
)
type IdemixIssuerPublicKeyImporterError struct {
Type IdemixIIssuerPublicKeyImporterErrorType
ErrorMsg string
Cause error
}
func (r *IdemixIssuerPublicKeyImporterError) Error() string {
if r.Cause != nil {
return fmt.Sprintf("%s: %s", r.ErrorMsg, r.Cause)
}
return fmt.Sprintf("%s", r.ErrorMsg)
}
1
https://gitee.com/venjia/fabric.git
git@gitee.com:venjia/fabric.git
venjia
fabric
fabric
v1.4.12

搜索帮助