github.com/turingchain2020/turingchain@v1.1.21/system/crypto/common/cert.pb.go (about) 1 // Code generated by protoc-gen-go. DO NOT EDIT. 2 // source: cert.proto 3 4 package cert 5 6 import ( 7 fmt "fmt" 8 math "math" 9 10 proto "github.com/golang/protobuf/proto" 11 ) 12 13 // Reference imports to suppress errors if they are not otherwise used. 14 var _ = proto.Marshal 15 var _ = fmt.Errorf 16 var _ = math.Inf 17 18 // This is a compile-time assertion to ensure that this generated file 19 // is compatible with the proto package it is being compiled against. 20 // A compilation error at this line likely means your copy of the 21 // proto package needs to be updated. 22 const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package 23 24 type CertSignature struct { 25 Signature []byte `protobuf:"bytes,1,opt,name=signature,proto3" json:"signature,omitempty"` 26 Cert []byte `protobuf:"bytes,2,opt,name=cert,proto3" json:"cert,omitempty"` 27 Uid []byte `protobuf:"bytes,3,opt,name=uid,proto3" json:"uid,omitempty"` 28 XXX_NoUnkeyedLiteral struct{} `json:"-"` 29 XXX_unrecognized []byte `json:"-"` 30 XXX_sizecache int32 `json:"-"` 31 } 32 33 func (m *CertSignature) Reset() { *m = CertSignature{} } 34 func (m *CertSignature) String() string { return proto.CompactTextString(m) } 35 func (*CertSignature) ProtoMessage() {} 36 func (*CertSignature) Descriptor() ([]byte, []int) { 37 return fileDescriptor_a142e29cbef9b1cf, []int{0} 38 } 39 40 func (m *CertSignature) XXX_Unmarshal(b []byte) error { 41 return xxx_messageInfo_CertSignature.Unmarshal(m, b) 42 } 43 func (m *CertSignature) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 44 return xxx_messageInfo_CertSignature.Marshal(b, m, deterministic) 45 } 46 func (m *CertSignature) XXX_Merge(src proto.Message) { 47 xxx_messageInfo_CertSignature.Merge(m, src) 48 } 49 func (m *CertSignature) XXX_Size() int { 50 return xxx_messageInfo_CertSignature.Size(m) 51 } 52 func (m *CertSignature) XXX_DiscardUnknown() { 53 xxx_messageInfo_CertSignature.DiscardUnknown(m) 54 } 55 56 var xxx_messageInfo_CertSignature proto.InternalMessageInfo 57 58 func (m *CertSignature) GetSignature() []byte { 59 if m != nil { 60 return m.Signature 61 } 62 return nil 63 } 64 65 func (m *CertSignature) GetCert() []byte { 66 if m != nil { 67 return m.Cert 68 } 69 return nil 70 } 71 72 func (m *CertSignature) GetUid() []byte { 73 if m != nil { 74 return m.Uid 75 } 76 return nil 77 } 78 79 func init() { 80 proto.RegisterType((*CertSignature)(nil), "CertSignature") 81 } 82 83 func init() { proto.RegisterFile("cert.proto", fileDescriptor_a142e29cbef9b1cf) } 84 85 var fileDescriptor_a142e29cbef9b1cf = []byte{ 86 // 98 bytes of a gzipped FileDescriptorProto 87 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0xe2, 0x4a, 0x4e, 0x2d, 0x2a, 88 0xd1, 0x2b, 0x28, 0xca, 0x2f, 0xc9, 0x57, 0x0a, 0xe6, 0xe2, 0x75, 0x4e, 0x2d, 0x2a, 0x09, 0xce, 89 0x4c, 0xcf, 0x4b, 0x2c, 0x29, 0x2d, 0x4a, 0x15, 0x92, 0xe1, 0xe2, 0x2c, 0x86, 0x71, 0x24, 0x18, 90 0x15, 0x18, 0x35, 0x78, 0x82, 0x10, 0x02, 0x42, 0x42, 0x5c, 0x2c, 0x20, 0xcd, 0x12, 0x4c, 0x60, 91 0x09, 0x30, 0x5b, 0x48, 0x80, 0x8b, 0xb9, 0x34, 0x33, 0x45, 0x82, 0x19, 0x2c, 0x04, 0x62, 0x26, 92 0xb1, 0x81, 0xcd, 0x36, 0x06, 0x04, 0x00, 0x00, 0xff, 0xff, 0xba, 0x29, 0x1f, 0xa3, 0x69, 0x00, 93 0x00, 0x00, 94 }