github.com/darrenli6/fabric-sdk-example@v0.0.0-20220109053535-94b13b56df8c/protos/msp/identities.pb.go (about) 1 // Code generated by protoc-gen-go. DO NOT EDIT. 2 // source: msp/identities.proto 3 4 /* 5 Package msp is a generated protocol buffer package. 6 7 It is generated from these files: 8 msp/identities.proto 9 msp/msp_config.proto 10 msp/msp_principal.proto 11 12 It has these top-level messages: 13 SerializedIdentity 14 MSPConfig 15 FabricMSPConfig 16 FabricCryptoConfig 17 SigningIdentityInfo 18 KeyInfo 19 FabricOUIdentifier 20 MSPPrincipal 21 OrganizationUnit 22 MSPRole 23 */ 24 package msp 25 26 import proto "github.com/golang/protobuf/proto" 27 import fmt "fmt" 28 import math "math" 29 30 // Reference imports to suppress errors if they are not otherwise used. 31 var _ = proto.Marshal 32 var _ = fmt.Errorf 33 var _ = math.Inf 34 35 // This is a compile-time assertion to ensure that this generated file 36 // is compatible with the proto package it is being compiled against. 37 // A compilation error at this line likely means your copy of the 38 // proto package needs to be updated. 39 const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package 40 41 // This struct represents an Identity 42 // (with its MSP identifier) to be used 43 // to serialize it and deserialize it 44 type SerializedIdentity struct { 45 // The identifier of the associated membership service provider 46 Mspid string `protobuf:"bytes,1,opt,name=mspid" json:"mspid,omitempty"` 47 // the Identity, serialized according to the rules of its MPS 48 IdBytes []byte `protobuf:"bytes,2,opt,name=id_bytes,json=idBytes,proto3" json:"id_bytes,omitempty"` 49 } 50 51 func (m *SerializedIdentity) Reset() { *m = SerializedIdentity{} } 52 func (m *SerializedIdentity) String() string { return proto.CompactTextString(m) } 53 func (*SerializedIdentity) ProtoMessage() {} 54 func (*SerializedIdentity) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{0} } 55 56 func (m *SerializedIdentity) GetMspid() string { 57 if m != nil { 58 return m.Mspid 59 } 60 return "" 61 } 62 63 func (m *SerializedIdentity) GetIdBytes() []byte { 64 if m != nil { 65 return m.IdBytes 66 } 67 return nil 68 } 69 70 func init() { 71 proto.RegisterType((*SerializedIdentity)(nil), "msp.SerializedIdentity") 72 } 73 74 func init() { proto.RegisterFile("msp/identities.proto", fileDescriptor0) } 75 76 var fileDescriptor0 = []byte{ 77 // 171 bytes of a gzipped FileDescriptorProto 78 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x09, 0x6e, 0x88, 0x02, 0xff, 0x4c, 0xcd, 0x3d, 0x0b, 0xc2, 0x30, 79 0x10, 0xc6, 0x71, 0xaa, 0xf8, 0x16, 0x9c, 0x42, 0x87, 0xba, 0x55, 0xa7, 0x4e, 0xc9, 0xe0, 0x37, 80 0x28, 0x38, 0x38, 0xb8, 0xd4, 0xcd, 0x45, 0x9a, 0xe6, 0x6c, 0x0f, 0x1a, 0x73, 0xe4, 0xe2, 0x50, 81 0x3f, 0xbd, 0x68, 0x16, 0xb7, 0xe7, 0x0f, 0x3f, 0x78, 0x44, 0xee, 0x98, 0x34, 0x5a, 0x78, 0x46, 82 0x8c, 0x08, 0xac, 0x28, 0xf8, 0xe8, 0xe5, 0xdc, 0x31, 0x1d, 0x4e, 0x42, 0x5e, 0x21, 0x60, 0x3b, 83 0xe2, 0x1b, 0xec, 0x39, 0x91, 0x49, 0xe6, 0x62, 0xe1, 0x98, 0xd0, 0x16, 0x59, 0x99, 0x55, 0x9b, 84 0x26, 0x85, 0xdc, 0x89, 0x35, 0xda, 0xbb, 0x99, 0x22, 0x70, 0x31, 0x2b, 0xb3, 0x6a, 0xdb, 0xac, 85 0xd0, 0xd6, 0xdf, 0xac, 0x2f, 0x62, 0xef, 0x43, 0xaf, 0x86, 0x89, 0x20, 0x8c, 0x60, 0x7b, 0x08, 86 0xea, 0xd1, 0x9a, 0x80, 0x5d, 0xfa, 0x62, 0xe5, 0x98, 0x6e, 0x55, 0x8f, 0x71, 0x78, 0x19, 0xd5, 87 0x79, 0xa7, 0xff, 0xa4, 0x4e, 0x52, 0x27, 0xa9, 0x1d, 0x93, 0x59, 0xfe, 0xf6, 0xf1, 0x13, 0x00, 88 0x00, 0xff, 0xff, 0xaf, 0xfd, 0x80, 0x9c, 0xb9, 0x00, 0x00, 0x00, 89 }