github.com/jlmucb/cloudproxy@v0.0.0-20170830161738-b5aa0b619bc4/go/support_libraries/domain_policy/domain_policy.pb.go (about) 1 // Code generated by protoc-gen-go. 2 // source: domain_policy.proto 3 // DO NOT EDIT! 4 5 /* 6 Package domain_policy is a generated protocol buffer package. 7 8 It is generated from these files: 9 domain_policy.proto 10 11 It has these top-level messages: 12 DomainCertRequest 13 DomainCertResponse 14 */ 15 package domain_policy 16 17 import proto "github.com/golang/protobuf/proto" 18 import fmt "fmt" 19 import math "math" 20 21 // Reference imports to suppress errors if they are not otherwise used. 22 var _ = proto.Marshal 23 var _ = fmt.Errorf 24 var _ = math.Inf 25 26 // This is a compile-time assertion to ensure that this generated file 27 // is compatible with the proto package it is being compiled against. 28 // A compilation error at this line likely means your copy of the 29 // proto package needs to be updated. 30 const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package 31 32 // This is used to request a signed cert from the domain service. 33 // attestation is the marshaled attestation. 34 // program_key is the der encoded program public key. 35 // cert chain is any supporting certificates. 36 type DomainCertRequest struct { 37 Attestation []byte `protobuf:"bytes,1,opt,name=attestation" json:"attestation,omitempty"` 38 KeyType *string `protobuf:"bytes,2,opt,name=key_type,json=keyType" json:"key_type,omitempty"` 39 SubjectPublicKey []byte `protobuf:"bytes,3,opt,name=subject_public_key,json=subjectPublicKey" json:"subject_public_key,omitempty"` 40 CertChain [][]byte `protobuf:"bytes,4,rep,name=cert_chain,json=certChain" json:"cert_chain,omitempty"` 41 XXX_unrecognized []byte `json:"-"` 42 } 43 44 func (m *DomainCertRequest) Reset() { *m = DomainCertRequest{} } 45 func (m *DomainCertRequest) String() string { return proto.CompactTextString(m) } 46 func (*DomainCertRequest) ProtoMessage() {} 47 func (*DomainCertRequest) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{0} } 48 49 func (m *DomainCertRequest) GetAttestation() []byte { 50 if m != nil { 51 return m.Attestation 52 } 53 return nil 54 } 55 56 func (m *DomainCertRequest) GetKeyType() string { 57 if m != nil && m.KeyType != nil { 58 return *m.KeyType 59 } 60 return "" 61 } 62 63 func (m *DomainCertRequest) GetSubjectPublicKey() []byte { 64 if m != nil { 65 return m.SubjectPublicKey 66 } 67 return nil 68 } 69 70 func (m *DomainCertRequest) GetCertChain() [][]byte { 71 if m != nil { 72 return m.CertChain 73 } 74 return nil 75 } 76 77 // This is the response from the domain service. 78 // signed_cert is the signed program cert. 79 // cert_chain is the supporting certificate chain. 80 type DomainCertResponse struct { 81 Error *int32 `protobuf:"varint,1,req,name=error" json:"error,omitempty"` 82 SignedCert []byte `protobuf:"bytes,2,opt,name=signed_cert,json=signedCert" json:"signed_cert,omitempty"` 83 CertChain [][]byte `protobuf:"bytes,3,rep,name=cert_chain,json=certChain" json:"cert_chain,omitempty"` 84 XXX_unrecognized []byte `json:"-"` 85 } 86 87 func (m *DomainCertResponse) Reset() { *m = DomainCertResponse{} } 88 func (m *DomainCertResponse) String() string { return proto.CompactTextString(m) } 89 func (*DomainCertResponse) ProtoMessage() {} 90 func (*DomainCertResponse) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{1} } 91 92 func (m *DomainCertResponse) GetError() int32 { 93 if m != nil && m.Error != nil { 94 return *m.Error 95 } 96 return 0 97 } 98 99 func (m *DomainCertResponse) GetSignedCert() []byte { 100 if m != nil { 101 return m.SignedCert 102 } 103 return nil 104 } 105 106 func (m *DomainCertResponse) GetCertChain() [][]byte { 107 if m != nil { 108 return m.CertChain 109 } 110 return nil 111 } 112 113 func init() { 114 proto.RegisterType((*DomainCertRequest)(nil), "domain_policy.DomainCertRequest") 115 proto.RegisterType((*DomainCertResponse)(nil), "domain_policy.DomainCertResponse") 116 } 117 118 func init() { proto.RegisterFile("domain_policy.proto", fileDescriptor0) } 119 120 var fileDescriptor0 = []byte{ 121 // 221 bytes of a gzipped FileDescriptorProto 122 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x09, 0x6e, 0x88, 0x02, 0xff, 0x5c, 0x8e, 0xb1, 0x4e, 0x03, 0x31, 123 0x10,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