1 Star 0 Fork 0

Hyperledger Fabric 国密/fabric-sdk-go

Create your Gitee Account
Explore and code with more than 12 million developers,Free private repositories !:)
Sign up
Clone or Download
sdkpatch_serverstruct.go 841 Bytes
Copy Edit Raw Blame History
Jtyoui authored 2021-07-22 20:40 . 改造国密sdk
/*
Copyright SecureKey Technologies Inc. All Rights Reserved.
SPDX-License-Identifier: Apache-2.0
*/
/*
Notice: This file has been modified for Hyperledger Fabric SDK Go usage.
Please review third_party pinning scripts and patches for more details.
*/
package lib
// CAConfig ...
type CAConfig struct {
}
// ServerConfig ...
type ServerConfig struct {
CAcfg CAConfig `skip:"true"`
}
type serverInfoResponseNet struct {
// CAName is a unique name associated with fabric-ca-server's CA
CAName string
// Base64 encoding of PEM-encoded certificate chain
CAChain string
// Base64 encoding of idemix issuer public key
IssuerPublicKey string
// Version of the server
Version string
}
type enrollmentResponseNet struct {
// Base64 encoded PEM-encoded ECert
Cert string
// The server information
ServerInfo serverInfoResponseNet
}
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/hyperledger-fabric-gm/fabric-sdk-go.git
git@gitee.com:hyperledger-fabric-gm/fabric-sdk-go.git
hyperledger-fabric-gm
fabric-sdk-go
fabric-sdk-go
3287af796e9e

Search