74b243d1ca
Change-Id: I4689318304b54121a65e28860430d39d94ac5bd6
131 lines
4.9 KiB
Go
131 lines
4.9 KiB
Go
// Code generated by protoc-gen-gogo. DO NOT EDIT.
|
|
// source: certificate.proto
|
|
|
|
package certificatepb
|
|
|
|
import (
|
|
fmt "fmt"
|
|
math "math"
|
|
|
|
proto "github.com/gogo/protobuf/proto"
|
|
)
|
|
|
|
// Reference imports to suppress errors if they are not otherwise used.
|
|
var _ = proto.Marshal
|
|
var _ = fmt.Errorf
|
|
var _ = math.Inf
|
|
|
|
// This is a compile-time assertion to ensure that this generated file
|
|
// is compatible with the proto package it is being compiled against.
|
|
// A compilation error at this line likely means your copy of the
|
|
// proto package needs to be updated.
|
|
const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package
|
|
|
|
type SigningRequest struct {
|
|
AuthToken string `protobuf:"bytes,1,opt,name=auth_token,json=authToken,proto3" json:"auth_token,omitempty"`
|
|
Timestamp int64 `protobuf:"varint,2,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *SigningRequest) Reset() { *m = SigningRequest{} }
|
|
func (m *SigningRequest) String() string { return proto.CompactTextString(m) }
|
|
func (*SigningRequest) ProtoMessage() {}
|
|
func (*SigningRequest) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_c0d34c34dd33be4b, []int{0}
|
|
}
|
|
func (m *SigningRequest) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_SigningRequest.Unmarshal(m, b)
|
|
}
|
|
func (m *SigningRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_SigningRequest.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *SigningRequest) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_SigningRequest.Merge(m, src)
|
|
}
|
|
func (m *SigningRequest) XXX_Size() int {
|
|
return xxx_messageInfo_SigningRequest.Size(m)
|
|
}
|
|
func (m *SigningRequest) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_SigningRequest.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_SigningRequest proto.InternalMessageInfo
|
|
|
|
func (m *SigningRequest) GetAuthToken() string {
|
|
if m != nil {
|
|
return m.AuthToken
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *SigningRequest) GetTimestamp() int64 {
|
|
if m != nil {
|
|
return m.Timestamp
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type SigningResponse struct {
|
|
Chain [][]byte `protobuf:"bytes,1,rep,name=chain,proto3" json:"chain,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *SigningResponse) Reset() { *m = SigningResponse{} }
|
|
func (m *SigningResponse) String() string { return proto.CompactTextString(m) }
|
|
func (*SigningResponse) ProtoMessage() {}
|
|
func (*SigningResponse) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_c0d34c34dd33be4b, []int{1}
|
|
}
|
|
func (m *SigningResponse) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_SigningResponse.Unmarshal(m, b)
|
|
}
|
|
func (m *SigningResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_SigningResponse.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *SigningResponse) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_SigningResponse.Merge(m, src)
|
|
}
|
|
func (m *SigningResponse) XXX_Size() int {
|
|
return xxx_messageInfo_SigningResponse.Size(m)
|
|
}
|
|
func (m *SigningResponse) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_SigningResponse.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_SigningResponse proto.InternalMessageInfo
|
|
|
|
func (m *SigningResponse) GetChain() [][]byte {
|
|
if m != nil {
|
|
return m.Chain
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func init() {
|
|
proto.RegisterType((*SigningRequest)(nil), "node.SigningRequest")
|
|
proto.RegisterType((*SigningResponse)(nil), "node.SigningResponse")
|
|
}
|
|
|
|
func init() { proto.RegisterFile("certificate.proto", fileDescriptor_c0d34c34dd33be4b) }
|
|
|
|
var fileDescriptor_c0d34c34dd33be4b = []byte{
|
|
// 198 bytes of a gzipped FileDescriptorProto
|
|
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x5c, 0x8f, 0x41, 0x4b, 0x80, 0x40,
|
|
0x10, 0x85, 0x31, 0x2d, 0x70, 0x90, 0xa2, 0xc5, 0x40, 0xa2, 0x40, 0xbc, 0xb4, 0x74, 0x58, 0x21,
|
|
0xff, 0x41, 0x9e, 0xbb, 0x6c, 0x9d, 0xba, 0xc4, 0x6a, 0x93, 0x6e, 0xe1, 0xee, 0xe6, 0x8e, 0xff,
|
|
0x3f, 0x56, 0x21, 0xad, 0xdb, 0x9b, 0x0f, 0xe6, 0xf1, 0x3d, 0xb8, 0xec, 0x71, 0x26, 0xfd, 0xa1,
|
|
0x7b, 0x45, 0x28, 0xdc, 0x6c, 0xc9, 0xb2, 0xc4, 0xd8, 0x77, 0xac, 0x9e, 0xe0, 0xfc, 0x59, 0x0f,
|
|
0x46, 0x9b, 0x41, 0xe2, 0xf7, 0x82, 0x9e, 0xd8, 0x2d, 0x80, 0x5a, 0x68, 0x7c, 0x23, 0xfb, 0x85,
|
|
0xa6, 0x88, 0xca, 0x88, 0xa7, 0x32, 0x0d, 0xe4, 0x25, 0x00, 0x76, 0x03, 0x29, 0xe9, 0x09, 0x3d,
|
|
0xa9, 0xc9, 0x15, 0x27, 0x65, 0xc4, 0x63, 0xb9, 0x83, 0xea, 0x0e, 0x2e, 0x7e, 0xeb, 0xbc, 0xb3,
|
|
0xc6, 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