open-vault/physical/types.pb.go

101 lines
3.5 KiB
Go
Raw Normal View History

2017-11-30 14:43:07 +00:00
// Code generated by protoc-gen-go. DO NOT EDIT.
// source: types.proto
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"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *SealWrapEntry) Reset() { *m = SealWrapEntry{} }
func (m *SealWrapEntry) String() string { return proto.CompactTextString(m) }
func (*SealWrapEntry) ProtoMessage() {}
func (*SealWrapEntry) Descriptor() ([]byte, []int) {
return fileDescriptor_types_2aa4a028b7313b7f, []int{0}
}
func (m *SealWrapEntry) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_SealWrapEntry.Unmarshal(m, b)
}
func (m *SealWrapEntry) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_SealWrapEntry.Marshal(b, m, deterministic)
}
func (dst *SealWrapEntry) XXX_Merge(src proto.Message) {
xxx_messageInfo_SealWrapEntry.Merge(dst, src)
}
func (m *SealWrapEntry) XXX_Size() int {
return xxx_messageInfo_SealWrapEntry.Size(m)
}
func (m *SealWrapEntry) XXX_DiscardUnknown() {
xxx_messageInfo_SealWrapEntry.DiscardUnknown(m)
2017-11-30 14:43:07 +00:00
}
var xxx_messageInfo_SealWrapEntry proto.InternalMessageInfo
2017-11-30 14:43:07 +00:00
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", fileDescriptor_types_2aa4a028b7313b7f) }
2017-11-30 14:43:07 +00:00
var fileDescriptor_types_2aa4a028b7313b7f = []byte{
2017-11-30 14:43:07 +00:00
// 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,
}