88 lines
2.9 KiB
Go
88 lines
2.9 KiB
Go
|
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||
|
// source: types.proto
|
||
|
|
||
|
/*
|
||
|
Package physical is a generated protocol buffer package.
|
||
|
|
||
|
It is generated from these files:
|
||
|
types.proto
|
||
|
|
||
|
It has these top-level messages:
|
||
|
SealWrapEntry
|
||
|
*/
|
||
|
package physical
|
||
|
|
||
|
import proto "github.com/golang/protobuf/proto"
|
||
|
import fmt "fmt"
|
||
|
import math "math"
|
||
|
|
||
|
// 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.ProtoPackageIsVersion2 // please upgrade the proto package
|
||
|
|
||
|
type SealWrapEntry struct {
|
||
|
Ciphertext []byte `protobuf:"bytes,1,opt,name=ciphertext,proto3" json:"ciphertext,omitempty"`
|
||
|
IV []byte `protobuf:"bytes,2,opt,name=iv,proto3" json:"iv,omitempty"`
|
||
|
HMAC []byte `protobuf:"bytes,3,opt,name=hmac,proto3" json:"hmac,omitempty"`
|
||
|
Wrapped bool `protobuf:"varint,4,opt,name=wrapped" json:"wrapped,omitempty"`
|
||
|
}
|
||
|
|
||
|
func (m *SealWrapEntry) Reset() { *m = SealWrapEntry{} }
|
||
|
func (m *SealWrapEntry) String() string { return proto.CompactTextString(m) }
|
||
|
func (*SealWrapEntry) ProtoMessage() {}
|
||
|
func (*SealWrapEntry) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{0} }
|
||
|
|
||
|
func (m *SealWrapEntry) GetCiphertext() []byte {
|
||
|
if m != nil {
|
||
|
return m.Ciphertext
|
||
|
}
|
||
|
return nil
|
||
|
}
|
||
|
|
||
|
func (m *SealWrapEntry) GetIV() []byte {
|
||
|
if m != nil {
|
||
|
return m.IV
|
||
|
}
|
||
|
return nil
|
||
|
}
|
||
|
|
||
|
func (m *SealWrapEntry) GetHMAC() []byte {
|
||
|
if m != nil {
|
||
|
return m.HMAC
|
||
|
}
|
||
|
return nil
|
||
|
}
|
||
|
|
||
|
func (m *SealWrapEntry) GetWrapped() bool {
|
||
|
if m != nil {
|
||
|
return m.Wrapped
|
||
|
}
|
||
|
return false
|
||
|
}
|
||
|
|
||
|
func init() {
|
||
|
proto.RegisterType((*SealWrapEntry)(nil), "physical.SealWrapEntry")
|
||
|
}
|
||
|
|
||
|
func init() { proto.RegisterFile("types.proto", fileDescriptor0) }
|
||
|
|
||
|
var fileDescriptor0 = []byte{
|
||
|
// 138 bytes of a gzipped FileDescriptorProto
|
||
|
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0xe2, 0x2e, 0xa9, 0x2c, 0x48,
|
||
|
0x2d, 0xd6, 0x2b, 0x28, 0xca, 0x2f, 0xc9, 0x17, 0xe2, 0x28, 0xc8, 0xa8, 0x2c, 0xce, 0x4c, 0x4e,
|
||
|
0xcc, 0x51, 0xca, 0xe5, 0xe2, 0x0d, 0x4e, 0x4d, 0xcc, 0x09, 0x2f, 0x4a, 0x2c, 0x70, 0xcd, 0x2b,
|
||
|
0x29, 0xaa, 0x14, 0x92, 0xe3, 0xe2, 0x4a, 0xce, 0x2c, 0xc8, 0x48, 0x2d, 0x2a, 0x49, 0xad, 0x28,
|
||
|
0x91, 0x60, 0x54, 0x60, 0xd4, 0xe0, 0x09, 0x42, 0x12, 0x11, 0xe2, 0xe3, 0x62, 0xca, 0x2c, 0x93,
|
||
|
0x60, 0x02, 0x8b, 0x33, 0x65, 0x96, 0x09, 0x09, 0x71, 0xb1, 0x64, 0xe4, 0x26, 0x26, 0x4b, 0x30,
|
||
|
0x83, 0x45, 0xc0, 0x6c, 0x21, 0x09, 0x2e, 0xf6, 0xf2, 0xa2, 0xc4, 0x82, 0x82, 0xd4, 0x14, 0x09,
|
||
|
0x16, 0x05, 0x46, 0x0d, 0x8e, 0x20, 0x18, 0x37, 0x89, 0x0d, 0x6c, 0xbf, 0x31, 0x20, 0x00, 0x00,
|
||
|
0xff, 0xff, 0x8b, 0xab, 0x5f, 0x50, 0x8e, 0x00, 0x00, 0x00,
|
||
|
}
|