| 1 |
// Code generated by protoc-gen-go. DO NOT EDIT. |
| 2 |
// versions: |
| 3 |
// protoc-gen-go v1.31.0 |
| 4 |
// protoc v3.21.12 |
| 5 |
// source: attest.proto |
| 6 |
|
| 7 |
package attest |
| 8 |
|
| 9 |
import ( |
| 10 |
sevsnp "github.com/google/go-sev-guest/proto/sevsnp" |
| 11 |
tdx "github.com/google/go-tdx-guest/proto/tdx" |
| 12 |
tpm "github.com/google/go-tpm-tools/proto/tpm" |
| 13 |
protoreflect "google.golang.org/protobuf/reflect/protoreflect" |
| 14 |
protoimpl "google.golang.org/protobuf/runtime/protoimpl" |
| 15 |
reflect "reflect" |
| 16 |
sync "sync" |
| 17 |
) |
| 18 |
|
| 19 |
const ( |
| 20 |
// Verify that this generated code is sufficiently up-to-date. |
| 21 |
_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) |
| 22 |
// Verify that runtime/protoimpl is sufficiently up-to-date. |
| 23 |
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) |
| 24 |
) |
| 25 |
|
| 26 |
// Type of hardware technology used to protect this instance |
| 27 |
type GCEConfidentialTechnology int32 |
| 28 |
|
| 29 |
const ( |
| 30 |
GCEConfidentialTechnology_NONE GCEConfidentialTechnology = 0 |
| 31 |
GCEConfidentialTechnology_AMD_SEV GCEConfidentialTechnology = 1 |
| 32 |
GCEConfidentialTechnology_AMD_SEV_ES GCEConfidentialTechnology = 2 |
| 33 |
GCEConfidentialTechnology_INTEL_TDX GCEConfidentialTechnology = 3 |
| 34 |
GCEConfidentialTechnology_AMD_SEV_SNP GCEConfidentialTechnology = 4 |
| 35 |
) |
| 36 |
|
| 37 |
// Enum value maps for GCEConfidentialTechnology. |
| 38 |
var ( |
| 39 |
GCEConfidentialTechnology_name = map[int32]string{ |
| 40 |
0: "NONE", |
| 41 |
1: "AMD_SEV", |
| 42 |
2: "AMD_SEV_ES", |
| 43 |
3: "INTEL_TDX", |
| 44 |
4: "AMD_SEV_SNP", |
| 45 |
} |
| 46 |
GCEConfidentialTechnology_value = map[string]int32{ |
| 47 |
"NONE": 0, |
| 48 |
"AMD_SEV": 1, |
| 49 |
"AMD_SEV_ES": 2, |
| 50 |
"INTEL_TDX": 3, |
| 51 |
"AMD_SEV_SNP": 4, |
| 52 |
} |
| 53 |
) |
| 54 |
|
| 55 |
func (x GCEConfidentialTechnology) Enum() *GCEConfidentialTechnology { |
| 56 |
p := new(GCEConfidentialTechnology) |
| 57 |
*p = x |
| 58 |
return p |
| 59 |
} |
| 60 |
|
| 61 |
func (x GCEConfidentialTechnology) String() string { |
| 62 |
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) |
| 63 |
} |
| 64 |
|
| 65 |
func (GCEConfidentialTechnology) Descriptor() protoreflect.EnumDescriptor { |
| 66 |
return file_attest_proto_enumTypes[0].Descriptor() |
| 67 |
} |
| 68 |
|
| 69 |
func (GCEConfidentialTechnology) Type() protoreflect.EnumType { |
| 70 |
return &file_attest_proto_enumTypes[0] |
| 71 |
} |
| 72 |
|
| 73 |
func (x GCEConfidentialTechnology) Number() protoreflect.EnumNumber { |
| 74 |
return protoreflect.EnumNumber(x) |
| 75 |
} |
| 76 |
|
| 77 |
// Deprecated: Use GCEConfidentialTechnology.Descriptor instead. |
| 78 |
func (GCEConfidentialTechnology) EnumDescriptor() ([]byte, []int) { |
| 79 |
return file_attest_proto_rawDescGZIP(), []int{0} |
| 80 |
} |
| 81 |
|
| 82 |
// Common, publicly-listed certificates by different vendors. |
| 83 |
type WellKnownCertificate int32 |
| 84 |
|
| 85 |
const ( |
| 86 |
WellKnownCertificate_UNKNOWN WellKnownCertificate = 0 |
| 87 |
// Microsoft certs: |
| 88 |
// https://go.microsoft.com/fwlink/p/?linkid=321192 |
| 89 |
WellKnownCertificate_MS_WINDOWS_PROD_PCA_2011 WellKnownCertificate = 1 |
| 90 |
// https://go.microsoft.com/fwlink/p/?linkid=321194 |
| 91 |
WellKnownCertificate_MS_THIRD_PARTY_UEFI_CA_2011 WellKnownCertificate = 2 |
| 92 |
// https://go.microsoft.com/fwlink/p/?linkid=321185 |
| 93 |
WellKnownCertificate_MS_THIRD_PARTY_KEK_CA_2011 WellKnownCertificate = 3 |
| 94 |
// GCE certs: |
| 95 |
WellKnownCertificate_GCE_DEFAULT_PK WellKnownCertificate = 4 |
| 96 |
) |
| 97 |
|
| 98 |
// Enum value maps for WellKnownCertificate. |
| 99 |
var ( |
| 100 |
WellKnownCertificate_name = map[int32]string{ |
| 101 |
0: "UNKNOWN", |
| 102 |
1: "MS_WINDOWS_PROD_PCA_2011", |
| 103 |
2: "MS_THIRD_PARTY_UEFI_CA_2011", |
| 104 |
3: "MS_THIRD_PARTY_KEK_CA_2011", |
| 105 |
4: "GCE_DEFAULT_PK", |
| 106 |
} |
| 107 |
WellKnownCertificate_value = map[string]int32{ |
| 108 |
"UNKNOWN": 0, |
| 109 |
"MS_WINDOWS_PROD_PCA_2011": 1, |
| 110 |
"MS_THIRD_PARTY_UEFI_CA_2011": 2, |
| 111 |
"MS_THIRD_PARTY_KEK_CA_2011": 3, |
| 112 |
"GCE_DEFAULT_PK": 4, |
| 113 |
} |
| 114 |
) |
| 115 |
|
| 116 |
func (x WellKnownCertificate) Enum() *WellKnownCertificate { |
| 117 |
p := new(WellKnownCertificate) |
| 118 |
*p = x |
| 119 |
return p |
| 120 |
} |
| 121 |
|
| 122 |
func (x WellKnownCertificate) String() string { |
| 123 |
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) |
| 124 |
} |
| 125 |
|
| 126 |
func (WellKnownCertificate) Descriptor() protoreflect.EnumDescriptor { |
| 127 |
return file_attest_proto_enumTypes[1].Descriptor() |
| 128 |
} |
| 129 |
|
| 130 |
func (WellKnownCertificate) Type() protoreflect.EnumType { |
| 131 |
return &file_attest_proto_enumTypes[1] |
| 132 |
} |
| 133 |
|
| 134 |
func (x WellKnownCertificate) Number() protoreflect.EnumNumber { |
| 135 |
return protoreflect.EnumNumber(x) |
| 136 |
} |
| 137 |
|
| 138 |
// Deprecated: Use WellKnownCertificate.Descriptor instead. |
| 139 |
func (WellKnownCertificate) EnumDescriptor() ([]byte, []int) { |
| 140 |
return file_attest_proto_rawDescGZIP(), []int{1} |
| 141 |
} |
| 142 |
|
| 143 |
// The container's restart policy. |
| 144 |
// See the following Kubernetes documentation for more details: |
| 145 |
// https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle/#restart-policy |
| 146 |
// Note that these enum variants do not conform to the standard Protocol Buffers |
| 147 |
// Style Guide so that RestartPolicy_name, RestartPolicy_value, and |
| 148 |
// RestartPolicy.String() match the values used by Kubernetes and others. |
| 149 |
type RestartPolicy int32 |
| 150 |
|
| 151 |
const ( |
| 152 |
RestartPolicy_Always RestartPolicy = 0 |
| 153 |
RestartPolicy_OnFailure RestartPolicy = 1 |
| 154 |
RestartPolicy_Never RestartPolicy = 2 |
| 155 |
) |
| 156 |
|
| 157 |
// Enum value maps for RestartPolicy. |
| 158 |
var ( |
| 159 |
RestartPolicy_name = map[int32]string{ |
| 160 |
0: "Always", |
| 161 |
1: "OnFailure", |
| 162 |
2: "Never", |
| 163 |
} |
| 164 |
RestartPolicy_value = map[string]int32{ |
| 165 |
"Always": 0, |
| 166 |
"OnFailure": 1, |
| 167 |
"Never": 2, |
| 168 |
} |
| 169 |
) |
| 170 |
|
| 171 |
func (x RestartPolicy) Enum() *RestartPolicy { |
| 172 |
p := new(RestartPolicy) |
| 173 |
*p = x |
| 174 |
return p |
| 175 |
} |
| 176 |
|
| 177 |
func (x RestartPolicy) String() string { |
| 178 |
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) |
| 179 |
} |
| 180 |
|
| 181 |
func (RestartPolicy) Descriptor() protoreflect.EnumDescriptor { |
| 182 |
return file_attest_proto_enumTypes[2].Descriptor() |
| 183 |
} |
| 184 |
|
| 185 |
func (RestartPolicy) Type() protoreflect.EnumType { |
| 186 |
return &file_attest_proto_enumTypes[2] |
| 187 |
} |
| 188 |
|
| 189 |
func (x RestartPolicy) Number() protoreflect.EnumNumber { |
| 190 |
return protoreflect.EnumNumber(x) |
| 191 |
} |
| 192 |
|
| 193 |
// Deprecated: Use RestartPolicy.Descriptor instead. |
| 194 |
func (RestartPolicy) EnumDescriptor() ([]byte, []int) { |
| 195 |
return file_attest_proto_rawDescGZIP(), []int{2} |
| 196 |
} |
| 197 |
|
| 198 |
// Confidential Computing mode for GPU device. Reference for these CC mode values: https://developer.nvidia.com/blog/confidential-computing-on-h100-gpus-for-secure-and-trustworthy-ai/#hardware_security_for_nvidia_h100_gpus |
| 199 |
type GPUDeviceCCMode int32 |
| 200 |
|
| 201 |
const ( |
| 202 |
GPUDeviceCCMode_UNSET GPUDeviceCCMode = 0 |
| 203 |
// The NVIDIA H100 hardware, firmware, and software have fully activated all the confidential computing features. |
| 204 |
GPUDeviceCCMode_ON GPUDeviceCCMode = 1 |
| 205 |
// None of the confidential computing-specific features are active. |
| 206 |
GPUDeviceCCMode_OFF GPUDeviceCCMode = 2 |
| 207 |
// The GPU is in a partial CC mode that will match the workflows of CC mode ON, but with security protections disabled. |
| 208 |
GPUDeviceCCMode_DEVTOOLS GPUDeviceCCMode = 3 |
| 209 |
) |
| 210 |
|
| 211 |
// Enum value maps for GPUDeviceCCMode. |
| 212 |
var ( |
| 213 |
GPUDeviceCCMode_name = map[int32]string{ |
| 214 |
0: "UNSET", |
| 215 |
1: "ON", |
| 216 |
2: "OFF", |
| 217 |
3: "DEVTOOLS", |
| 218 |
} |
| 219 |
GPUDeviceCCMode_value = map[string]int32{ |
| 220 |
"UNSET": 0, |
| 221 |
"ON": 1, |
| 222 |
"OFF": 2, |
| 223 |
"DEVTOOLS": 3, |
| 224 |
} |
| 225 |
) |
| 226 |
|
| 227 |
func (x GPUDeviceCCMode) Enum() *GPUDeviceCCMode { |
| 228 |
p := new(GPUDeviceCCMode) |
| 229 |
*p = x |
| 230 |
return p |
| 231 |
} |
| 232 |
|
| 233 |
func (x GPUDeviceCCMode) String() string { |
| 234 |
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) |
| 235 |
} |
| 236 |
|
| 237 |
func (GPUDeviceCCMode) Descriptor() protoreflect.EnumDescriptor { |
| 238 |
return file_attest_proto_enumTypes[3].Descriptor() |
| 239 |
} |
| 240 |
|
| 241 |
func (GPUDeviceCCMode) Type() protoreflect.EnumType { |
| 242 |
return &file_attest_proto_enumTypes[3] |
| 243 |
} |
| 244 |
|
| 245 |
func (x GPUDeviceCCMode) Number() protoreflect.EnumNumber { |
| 246 |
return protoreflect.EnumNumber(x) |
| 247 |
} |
| 248 |
|
| 249 |
// Deprecated: Use GPUDeviceCCMode.Descriptor instead. |
| 250 |
func (GPUDeviceCCMode) EnumDescriptor() ([]byte, []int) { |
| 251 |
return file_attest_proto_rawDescGZIP(), []int{3} |
| 252 |
} |
| 253 |
|
| 254 |
// Information uniquely identifying a GCE instance. Can be used to create an |
| 255 |
// instance URL, which can then be used with GCE APIs. Formatted like: |
| 256 |
// |
| 257 |
// https://www.googleapis.com/compute/v1/projects/{project_id}/zones/{zone}/instances/{instance_name} |
| 258 |
type GCEInstanceInfo struct { |
| 259 |
state protoimpl.MessageState |
| 260 |
sizeCache protoimpl.SizeCache |
| 261 |
unknownFields protoimpl.UnknownFields |
| 262 |
|
| 263 |
Zone string `protobuf:"bytes,1,opt,name=zone,proto3" json:"zone,omitempty"` |
| 264 |
ProjectId string `protobuf:"bytes,2,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` |
| 265 |
ProjectNumber uint64 `protobuf:"varint,3,opt,name=project_number,json=projectNumber,proto3" json:"project_number,omitempty"` |
| 266 |
InstanceName string `protobuf:"bytes,4,opt,name=instance_name,json=instanceName,proto3" json:"instance_name,omitempty"` |
| 267 |
InstanceId uint64 `protobuf:"varint,5,opt,name=instance_id,json=instanceId,proto3" json:"instance_id,omitempty"` |
| 268 |
} |
| 269 |
|
| 270 |
func (x *GCEInstanceInfo) Reset() { |
| 271 |
*x = GCEInstanceInfo{} |
| 272 |
if protoimpl.UnsafeEnabled { |
| 273 |
mi := &file_attest_proto_msgTypes[0] |
| 274 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 275 |
ms.StoreMessageInfo(mi) |
| 276 |
} |
| 277 |
} |
| 278 |
|
| 279 |
func (x *GCEInstanceInfo) String() string { |
| 280 |
return protoimpl.X.MessageStringOf(x) |
| 281 |
} |
| 282 |
|
| 283 |
func (*GCEInstanceInfo) ProtoMessage() {} |
| 284 |
|
| 285 |
func (x *GCEInstanceInfo) ProtoReflect() protoreflect.Message { |
| 286 |
mi := &file_attest_proto_msgTypes[0] |
| 287 |
if protoimpl.UnsafeEnabled && x != nil { |
| 288 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 289 |
if ms.LoadMessageInfo() == nil { |
| 290 |
ms.StoreMessageInfo(mi) |
| 291 |
} |
| 292 |
return ms |
| 293 |
} |
| 294 |
return mi.MessageOf(x) |
| 295 |
} |
| 296 |
|
| 297 |
// Deprecated: Use GCEInstanceInfo.ProtoReflect.Descriptor instead. |
| 298 |
func (*GCEInstanceInfo) Descriptor() ([]byte, []int) { |
| 299 |
return file_attest_proto_rawDescGZIP(), []int{0} |
| 300 |
} |
| 301 |
|
| 302 |
func (x *GCEInstanceInfo) GetZone() string { |
| 303 |
if x != nil { |
| 304 |
return x.Zone |
| 305 |
} |
| 306 |
return "" |
| 307 |
} |
| 308 |
|
| 309 |
func (x *GCEInstanceInfo) GetProjectId() string { |
| 310 |
if x != nil { |
| 311 |
return x.ProjectId |
| 312 |
} |
| 313 |
return "" |
| 314 |
} |
| 315 |
|
| 316 |
func (x *GCEInstanceInfo) GetProjectNumber() uint64 { |
| 317 |
if x != nil { |
| 318 |
return x.ProjectNumber |
| 319 |
} |
| 320 |
return 0 |
| 321 |
} |
| 322 |
|
| 323 |
func (x *GCEInstanceInfo) GetInstanceName() string { |
| 324 |
if x != nil { |
| 325 |
return x.InstanceName |
| 326 |
} |
| 327 |
return "" |
| 328 |
} |
| 329 |
|
| 330 |
func (x *GCEInstanceInfo) GetInstanceId() uint64 { |
| 331 |
if x != nil { |
| 332 |
return x.InstanceId |
| 333 |
} |
| 334 |
return 0 |
| 335 |
} |
| 336 |
|
| 337 |
type Attestation struct { |
| 338 |
state protoimpl.MessageState |
| 339 |
sizeCache protoimpl.SizeCache |
| 340 |
unknownFields protoimpl.UnknownFields |
| 341 |
|
| 342 |
// Attestation Key (AK) Public Area, encoded as a TPMT_PUBLIC |
| 343 |
AkPub []byte `protobuf:"bytes,1,opt,name=ak_pub,json=akPub,proto3" json:"ak_pub,omitempty"` |
| 344 |
// Quotes over all supported PCR banks |
| 345 |
Quotes []*tpm.Quote `protobuf:"bytes,2,rep,name=quotes,proto3" json:"quotes,omitempty"` |
| 346 |
// TCG Event Log, encoded in the raw binary format. |
| 347 |
// Can be SHA-1 or crypto-agile. |
| 348 |
EventLog []byte `protobuf:"bytes,3,opt,name=event_log,json=eventLog,proto3" json:"event_log,omitempty"` |
| 349 |
// Optional information about a GCE instance, unused outside of GCE |
| 350 |
InstanceInfo *GCEInstanceInfo `protobuf:"bytes,4,opt,name=instance_info,json=instanceInfo,proto3" json:"instance_info,omitempty"` |
| 351 |
// A COS event log using the TCG Canonical Event Log format |
| 352 |
CanonicalEventLog []byte `protobuf:"bytes,5,opt,name=canonical_event_log,json=canonicalEventLog,proto3" json:"canonical_event_log,omitempty"` |
| 353 |
// Attestation Key (AK) Certificate, encoded as ASN.1 DER. |
| 354 |
// Optional. |
| 355 |
AkCert []byte `protobuf:"bytes,6,opt,name=ak_cert,json=akCert,proto3" json:"ak_cert,omitempty"` |
| 356 |
// Intermediate Certificates for verifying the AK Certificate, encoded as |
| 357 |
// ASN.1 DER. Optional. |
| 358 |
IntermediateCerts [][]byte `protobuf:"bytes,7,rep,name=intermediate_certs,json=intermediateCerts,proto3" json:"intermediate_certs,omitempty"` |
| 359 |
// Trusted execution environment attestation is a secondary platform |
| 360 |
// attestation that the machine is running within a particular confidential |
| 361 |
// environment. |
| 362 |
// |
| 363 |
// Types that are assignable to TeeAttestation: |
| 364 |
// |
| 365 |
// *Attestation_SevSnpAttestation |
| 366 |
// *Attestation_TdxAttestation |
| 367 |
TeeAttestation isAttestation_TeeAttestation `protobuf_oneof:"tee_attestation"` |
| 368 |
} |
| 369 |
|
| 370 |
func (x *Attestation) Reset() { |
| 371 |
*x = Attestation{} |
| 372 |
if protoimpl.UnsafeEnabled { |
| 373 |
mi := &file_attest_proto_msgTypes[1] |
| 374 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 375 |
ms.StoreMessageInfo(mi) |
| 376 |
} |
| 377 |
} |
| 378 |
|
| 379 |
func (x *Attestation) String() string { |
| 380 |
return protoimpl.X.MessageStringOf(x) |
| 381 |
} |
| 382 |
|
| 383 |
func (*Attestation) ProtoMessage() {} |
| 384 |
|
| 385 |
func (x *Attestation) ProtoReflect() protoreflect.Message { |
| 386 |
mi := &file_attest_proto_msgTypes[1] |
| 387 |
if protoimpl.UnsafeEnabled && x != nil { |
| 388 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 389 |
if ms.LoadMessageInfo() == nil { |
| 390 |
ms.StoreMessageInfo(mi) |
| 391 |
} |
| 392 |
return ms |
| 393 |
} |
| 394 |
return mi.MessageOf(x) |
| 395 |
} |
| 396 |
|
| 397 |
// Deprecated: Use Attestation.ProtoReflect.Descriptor instead. |
| 398 |
func (*Attestation) Descriptor() ([]byte, []int) { |
| 399 |
return file_attest_proto_rawDescGZIP(), []int{1} |
| 400 |
} |
| 401 |
|
| 402 |
func (x *Attestation) GetAkPub() []byte { |
| 403 |
if x != nil { |
| 404 |
return x.AkPub |
| 405 |
} |
| 406 |
return nil |
| 407 |
} |
| 408 |
|
| 409 |
func (x *Attestation) GetQuotes() []*tpm.Quote { |
| 410 |
if x != nil { |
| 411 |
return x.Quotes |
| 412 |
} |
| 413 |
return nil |
| 414 |
} |
| 415 |
|
| 416 |
func (x *Attestation) GetEventLog() []byte { |
| 417 |
if x != nil { |
| 418 |
return x.EventLog |
| 419 |
} |
| 420 |
return nil |
| 421 |
} |
| 422 |
|
| 423 |
func (x *Attestation) GetInstanceInfo() *GCEInstanceInfo { |
| 424 |
if x != nil { |
| 425 |
return x.InstanceInfo |
| 426 |
} |
| 427 |
return nil |
| 428 |
} |
| 429 |
|
| 430 |
func (x *Attestation) GetCanonicalEventLog() []byte { |
| 431 |
if x != nil { |
| 432 |
return x.CanonicalEventLog |
| 433 |
} |
| 434 |
return nil |
| 435 |
} |
| 436 |
|
| 437 |
func (x *Attestation) GetAkCert() []byte { |
| 438 |
if x != nil { |
| 439 |
return x.AkCert |
| 440 |
} |
| 441 |
return nil |
| 442 |
} |
| 443 |
|
| 444 |
func (x *Attestation) GetIntermediateCerts() [][]byte { |
| 445 |
if x != nil { |
| 446 |
return x.IntermediateCerts |
| 447 |
} |
| 448 |
return nil |
| 449 |
} |
| 450 |
|
| 451 |
func (m *Attestation) GetTeeAttestation() isAttestation_TeeAttestation { |
| 452 |
if m != nil { |
| 453 |
return m.TeeAttestation |
| 454 |
} |
| 455 |
return nil |
| 456 |
} |
| 457 |
|
| 458 |
func (x *Attestation) GetSevSnpAttestation() *sevsnp.Attestation { |
| 459 |
if x, ok := x.GetTeeAttestation().(*Attestation_SevSnpAttestation); ok { |
| 460 |
return x.SevSnpAttestation |
| 461 |
} |
| 462 |
return nil |
| 463 |
} |
| 464 |
|
| 465 |
func (x *Attestation) GetTdxAttestation() *tdx.QuoteV4 { |
| 466 |
if x, ok := x.GetTeeAttestation().(*Attestation_TdxAttestation); ok { |
| 467 |
return x.TdxAttestation |
| 468 |
} |
| 469 |
return nil |
| 470 |
} |
| 471 |
|
| 472 |
type isAttestation_TeeAttestation interface { |
| 473 |
isAttestation_TeeAttestation() |
| 474 |
} |
| 475 |
|
| 476 |
type Attestation_SevSnpAttestation struct { |
| 477 |
SevSnpAttestation *sevsnp.Attestation `protobuf:"bytes,8,opt,name=sev_snp_attestation,json=sevSnpAttestation,proto3,oneof"` |
| 478 |
} |
| 479 |
|
| 480 |
type Attestation_TdxAttestation struct { |
| 481 |
TdxAttestation *tdx.QuoteV4 `protobuf:"bytes,9,opt,name=tdx_attestation,json=tdxAttestation,proto3,oneof"` |
| 482 |
} |
| 483 |
|
| 484 |
func (*Attestation_SevSnpAttestation) isAttestation_TeeAttestation() {} |
| 485 |
|
| 486 |
func (*Attestation_TdxAttestation) isAttestation_TeeAttestation() {} |
| 487 |
|
| 488 |
// For VMs running SEV-SNP with an SVSM-based e-vTPM, this contains a TPM quote |
| 489 |
// and all the information needed to verify it. |
| 490 |
type SevSnpSvsmAttestation struct { |
| 491 |
state protoimpl.MessageState |
| 492 |
sizeCache protoimpl.SizeCache |
| 493 |
unknownFields protoimpl.UnknownFields |
| 494 |
|
| 495 |
Attestation *Attestation `protobuf:"bytes,1,opt,name=attestation,proto3" json:"attestation,omitempty"` |
| 496 |
SevSnpAttestation *sevsnp.Attestation `protobuf:"bytes,2,opt,name=sev_snp_attestation,json=sevSnpAttestation,proto3" json:"sev_snp_attestation,omitempty"` |
| 497 |
// vTPM service manifest is retrieved from configfs-tsm-report via manifest blob |
| 498 |
// See https://github.com/torvalds/linux/blob/v6.16/Documentation/ABI/testing/configfs-tsm-report |
| 499 |
// The manifest format is defined by the SVSM spec at https://www.amd.com/en/developer/sev.html |
| 500 |
VtpmServiceManifest []byte `protobuf:"bytes,3,opt,name=vtpm_service_manifest,json=vtpmServiceManifest,proto3" json:"vtpm_service_manifest,omitempty"` |
| 501 |
VtpmServiceManifestVersion string `protobuf:"bytes,4,opt,name=vtpm_service_manifest_version,json=vtpmServiceManifestVersion,proto3" json:"vtpm_service_manifest_version,omitempty"` |
| 502 |
// This contains a launch endorsement for guest firmware that includes SVSM. |
| 503 |
LaunchEndorsement []byte `protobuf:"bytes,5,opt,name=launch_endorsement,json=launchEndorsement,proto3" json:"launch_endorsement,omitempty"` |
| 504 |
} |
| 505 |
|
| 506 |
func (x *SevSnpSvsmAttestation) Reset() { |
| 507 |
*x = SevSnpSvsmAttestation{} |
| 508 |
if protoimpl.UnsafeEnabled { |
| 509 |
mi := &file_attest_proto_msgTypes[2] |
| 510 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 511 |
ms.StoreMessageInfo(mi) |
| 512 |
} |
| 513 |
} |
| 514 |
|
| 515 |
func (x *SevSnpSvsmAttestation) String() string { |
| 516 |
return protoimpl.X.MessageStringOf(x) |
| 517 |
} |
| 518 |
|
| 519 |
func (*SevSnpSvsmAttestation) ProtoMessage() {} |
| 520 |
|
| 521 |
func (x *SevSnpSvsmAttestation) ProtoReflect() protoreflect.Message { |
| 522 |
mi := &file_attest_proto_msgTypes[2] |
| 523 |
if protoimpl.UnsafeEnabled && x != nil { |
| 524 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 525 |
if ms.LoadMessageInfo() == nil { |
| 526 |
ms.StoreMessageInfo(mi) |
| 527 |
} |
| 528 |
return ms |
| 529 |
} |
| 530 |
return mi.MessageOf(x) |
| 531 |
} |
| 532 |
|
| 533 |
// Deprecated: Use SevSnpSvsmAttestation.ProtoReflect.Descriptor instead. |
| 534 |
func (*SevSnpSvsmAttestation) Descriptor() ([]byte, []int) { |
| 535 |
return file_attest_proto_rawDescGZIP(), []int{2} |
| 536 |
} |
| 537 |
|
| 538 |
func (x *SevSnpSvsmAttestation) GetAttestation() *Attestation { |
| 539 |
if x != nil { |
| 540 |
return x.Attestation |
| 541 |
} |
| 542 |
return nil |
| 543 |
} |
| 544 |
|
| 545 |
func (x *SevSnpSvsmAttestation) GetSevSnpAttestation() *sevsnp.Attestation { |
| 546 |
if x != nil { |
| 547 |
return x.SevSnpAttestation |
| 548 |
} |
| 549 |
return nil |
| 550 |
} |
| 551 |
|
| 552 |
func (x *SevSnpSvsmAttestation) GetVtpmServiceManifest() []byte { |
| 553 |
if x != nil { |
| 554 |
return x.VtpmServiceManifest |
| 555 |
} |
| 556 |
return nil |
| 557 |
} |
| 558 |
|
| 559 |
func (x *SevSnpSvsmAttestation) GetVtpmServiceManifestVersion() string { |
| 560 |
if x != nil { |
| 561 |
return x.VtpmServiceManifestVersion |
| 562 |
} |
| 563 |
return "" |
| 564 |
} |
| 565 |
|
| 566 |
func (x *SevSnpSvsmAttestation) GetLaunchEndorsement() []byte { |
| 567 |
if x != nil { |
| 568 |
return x.LaunchEndorsement |
| 569 |
} |
| 570 |
return nil |
| 571 |
} |
| 572 |
|
| 573 |
// The platform/firmware state for this instance |
| 574 |
type PlatformState struct { |
| 575 |
state protoimpl.MessageState |
| 576 |
sizeCache protoimpl.SizeCache |
| 577 |
unknownFields protoimpl.UnknownFields |
| 578 |
|
| 579 |
// Types that are assignable to Firmware: |
| 580 |
// |
| 581 |
// *PlatformState_ScrtmVersionId |
| 582 |
// *PlatformState_GceVersion |
| 583 |
Firmware isPlatformState_Firmware `protobuf_oneof:"firmware"` |
| 584 |
// Set to NONE on non-GCE instances or non-Confidential Shielded GCE instances |
| 585 |
Technology GCEConfidentialTechnology `protobuf:"varint,3,opt,name=technology,proto3,enum=attest.GCEConfidentialTechnology" json:"technology,omitempty"` |
| 586 |
// Only set for GCE instances |
| 587 |
InstanceInfo *GCEInstanceInfo `protobuf:"bytes,4,opt,name=instance_info,json=instanceInfo,proto3" json:"instance_info,omitempty"` |
| 588 |
} |
| 589 |
|
| 590 |
func (x *PlatformState) Reset() { |
| 591 |
*x = PlatformState{} |
| 592 |
if protoimpl.UnsafeEnabled { |
| 593 |
mi := &file_attest_proto_msgTypes[3] |
| 594 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 595 |
ms.StoreMessageInfo(mi) |
| 596 |
} |
| 597 |
} |
| 598 |
|
| 599 |
func (x *PlatformState) String() string { |
| 600 |
return protoimpl.X.MessageStringOf(x) |
| 601 |
} |
| 602 |
|
| 603 |
func (*PlatformState) ProtoMessage() {} |
| 604 |
|
| 605 |
func (x *PlatformState) ProtoReflect() protoreflect.Message { |
| 606 |
mi := &file_attest_proto_msgTypes[3] |
| 607 |
if protoimpl.UnsafeEnabled && x != nil { |
| 608 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 609 |
if ms.LoadMessageInfo() == nil { |
| 610 |
ms.StoreMessageInfo(mi) |
| 611 |
} |
| 612 |
return ms |
| 613 |
} |
| 614 |
return mi.MessageOf(x) |
| 615 |
} |
| 616 |
|
| 617 |
// Deprecated: Use PlatformState.ProtoReflect.Descriptor instead. |
| 618 |
func (*PlatformState) Descriptor() ([]byte, []int) { |
| 619 |
return file_attest_proto_rawDescGZIP(), []int{3} |
| 620 |
} |
| 621 |
|
| 622 |
func (m *PlatformState) GetFirmware() isPlatformState_Firmware { |
| 623 |
if m != nil { |
| 624 |
return m.Firmware |
| 625 |
} |
| 626 |
return nil |
| 627 |
} |
| 628 |
|
| 629 |
func (x *PlatformState) GetScrtmVersionId() []byte { |
| 630 |
if x, ok := x.GetFirmware().(*PlatformState_ScrtmVersionId); ok { |
| 631 |
return x.ScrtmVersionId |
| 632 |
} |
| 633 |
return nil |
| 634 |
} |
| 635 |
|
| 636 |
func (x *PlatformState) GetGceVersion() uint32 { |
| 637 |
if x, ok := x.GetFirmware().(*PlatformState_GceVersion); ok { |
| 638 |
return x.GceVersion |
| 639 |
} |
| 640 |
return 0 |
| 641 |
} |
| 642 |
|
| 643 |
func (x *PlatformState) GetTechnology() GCEConfidentialTechnology { |
| 644 |
if x != nil { |
| 645 |
return x.Technology |
| 646 |
} |
| 647 |
return GCEConfidentialTechnology_NONE |
| 648 |
} |
| 649 |
|
| 650 |
func (x *PlatformState) GetInstanceInfo() *GCEInstanceInfo { |
| 651 |
if x != nil { |
| 652 |
return x.InstanceInfo |
| 653 |
} |
| 654 |
return nil |
| 655 |
} |
| 656 |
|
| 657 |
type isPlatformState_Firmware interface { |
| 658 |
isPlatformState_Firmware() |
| 659 |
} |
| 660 |
|
| 661 |
type PlatformState_ScrtmVersionId struct { |
| 662 |
// Raw S-CRTM version identifier (EV_S_CRTM_VERSION) |
| 663 |
ScrtmVersionId []byte `protobuf:"bytes,1,opt,name=scrtm_version_id,json=scrtmVersionId,proto3,oneof"` |
| 664 |
} |
| 665 |
|
| 666 |
type PlatformState_GceVersion struct { |
| 667 |
// Virtual GCE firmware version (parsed from S-CRTM version id) |
| 668 |
GceVersion uint32 `protobuf:"varint,2,opt,name=gce_version,json=gceVersion,proto3,oneof"` |
| 669 |
} |
| 670 |
|
| 671 |
func (*PlatformState_ScrtmVersionId) isPlatformState_Firmware() {} |
| 672 |
|
| 673 |
func (*PlatformState_GceVersion) isPlatformState_Firmware() {} |
| 674 |
|
| 675 |
type GrubFile struct { |
| 676 |
state protoimpl.MessageState |
| 677 |
sizeCache protoimpl.SizeCache |
| 678 |
unknownFields protoimpl.UnknownFields |
| 679 |
|
| 680 |
// The digest of the file (pulled from the raw event digest). |
| 681 |
Digest []byte `protobuf:"bytes,1,opt,name=digest,proto3" json:"digest,omitempty"` |
| 682 |
// The event data. This is not measured, so it is untrusted. |
| 683 |
UntrustedFilename []byte `protobuf:"bytes,2,opt,name=untrusted_filename,json=untrustedFilename,proto3" json:"untrusted_filename,omitempty"` |
| 684 |
} |
| 685 |
|
| 686 |
func (x *GrubFile) Reset() { |
| 687 |
*x = GrubFile{} |
| 688 |
if protoimpl.UnsafeEnabled { |
| 689 |
mi := &file_attest_proto_msgTypes[4] |
| 690 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 691 |
ms.StoreMessageInfo(mi) |
| 692 |
} |
| 693 |
} |
| 694 |
|
| 695 |
func (x *GrubFile) String() string { |
| 696 |
return protoimpl.X.MessageStringOf(x) |
| 697 |
} |
| 698 |
|
| 699 |
func (*GrubFile) ProtoMessage() {} |
| 700 |
|
| 701 |
func (x *GrubFile) ProtoReflect() protoreflect.Message { |
| 702 |
mi := &file_attest_proto_msgTypes[4] |
| 703 |
if protoimpl.UnsafeEnabled && x != nil { |
| 704 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 705 |
if ms.LoadMessageInfo() == nil { |
| 706 |
ms.StoreMessageInfo(mi) |
| 707 |
} |
| 708 |
return ms |
| 709 |
} |
| 710 |
return mi.MessageOf(x) |
| 711 |
} |
| 712 |
|
| 713 |
// Deprecated: Use GrubFile.ProtoReflect.Descriptor instead. |
| 714 |
func (*GrubFile) Descriptor() ([]byte, []int) { |
| 715 |
return file_attest_proto_rawDescGZIP(), []int{4} |
| 716 |
} |
| 717 |
|
| 718 |
func (x *GrubFile) GetDigest() []byte { |
| 719 |
if x != nil { |
| 720 |
return x.Digest |
| 721 |
} |
| 722 |
return nil |
| 723 |
} |
| 724 |
|
| 725 |
func (x *GrubFile) GetUntrustedFilename() []byte { |
| 726 |
if x != nil { |
| 727 |
return x.UntrustedFilename |
| 728 |
} |
| 729 |
return nil |
| 730 |
} |
| 731 |
|
| 732 |
type GrubState struct { |
| 733 |
state protoimpl.MessageState |
| 734 |
sizeCache protoimpl.SizeCache |
| 735 |
unknownFields protoimpl.UnknownFields |
| 736 |
|
| 737 |
// All GRUB-read and measured files, including grub.cfg. |
| 738 |
Files []*GrubFile `protobuf:"bytes,1,rep,name=files,proto3" json:"files,omitempty"` |
| 739 |
// A list of executed GRUB commands and command lines passed to the kernel |
| 740 |
// and kernel modules. |
| 741 |
Commands []string `protobuf:"bytes,2,rep,name=commands,proto3" json:"commands,omitempty"` |
| 742 |
} |
| 743 |
|
| 744 |
func (x *GrubState) Reset() { |
| 745 |
*x = GrubState{} |
| 746 |
if protoimpl.UnsafeEnabled { |
| 747 |
mi := &file_attest_proto_msgTypes[5] |
| 748 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 749 |
ms.StoreMessageInfo(mi) |
| 750 |
} |
| 751 |
} |
| 752 |
|
| 753 |
func (x *GrubState) String() string { |
| 754 |
return protoimpl.X.MessageStringOf(x) |
| 755 |
} |
| 756 |
|
| 757 |
func (*GrubState) ProtoMessage() {} |
| 758 |
|
| 759 |
func (x *GrubState) ProtoReflect() protoreflect.Message { |
| 760 |
mi := &file_attest_proto_msgTypes[5] |
| 761 |
if protoimpl.UnsafeEnabled && x != nil { |
| 762 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 763 |
if ms.LoadMessageInfo() == nil { |
| 764 |
ms.StoreMessageInfo(mi) |
| 765 |
} |
| 766 |
return ms |
| 767 |
} |
| 768 |
return mi.MessageOf(x) |
| 769 |
} |
| 770 |
|
| 771 |
// Deprecated: Use GrubState.ProtoReflect.Descriptor instead. |
| 772 |
func (*GrubState) Descriptor() ([]byte, []int) { |
| 773 |
return file_attest_proto_rawDescGZIP(), []int{5} |
| 774 |
} |
| 775 |
|
| 776 |
func (x *GrubState) GetFiles() []*GrubFile { |
| 777 |
if x != nil { |
| 778 |
return x.Files |
| 779 |
} |
| 780 |
return nil |
| 781 |
} |
| 782 |
|
| 783 |
func (x *GrubState) GetCommands() []string { |
| 784 |
if x != nil { |
| 785 |
return x.Commands |
| 786 |
} |
| 787 |
return nil |
| 788 |
} |
| 789 |
|
| 790 |
// The state of the Linux kernel. |
| 791 |
// At the moment, parsing LinuxKernelState relies on parsing the GrubState. |
| 792 |
// To do so, use ParseOpts{Loader: GRUB} when calling ParseMachineState. |
| 793 |
type LinuxKernelState struct { |
| 794 |
state protoimpl.MessageState |
| 795 |
sizeCache protoimpl.SizeCache |
| 796 |
unknownFields protoimpl.UnknownFields |
| 797 |
|
| 798 |
// The kernel command line. |
| 799 |
CommandLine string `protobuf:"bytes,1,opt,name=command_line,json=commandLine,proto3" json:"command_line,omitempty"` |
| 800 |
} |
| 801 |
|
| 802 |
func (x *LinuxKernelState) Reset() { |
| 803 |
*x = LinuxKernelState{} |
| 804 |
if protoimpl.UnsafeEnabled { |
| 805 |
mi := &file_attest_proto_msgTypes[6] |
| 806 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 807 |
ms.StoreMessageInfo(mi) |
| 808 |
} |
| 809 |
} |
| 810 |
|
| 811 |
func (x *LinuxKernelState) String() string { |
| 812 |
return protoimpl.X.MessageStringOf(x) |
| 813 |
} |
| 814 |
|
| 815 |
func (*LinuxKernelState) ProtoMessage() {} |
| 816 |
|
| 817 |
func (x *LinuxKernelState) ProtoReflect() protoreflect.Message { |
| 818 |
mi := &file_attest_proto_msgTypes[6] |
| 819 |
if protoimpl.UnsafeEnabled && x != nil { |
| 820 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 821 |
if ms.LoadMessageInfo() == nil { |
| 822 |
ms.StoreMessageInfo(mi) |
| 823 |
} |
| 824 |
return ms |
| 825 |
} |
| 826 |
return mi.MessageOf(x) |
| 827 |
} |
| 828 |
|
| 829 |
// Deprecated: Use LinuxKernelState.ProtoReflect.Descriptor instead. |
| 830 |
func (*LinuxKernelState) Descriptor() ([]byte, []int) { |
| 831 |
return file_attest_proto_rawDescGZIP(), []int{6} |
| 832 |
} |
| 833 |
|
| 834 |
func (x *LinuxKernelState) GetCommandLine() string { |
| 835 |
if x != nil { |
| 836 |
return x.CommandLine |
| 837 |
} |
| 838 |
return "" |
| 839 |
} |
| 840 |
|
| 841 |
// A parsed event from the TCG event log |
| 842 |
type Event struct { |
| 843 |
state protoimpl.MessageState |
| 844 |
sizeCache protoimpl.SizeCache |
| 845 |
unknownFields protoimpl.UnknownFields |
| 846 |
|
| 847 |
// The Platform Control Register (PCR) this event was extended into. |
| 848 |
PcrIndex uint32 `protobuf:"varint,1,opt,name=pcr_index,json=pcrIndex,proto3" json:"pcr_index,omitempty"` |
| 849 |
// The type of this event. Note that this value is not verified, so it should |
| 850 |
// only be used as a hint during event parsing. |
| 851 |
UntrustedType uint32 `protobuf:"varint,2,opt,name=untrusted_type,json=untrustedType,proto3" json:"untrusted_type,omitempty"` |
| 852 |
// The raw data associated to this event. The meaning of this data is |
| 853 |
// specific to the type of the event. |
| 854 |
Data []byte `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"` |
| 855 |
// The event digest actually extended into the TPM. This is often the hash of |
| 856 |
// the data field, but in some cases it may have a type-specific calculation. |
| 857 |
Digest []byte `protobuf:"bytes,4,opt,name=digest,proto3" json:"digest,omitempty"` |
| 858 |
// This is true if hash(data) == digest. |
| 859 |
DigestVerified bool `protobuf:"varint,5,opt,name=digest_verified,json=digestVerified,proto3" json:"digest_verified,omitempty"` |
| 860 |
} |
| 861 |
|
| 862 |
func (x *Event) Reset() { |
| 863 |
*x = Event{} |
| 864 |
if protoimpl.UnsafeEnabled { |
| 865 |
mi := &file_attest_proto_msgTypes[7] |
| 866 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 867 |
ms.StoreMessageInfo(mi) |
| 868 |
} |
| 869 |
} |
| 870 |
|
| 871 |
func (x *Event) String() string { |
| 872 |
return protoimpl.X.MessageStringOf(x) |
| 873 |
} |
| 874 |
|
| 875 |
func (*Event) ProtoMessage() {} |
| 876 |
|
| 877 |
func (x *Event) ProtoReflect() protoreflect.Message { |
| 878 |
mi := &file_attest_proto_msgTypes[7] |
| 879 |
if protoimpl.UnsafeEnabled && x != nil { |
| 880 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 881 |
if ms.LoadMessageInfo() == nil { |
| 882 |
ms.StoreMessageInfo(mi) |
| 883 |
} |
| 884 |
return ms |
| 885 |
} |
| 886 |
return mi.MessageOf(x) |
| 887 |
} |
| 888 |
|
| 889 |
// Deprecated: Use Event.ProtoReflect.Descriptor instead. |
| 890 |
func (*Event) Descriptor() ([]byte, []int) { |
| 891 |
return file_attest_proto_rawDescGZIP(), []int{7} |
| 892 |
} |
| 893 |
|
| 894 |
func (x *Event) GetPcrIndex() uint32 { |
| 895 |
if x != nil { |
| 896 |
return x.PcrIndex |
| 897 |
} |
| 898 |
return 0 |
| 899 |
} |
| 900 |
|
| 901 |
func (x *Event) GetUntrustedType() uint32 { |
| 902 |
if x != nil { |
| 903 |
return x.UntrustedType |
| 904 |
} |
| 905 |
return 0 |
| 906 |
} |
| 907 |
|
| 908 |
func (x *Event) GetData() []byte { |
| 909 |
if x != nil { |
| 910 |
return x.Data |
| 911 |
} |
| 912 |
return nil |
| 913 |
} |
| 914 |
|
| 915 |
func (x *Event) GetDigest() []byte { |
| 916 |
if x != nil { |
| 917 |
return x.Digest |
| 918 |
} |
| 919 |
return nil |
| 920 |
} |
| 921 |
|
| 922 |
func (x *Event) GetDigestVerified() bool { |
| 923 |
if x != nil { |
| 924 |
return x.DigestVerified |
| 925 |
} |
| 926 |
return false |
| 927 |
} |
| 928 |
|
| 929 |
type Certificate struct { |
| 930 |
state protoimpl.MessageState |
| 931 |
sizeCache protoimpl.SizeCache |
| 932 |
unknownFields protoimpl.UnknownFields |
| 933 |
|
| 934 |
// The representation of the certificate. If the certificate matches a |
| 935 |
// well-known certificate above, representation should contain the value in |
| 936 |
// the enum. Otherwise, it will contain the raw DER. |
| 937 |
// |
| 938 |
// Types that are assignable to Representation: |
| 939 |
// |
| 940 |
// *Certificate_Der |
| 941 |
// *Certificate_WellKnown |
| 942 |
Representation isCertificate_Representation `protobuf_oneof:"representation"` |
| 943 |
} |
| 944 |
|
| 945 |
func (x *Certificate) Reset() { |
| 946 |
*x = Certificate{} |
| 947 |
if protoimpl.UnsafeEnabled { |
| 948 |
mi := &file_attest_proto_msgTypes[8] |
| 949 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 950 |
ms.StoreMessageInfo(mi) |
| 951 |
} |
| 952 |
} |
| 953 |
|
| 954 |
func (x *Certificate) String() string { |
| 955 |
return protoimpl.X.MessageStringOf(x) |
| 956 |
} |
| 957 |
|
| 958 |
func (*Certificate) ProtoMessage() {} |
| 959 |
|
| 960 |
func (x *Certificate) ProtoReflect() protoreflect.Message { |
| 961 |
mi := &file_attest_proto_msgTypes[8] |
| 962 |
if protoimpl.UnsafeEnabled && x != nil { |
| 963 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 964 |
if ms.LoadMessageInfo() == nil { |
| 965 |
ms.StoreMessageInfo(mi) |
| 966 |
} |
| 967 |
return ms |
| 968 |
} |
| 969 |
return mi.MessageOf(x) |
| 970 |
} |
| 971 |
|
| 972 |
// Deprecated: Use Certificate.ProtoReflect.Descriptor instead. |
| 973 |
func (*Certificate) Descriptor() ([]byte, []int) { |
| 974 |
return file_attest_proto_rawDescGZIP(), []int{8} |
| 975 |
} |
| 976 |
|
| 977 |
func (m *Certificate) GetRepresentation() isCertificate_Representation { |
| 978 |
if m != nil { |
| 979 |
return m.Representation |
| 980 |
} |
| 981 |
return nil |
| 982 |
} |
| 983 |
|
| 984 |
func (x *Certificate) GetDer() []byte { |
| 985 |
if x, ok := x.GetRepresentation().(*Certificate_Der); ok { |
| 986 |
return x.Der |
| 987 |
} |
| 988 |
return nil |
| 989 |
} |
| 990 |
|
| 991 |
func (x *Certificate) GetWellKnown() WellKnownCertificate { |
| 992 |
if x, ok := x.GetRepresentation().(*Certificate_WellKnown); ok { |
| 993 |
return x.WellKnown |
| 994 |
} |
| 995 |
return WellKnownCertificate_UNKNOWN |
| 996 |
} |
| 997 |
|
| 998 |
type isCertificate_Representation interface { |
| 999 |
isCertificate_Representation() |
| 1000 |
} |
| 1001 |
|
| 1002 |
type Certificate_Der struct { |
| 1003 |
// DER representation of the certificate. |
| 1004 |
Der []byte `protobuf:"bytes,1,opt,name=der,proto3,oneof"` |
| 1005 |
} |
| 1006 |
|
| 1007 |
type Certificate_WellKnown struct { |
| 1008 |
WellKnown WellKnownCertificate `protobuf:"varint,2,opt,name=well_known,json=wellKnown,proto3,enum=attest.WellKnownCertificate,oneof"` |
| 1009 |
} |
| 1010 |
|
| 1011 |
func (*Certificate_Der) isCertificate_Representation() {} |
| 1012 |
|
| 1013 |
func (*Certificate_WellKnown) isCertificate_Representation() {} |
| 1014 |
|
| 1015 |
// A Secure Boot database containing lists of hashes and certificates, |
| 1016 |
// as defined by section 32.4.1 Signature Database in the UEFI spec. |
| 1017 |
type Database struct { |
| 1018 |
state protoimpl.MessageState |
| 1019 |
sizeCache protoimpl.SizeCache |
| 1020 |
unknownFields protoimpl.UnknownFields |
| 1021 |
|
| 1022 |
Certs []*Certificate `protobuf:"bytes,1,rep,name=certs,proto3" json:"certs,omitempty"` |
| 1023 |
Hashes [][]byte `protobuf:"bytes,2,rep,name=hashes,proto3" json:"hashes,omitempty"` |
| 1024 |
} |
| 1025 |
|
| 1026 |
func (x *Database) Reset() { |
| 1027 |
*x = Database{} |
| 1028 |
if protoimpl.UnsafeEnabled { |
| 1029 |
mi := &file_attest_proto_msgTypes[9] |
| 1030 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 1031 |
ms.StoreMessageInfo(mi) |
| 1032 |
} |
| 1033 |
} |
| 1034 |
|
| 1035 |
func (x *Database) String() string { |
| 1036 |
return protoimpl.X.MessageStringOf(x) |
| 1037 |
} |
| 1038 |
|
| 1039 |
func (*Database) ProtoMessage() {} |
| 1040 |
|
| 1041 |
func (x *Database) ProtoReflect() protoreflect.Message { |
| 1042 |
mi := &file_attest_proto_msgTypes[9] |
| 1043 |
if protoimpl.UnsafeEnabled && x != nil { |
| 1044 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 1045 |
if ms.LoadMessageInfo() == nil { |
| 1046 |
ms.StoreMessageInfo(mi) |
| 1047 |
} |
| 1048 |
return ms |
| 1049 |
} |
| 1050 |
return mi.MessageOf(x) |
| 1051 |
} |
| 1052 |
|
| 1053 |
// Deprecated: Use Database.ProtoReflect.Descriptor instead. |
| 1054 |
func (*Database) Descriptor() ([]byte, []int) { |
| 1055 |
return file_attest_proto_rawDescGZIP(), []int{9} |
| 1056 |
} |
| 1057 |
|
| 1058 |
func (x *Database) GetCerts() []*Certificate { |
| 1059 |
if x != nil { |
| 1060 |
return x.Certs |
| 1061 |
} |
| 1062 |
return nil |
| 1063 |
} |
| 1064 |
|
| 1065 |
func (x *Database) GetHashes() [][]byte { |
| 1066 |
if x != nil { |
| 1067 |
return x.Hashes |
| 1068 |
} |
| 1069 |
return nil |
| 1070 |
} |
| 1071 |
|
| 1072 |
// The Secure Boot state for this instance. |
| 1073 |
type SecureBootState struct { |
| 1074 |
state protoimpl.MessageState |
| 1075 |
sizeCache protoimpl.SizeCache |
| 1076 |
unknownFields protoimpl.UnknownFields |
| 1077 |
|
| 1078 |
// Whether Secure Boot is enabled. |
| 1079 |
Enabled bool `protobuf:"varint,1,opt,name=enabled,proto3" json:"enabled,omitempty"` |
| 1080 |
// The Secure Boot signature (allowed) database. |
| 1081 |
Db *Database `protobuf:"bytes,2,opt,name=db,proto3" json:"db,omitempty"` |
| 1082 |
// The Secure Boot revoked signature (forbidden) database. |
| 1083 |
Dbx *Database `protobuf:"bytes,3,opt,name=dbx,proto3" json:"dbx,omitempty"` |
| 1084 |
// Authority events post-separator. Pre-separator authorities |
| 1085 |
// are currently not supported. |
| 1086 |
Authority *Database `protobuf:"bytes,4,opt,name=authority,proto3" json:"authority,omitempty"` |
| 1087 |
// The Secure Boot Platform key, used to sign key exchange keys. |
| 1088 |
Pk *Database `protobuf:"bytes,5,opt,name=pk,proto3" json:"pk,omitempty"` |
| 1089 |
// The Secure Boot Key Exchange Keys, used to sign db and dbx updates. |
| 1090 |
Kek *Database `protobuf:"bytes,6,opt,name=kek,proto3" json:"kek,omitempty"` |
| 1091 |
} |
| 1092 |
|
| 1093 |
func (x *SecureBootState) Reset() { |
| 1094 |
*x = SecureBootState{} |
| 1095 |
if protoimpl.UnsafeEnabled { |
| 1096 |
mi := &file_attest_proto_msgTypes[10] |
| 1097 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 1098 |
ms.StoreMessageInfo(mi) |
| 1099 |
} |
| 1100 |
} |
| 1101 |
|
| 1102 |
func (x *SecureBootState) String() string { |
| 1103 |
return protoimpl.X.MessageStringOf(x) |
| 1104 |
} |
| 1105 |
|
| 1106 |
func (*SecureBootState) ProtoMessage() {} |
| 1107 |
|
| 1108 |
func (x *SecureBootState) ProtoReflect() protoreflect.Message { |
| 1109 |
mi := &file_attest_proto_msgTypes[10] |
| 1110 |
if protoimpl.UnsafeEnabled && x != nil { |
| 1111 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 1112 |
if ms.LoadMessageInfo() == nil { |
| 1113 |
ms.StoreMessageInfo(mi) |
| 1114 |
} |
| 1115 |
return ms |
| 1116 |
} |
| 1117 |
return mi.MessageOf(x) |
| 1118 |
} |
| 1119 |
|
| 1120 |
// Deprecated: Use SecureBootState.ProtoReflect.Descriptor instead. |
| 1121 |
func (*SecureBootState) Descriptor() ([]byte, []int) { |
| 1122 |
return file_attest_proto_rawDescGZIP(), []int{10} |
| 1123 |
} |
| 1124 |
|
| 1125 |
func (x *SecureBootState) GetEnabled() bool { |
| 1126 |
if x != nil { |
| 1127 |
return x.Enabled |
| 1128 |
} |
| 1129 |
return false |
| 1130 |
} |
| 1131 |
|
| 1132 |
func (x *SecureBootState) GetDb() *Database { |
| 1133 |
if x != nil { |
| 1134 |
return x.Db |
| 1135 |
} |
| 1136 |
return nil |
| 1137 |
} |
| 1138 |
|
| 1139 |
func (x *SecureBootState) GetDbx() *Database { |
| 1140 |
if x != nil { |
| 1141 |
return x.Dbx |
| 1142 |
} |
| 1143 |
return nil |
| 1144 |
} |
| 1145 |
|
| 1146 |
func (x *SecureBootState) GetAuthority() *Database { |
| 1147 |
if x != nil { |
| 1148 |
return x.Authority |
| 1149 |
} |
| 1150 |
return nil |
| 1151 |
} |
| 1152 |
|
| 1153 |
func (x *SecureBootState) GetPk() *Database { |
| 1154 |
if x != nil { |
| 1155 |
return x.Pk |
| 1156 |
} |
| 1157 |
return nil |
| 1158 |
} |
| 1159 |
|
| 1160 |
func (x *SecureBootState) GetKek() *Database { |
| 1161 |
if x != nil { |
| 1162 |
return x.Kek |
| 1163 |
} |
| 1164 |
return nil |
| 1165 |
} |
| 1166 |
|
| 1167 |
type ContainerState struct { |
| 1168 |
state protoimpl.MessageState |
| 1169 |
sizeCache protoimpl.SizeCache |
| 1170 |
unknownFields protoimpl.UnknownFields |
| 1171 |
|
| 1172 |
ImageReference string `protobuf:"bytes,1,opt,name=image_reference,json=imageReference,proto3" json:"image_reference,omitempty"` |
| 1173 |
// Digest of the registry's image manifest, which contains a list of the |
| 1174 |
// layers comprising the image. |
| 1175 |
ImageDigest string `protobuf:"bytes,2,opt,name=image_digest,json=imageDigest,proto3" json:"image_digest,omitempty"` |
| 1176 |
RestartPolicy RestartPolicy `protobuf:"varint,3,opt,name=restart_policy,json=restartPolicy,proto3,enum=attest.RestartPolicy" json:"restart_policy,omitempty"` |
| 1177 |
// Digest of the local image configuration object, containing config items |
| 1178 |
// such as local layer digests. |
| 1179 |
ImageId string `protobuf:"bytes,4,opt,name=image_id,json=imageId,proto3" json:"image_id,omitempty"` |
| 1180 |
Args []string `protobuf:"bytes,5,rep,name=args,proto3" json:"args,omitempty"` |
| 1181 |
EnvVars map[string]string `protobuf:"bytes,6,rep,name=env_vars,json=envVars,proto3" json:"env_vars,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` |
| 1182 |
// Record operator input Env Vars and Args, should be subsets of the above |
| 1183 |
// Env Vars and Args. |
| 1184 |
OverriddenArgs []string `protobuf:"bytes,7,rep,name=overridden_args,json=overriddenArgs,proto3" json:"overridden_args,omitempty"` |
| 1185 |
OverriddenEnvVars map[string]string `protobuf:"bytes,8,rep,name=overridden_env_vars,json=overriddenEnvVars,proto3" json:"overridden_env_vars,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` |
| 1186 |
} |
| 1187 |
|
| 1188 |
func (x *ContainerState) Reset() { |
| 1189 |
*x = ContainerState{} |
| 1190 |
if protoimpl.UnsafeEnabled { |
| 1191 |
mi := &file_attest_proto_msgTypes[11] |
| 1192 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 1193 |
ms.StoreMessageInfo(mi) |
| 1194 |
} |
| 1195 |
} |
| 1196 |
|
| 1197 |
func (x *ContainerState) String() string { |
| 1198 |
return protoimpl.X.MessageStringOf(x) |
| 1199 |
} |
| 1200 |
|
| 1201 |
func (*ContainerState) ProtoMessage() {} |
| 1202 |
|
| 1203 |
func (x *ContainerState) ProtoReflect() protoreflect.Message { |
| 1204 |
mi := &file_attest_proto_msgTypes[11] |
| 1205 |
if protoimpl.UnsafeEnabled && x != nil { |
| 1206 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 1207 |
if ms.LoadMessageInfo() == nil { |
| 1208 |
ms.StoreMessageInfo(mi) |
| 1209 |
} |
| 1210 |
return ms |
| 1211 |
} |
| 1212 |
return mi.MessageOf(x) |
| 1213 |
} |
| 1214 |
|
| 1215 |
// Deprecated: Use ContainerState.ProtoReflect.Descriptor instead. |
| 1216 |
func (*ContainerState) Descriptor() ([]byte, []int) { |
| 1217 |
return file_attest_proto_rawDescGZIP(), []int{11} |
| 1218 |
} |
| 1219 |
|
| 1220 |
func (x *ContainerState) GetImageReference() string { |
| 1221 |
if x != nil { |
| 1222 |
return x.ImageReference |
| 1223 |
} |
| 1224 |
return "" |
| 1225 |
} |
| 1226 |
|
| 1227 |
func (x *ContainerState) GetImageDigest() string { |
| 1228 |
if x != nil { |
| 1229 |
return x.ImageDigest |
| 1230 |
} |
| 1231 |
return "" |
| 1232 |
} |
| 1233 |
|
| 1234 |
func (x *ContainerState) GetRestartPolicy() RestartPolicy { |
| 1235 |
if x != nil { |
| 1236 |
return x.RestartPolicy |
| 1237 |
} |
| 1238 |
return RestartPolicy_Always |
| 1239 |
} |
| 1240 |
|
| 1241 |
func (x *ContainerState) GetImageId() string { |
| 1242 |
if x != nil { |
| 1243 |
return x.ImageId |
| 1244 |
} |
| 1245 |
return "" |
| 1246 |
} |
| 1247 |
|
| 1248 |
func (x *ContainerState) GetArgs() []string { |
| 1249 |
if x != nil { |
| 1250 |
return x.Args |
| 1251 |
} |
| 1252 |
return nil |
| 1253 |
} |
| 1254 |
|
| 1255 |
func (x *ContainerState) GetEnvVars() map[string]string { |
| 1256 |
if x != nil { |
| 1257 |
return x.EnvVars |
| 1258 |
} |
| 1259 |
return nil |
| 1260 |
} |
| 1261 |
|
| 1262 |
func (x *ContainerState) GetOverriddenArgs() []string { |
| 1263 |
if x != nil { |
| 1264 |
return x.OverriddenArgs |
| 1265 |
} |
| 1266 |
return nil |
| 1267 |
} |
| 1268 |
|
| 1269 |
func (x *ContainerState) GetOverriddenEnvVars() map[string]string { |
| 1270 |
if x != nil { |
| 1271 |
return x.OverriddenEnvVars |
| 1272 |
} |
| 1273 |
return nil |
| 1274 |
} |
| 1275 |
|
| 1276 |
type SemanticVersion struct { |
| 1277 |
state protoimpl.MessageState |
| 1278 |
sizeCache protoimpl.SizeCache |
| 1279 |
unknownFields protoimpl.UnknownFields |
| 1280 |
|
| 1281 |
Major uint32 `protobuf:"varint,1,opt,name=major,proto3" json:"major,omitempty"` |
| 1282 |
Minor uint32 `protobuf:"varint,2,opt,name=minor,proto3" json:"minor,omitempty"` |
| 1283 |
Patch uint32 `protobuf:"varint,3,opt,name=patch,proto3" json:"patch,omitempty"` |
| 1284 |
} |
| 1285 |
|
| 1286 |
func (x *SemanticVersion) Reset() { |
| 1287 |
*x = SemanticVersion{} |
| 1288 |
if protoimpl.UnsafeEnabled { |
| 1289 |
mi := &file_attest_proto_msgTypes[12] |
| 1290 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 1291 |
ms.StoreMessageInfo(mi) |
| 1292 |
} |
| 1293 |
} |
| 1294 |
|
| 1295 |
func (x *SemanticVersion) String() string { |
| 1296 |
return protoimpl.X.MessageStringOf(x) |
| 1297 |
} |
| 1298 |
|
| 1299 |
func (*SemanticVersion) ProtoMessage() {} |
| 1300 |
|
| 1301 |
func (x *SemanticVersion) ProtoReflect() protoreflect.Message { |
| 1302 |
mi := &file_attest_proto_msgTypes[12] |
| 1303 |
if protoimpl.UnsafeEnabled && x != nil { |
| 1304 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 1305 |
if ms.LoadMessageInfo() == nil { |
| 1306 |
ms.StoreMessageInfo(mi) |
| 1307 |
} |
| 1308 |
return ms |
| 1309 |
} |
| 1310 |
return mi.MessageOf(x) |
| 1311 |
} |
| 1312 |
|
| 1313 |
// Deprecated: Use SemanticVersion.ProtoReflect.Descriptor instead. |
| 1314 |
func (*SemanticVersion) Descriptor() ([]byte, []int) { |
| 1315 |
return file_attest_proto_rawDescGZIP(), []int{12} |
| 1316 |
} |
| 1317 |
|
| 1318 |
func (x *SemanticVersion) GetMajor() uint32 { |
| 1319 |
if x != nil { |
| 1320 |
return x.Major |
| 1321 |
} |
| 1322 |
return 0 |
| 1323 |
} |
| 1324 |
|
| 1325 |
func (x *SemanticVersion) GetMinor() uint32 { |
| 1326 |
if x != nil { |
| 1327 |
return x.Minor |
| 1328 |
} |
| 1329 |
return 0 |
| 1330 |
} |
| 1331 |
|
| 1332 |
func (x *SemanticVersion) GetPatch() uint32 { |
| 1333 |
if x != nil { |
| 1334 |
return x.Patch |
| 1335 |
} |
| 1336 |
return 0 |
| 1337 |
} |
| 1338 |
|
| 1339 |
type HealthMonitoringState struct { |
| 1340 |
state protoimpl.MessageState |
| 1341 |
sizeCache protoimpl.SizeCache |
| 1342 |
unknownFields protoimpl.UnknownFields |
| 1343 |
|
| 1344 |
// Whether memory monitoring is enabled. |
| 1345 |
MemoryEnabled *bool `protobuf:"varint,1,opt,name=memory_enabled,json=memoryEnabled,proto3,oneof" json:"memory_enabled,omitempty"` |
| 1346 |
} |
| 1347 |
|
| 1348 |
func (x *HealthMonitoringState) Reset() { |
| 1349 |
*x = HealthMonitoringState{} |
| 1350 |
if protoimpl.UnsafeEnabled { |
| 1351 |
mi := &file_attest_proto_msgTypes[13] |
| 1352 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 1353 |
ms.StoreMessageInfo(mi) |
| 1354 |
} |
| 1355 |
} |
| 1356 |
|
| 1357 |
func (x *HealthMonitoringState) String() string { |
| 1358 |
return protoimpl.X.MessageStringOf(x) |
| 1359 |
} |
| 1360 |
|
| 1361 |
func (*HealthMonitoringState) ProtoMessage() {} |
| 1362 |
|
| 1363 |
func (x *HealthMonitoringState) ProtoReflect() protoreflect.Message { |
| 1364 |
mi := &file_attest_proto_msgTypes[13] |
| 1365 |
if protoimpl.UnsafeEnabled && x != nil { |
| 1366 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 1367 |
if ms.LoadMessageInfo() == nil { |
| 1368 |
ms.StoreMessageInfo(mi) |
| 1369 |
} |
| 1370 |
return ms |
| 1371 |
} |
| 1372 |
return mi.MessageOf(x) |
| 1373 |
} |
| 1374 |
|
| 1375 |
// Deprecated: Use HealthMonitoringState.ProtoReflect.Descriptor instead. |
| 1376 |
func (*HealthMonitoringState) Descriptor() ([]byte, []int) { |
| 1377 |
return file_attest_proto_rawDescGZIP(), []int{13} |
| 1378 |
} |
| 1379 |
|
| 1380 |
func (x *HealthMonitoringState) GetMemoryEnabled() bool { |
| 1381 |
if x != nil && x.MemoryEnabled != nil { |
| 1382 |
return *x.MemoryEnabled |
| 1383 |
} |
| 1384 |
return false |
| 1385 |
} |
| 1386 |
|
| 1387 |
type GpuDeviceState struct { |
| 1388 |
state protoimpl.MessageState |
| 1389 |
sizeCache protoimpl.SizeCache |
| 1390 |
unknownFields protoimpl.UnknownFields |
| 1391 |
|
| 1392 |
// Whether Confidential Computing mode is enabled for GPU. |
| 1393 |
CcMode GPUDeviceCCMode `protobuf:"varint,1,opt,name=cc_mode,json=ccMode,proto3,enum=attest.GPUDeviceCCMode" json:"cc_mode,omitempty"` |
| 1394 |
} |
| 1395 |
|
| 1396 |
func (x *GpuDeviceState) Reset() { |
| 1397 |
*x = GpuDeviceState{} |
| 1398 |
if protoimpl.UnsafeEnabled { |
| 1399 |
mi := &file_attest_proto_msgTypes[14] |
| 1400 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 1401 |
ms.StoreMessageInfo(mi) |
| 1402 |
} |
| 1403 |
} |
| 1404 |
|
| 1405 |
func (x *GpuDeviceState) String() string { |
| 1406 |
return protoimpl.X.MessageStringOf(x) |
| 1407 |
} |
| 1408 |
|
| 1409 |
func (*GpuDeviceState) ProtoMessage() {} |
| 1410 |
|
| 1411 |
func (x *GpuDeviceState) ProtoReflect() protoreflect.Message { |
| 1412 |
mi := &file_attest_proto_msgTypes[14] |
| 1413 |
if protoimpl.UnsafeEnabled && x != nil { |
| 1414 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 1415 |
if ms.LoadMessageInfo() == nil { |
| 1416 |
ms.StoreMessageInfo(mi) |
| 1417 |
} |
| 1418 |
return ms |
| 1419 |
} |
| 1420 |
return mi.MessageOf(x) |
| 1421 |
} |
| 1422 |
|
| 1423 |
// Deprecated: Use GpuDeviceState.ProtoReflect.Descriptor instead. |
| 1424 |
func (*GpuDeviceState) Descriptor() ([]byte, []int) { |
| 1425 |
return file_attest_proto_rawDescGZIP(), []int{14} |
| 1426 |
} |
| 1427 |
|
| 1428 |
func (x *GpuDeviceState) GetCcMode() GPUDeviceCCMode { |
| 1429 |
if x != nil { |
| 1430 |
return x.CcMode |
| 1431 |
} |
| 1432 |
return GPUDeviceCCMode_UNSET |
| 1433 |
} |
| 1434 |
|
| 1435 |
type AttestedCosState struct { |
| 1436 |
state protoimpl.MessageState |
| 1437 |
sizeCache protoimpl.SizeCache |
| 1438 |
unknownFields protoimpl.UnknownFields |
| 1439 |
|
| 1440 |
Container *ContainerState `protobuf:"bytes,1,opt,name=container,proto3" json:"container,omitempty"` |
| 1441 |
CosVersion *SemanticVersion `protobuf:"bytes,2,opt,name=cos_version,json=cosVersion,proto3" json:"cos_version,omitempty"` |
| 1442 |
LauncherVersion *SemanticVersion `protobuf:"bytes,3,opt,name=launcher_version,json=launcherVersion,proto3" json:"launcher_version,omitempty"` |
| 1443 |
HealthMonitoring *HealthMonitoringState `protobuf:"bytes,4,opt,name=health_monitoring,json=healthMonitoring,proto3" json:"health_monitoring,omitempty"` |
| 1444 |
GpuDeviceState *GpuDeviceState `protobuf:"bytes,5,opt,name=gpu_device_state,json=gpuDeviceState,proto3" json:"gpu_device_state,omitempty"` |
| 1445 |
} |
| 1446 |
|
| 1447 |
func (x *AttestedCosState) Reset() { |
| 1448 |
*x = AttestedCosState{} |
| 1449 |
if protoimpl.UnsafeEnabled { |
| 1450 |
mi := &file_attest_proto_msgTypes[15] |
| 1451 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 1452 |
ms.StoreMessageInfo(mi) |
| 1453 |
} |
| 1454 |
} |
| 1455 |
|
| 1456 |
func (x *AttestedCosState) String() string { |
| 1457 |
return protoimpl.X.MessageStringOf(x) |
| 1458 |
} |
| 1459 |
|
| 1460 |
func (*AttestedCosState) ProtoMessage() {} |
| 1461 |
|
| 1462 |
func (x *AttestedCosState) ProtoReflect() protoreflect.Message { |
| 1463 |
mi := &file_attest_proto_msgTypes[15] |
| 1464 |
if protoimpl.UnsafeEnabled && x != nil { |
| 1465 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 1466 |
if ms.LoadMessageInfo() == nil { |
| 1467 |
ms.StoreMessageInfo(mi) |
| 1468 |
} |
| 1469 |
return ms |
| 1470 |
} |
| 1471 |
return mi.MessageOf(x) |
| 1472 |
} |
| 1473 |
|
| 1474 |
// Deprecated: Use AttestedCosState.ProtoReflect.Descriptor instead. |
| 1475 |
func (*AttestedCosState) Descriptor() ([]byte, []int) { |
| 1476 |
return file_attest_proto_rawDescGZIP(), []int{15} |
| 1477 |
} |
| 1478 |
|
| 1479 |
func (x *AttestedCosState) GetContainer() *ContainerState { |
| 1480 |
if x != nil { |
| 1481 |
return x.Container |
| 1482 |
} |
| 1483 |
return nil |
| 1484 |
} |
| 1485 |
|
| 1486 |
func (x *AttestedCosState) GetCosVersion() *SemanticVersion { |
| 1487 |
if x != nil { |
| 1488 |
return x.CosVersion |
| 1489 |
} |
| 1490 |
return nil |
| 1491 |
} |
| 1492 |
|
| 1493 |
func (x *AttestedCosState) GetLauncherVersion() *SemanticVersion { |
| 1494 |
if x != nil { |
| 1495 |
return x.LauncherVersion |
| 1496 |
} |
| 1497 |
return nil |
| 1498 |
} |
| 1499 |
|
| 1500 |
func (x *AttestedCosState) GetHealthMonitoring() *HealthMonitoringState { |
| 1501 |
if x != nil { |
| 1502 |
return x.HealthMonitoring |
| 1503 |
} |
| 1504 |
return nil |
| 1505 |
} |
| 1506 |
|
| 1507 |
func (x *AttestedCosState) GetGpuDeviceState() *GpuDeviceState { |
| 1508 |
if x != nil { |
| 1509 |
return x.GpuDeviceState |
| 1510 |
} |
| 1511 |
return nil |
| 1512 |
} |
| 1513 |
|
| 1514 |
type EfiApp struct { |
| 1515 |
state protoimpl.MessageState |
| 1516 |
sizeCache protoimpl.SizeCache |
| 1517 |
unknownFields protoimpl.UnknownFields |
| 1518 |
|
| 1519 |
// The PE/COFF digest of the EFI application (pulled from the raw event digest). |
| 1520 |
Digest []byte `protobuf:"bytes,1,opt,name=digest,proto3" json:"digest,omitempty"` |
| 1521 |
} |
| 1522 |
|
| 1523 |
func (x *EfiApp) Reset() { |
| 1524 |
*x = EfiApp{} |
| 1525 |
if protoimpl.UnsafeEnabled { |
| 1526 |
mi := &file_attest_proto_msgTypes[16] |
| 1527 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 1528 |
ms.StoreMessageInfo(mi) |
| 1529 |
} |
| 1530 |
} |
| 1531 |
|
| 1532 |
func (x *EfiApp) String() string { |
| 1533 |
return protoimpl.X.MessageStringOf(x) |
| 1534 |
} |
| 1535 |
|
| 1536 |
func (*EfiApp) ProtoMessage() {} |
| 1537 |
|
| 1538 |
func (x *EfiApp) ProtoReflect() protoreflect.Message { |
| 1539 |
mi := &file_attest_proto_msgTypes[16] |
| 1540 |
if protoimpl.UnsafeEnabled && x != nil { |
| 1541 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 1542 |
if ms.LoadMessageInfo() == nil { |
| 1543 |
ms.StoreMessageInfo(mi) |
| 1544 |
} |
| 1545 |
return ms |
| 1546 |
} |
| 1547 |
return mi.MessageOf(x) |
| 1548 |
} |
| 1549 |
|
| 1550 |
// Deprecated: Use EfiApp.ProtoReflect.Descriptor instead. |
| 1551 |
func (*EfiApp) Descriptor() ([]byte, []int) { |
| 1552 |
return file_attest_proto_rawDescGZIP(), []int{16} |
| 1553 |
} |
| 1554 |
|
| 1555 |
func (x *EfiApp) GetDigest() []byte { |
| 1556 |
if x != nil { |
| 1557 |
return x.Digest |
| 1558 |
} |
| 1559 |
return nil |
| 1560 |
} |
| 1561 |
|
| 1562 |
// The verified state of EFI Applications. Policy usage on this machine state |
| 1563 |
// should check the entire set of EFI App digests matches, not a subset. |
| 1564 |
type EfiState struct { |
| 1565 |
state protoimpl.MessageState |
| 1566 |
sizeCache protoimpl.SizeCache |
| 1567 |
unknownFields protoimpl.UnknownFields |
| 1568 |
|
| 1569 |
// UEFI's OS Loader code is required to measure attempts to load and execute |
| 1570 |
// UEFI applications. |
| 1571 |
// UEFI applications are typically bootloaders such as shim and GRUB. |
| 1572 |
// These run and are measured using the UEFI LoadImage() service. |
| 1573 |
Apps []*EfiApp `protobuf:"bytes,1,rep,name=apps,proto3" json:"apps,omitempty"` |
| 1574 |
// The EFI drivers, |
| 1575 |
// obtained from https://trustedcomputinggroup.org/wp-content/uploads/TCG_EFI_Platform_1_22_Final_-v15.pdf#page=22. |
| 1576 |
// The EFI Boot Services Drivers from adapter or loaded bydriver in adapter. |
| 1577 |
BootServicesDrivers []*EfiApp `protobuf:"bytes,2,rep,name=boot_services_drivers,json=bootServicesDrivers,proto3" json:"boot_services_drivers,omitempty"` |
| 1578 |
// The EFI Runtime Drivers from adapter or loaded bydriver in adapter. |
| 1579 |
RuntimeServicesDrivers []*EfiApp `protobuf:"bytes,3,rep,name=runtime_services_drivers,json=runtimeServicesDrivers,proto3" json:"runtime_services_drivers,omitempty"` |
| 1580 |
} |
| 1581 |
|
| 1582 |
func (x *EfiState) Reset() { |
| 1583 |
*x = EfiState{} |
| 1584 |
if protoimpl.UnsafeEnabled { |
| 1585 |
mi := &file_attest_proto_msgTypes[17] |
| 1586 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 1587 |
ms.StoreMessageInfo(mi) |
| 1588 |
} |
| 1589 |
} |
| 1590 |
|
| 1591 |
func (x *EfiState) String() string { |
| 1592 |
return protoimpl.X.MessageStringOf(x) |
| 1593 |
} |
| 1594 |
|
| 1595 |
func (*EfiState) ProtoMessage() {} |
| 1596 |
|
| 1597 |
func (x *EfiState) ProtoReflect() protoreflect.Message { |
| 1598 |
mi := &file_attest_proto_msgTypes[17] |
| 1599 |
if protoimpl.UnsafeEnabled && x != nil { |
| 1600 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 1601 |
if ms.LoadMessageInfo() == nil { |
| 1602 |
ms.StoreMessageInfo(mi) |
| 1603 |
} |
| 1604 |
return ms |
| 1605 |
} |
| 1606 |
return mi.MessageOf(x) |
| 1607 |
} |
| 1608 |
|
| 1609 |
// Deprecated: Use EfiState.ProtoReflect.Descriptor instead. |
| 1610 |
func (*EfiState) Descriptor() ([]byte, []int) { |
| 1611 |
return file_attest_proto_rawDescGZIP(), []int{17} |
| 1612 |
} |
| 1613 |
|
| 1614 |
func (x *EfiState) GetApps() []*EfiApp { |
| 1615 |
if x != nil { |
| 1616 |
return x.Apps |
| 1617 |
} |
| 1618 |
return nil |
| 1619 |
} |
| 1620 |
|
| 1621 |
func (x *EfiState) GetBootServicesDrivers() []*EfiApp { |
| 1622 |
if x != nil { |
| 1623 |
return x.BootServicesDrivers |
| 1624 |
} |
| 1625 |
return nil |
| 1626 |
} |
| 1627 |
|
| 1628 |
func (x *EfiState) GetRuntimeServicesDrivers() []*EfiApp { |
| 1629 |
if x != nil { |
| 1630 |
return x.RuntimeServicesDrivers |
| 1631 |
} |
| 1632 |
return nil |
| 1633 |
} |
| 1634 |
|
| 1635 |
// The verified state of a booted machine, obtained from an Attestation |
| 1636 |
type MachineState struct { |
| 1637 |
state protoimpl.MessageState |
| 1638 |
sizeCache protoimpl.SizeCache |
| 1639 |
unknownFields protoimpl.UnknownFields |
| 1640 |
|
| 1641 |
Platform *PlatformState `protobuf:"bytes,1,opt,name=platform,proto3" json:"platform,omitempty"` |
| 1642 |
SecureBoot *SecureBootState `protobuf:"bytes,2,opt,name=secure_boot,json=secureBoot,proto3" json:"secure_boot,omitempty"` |
| 1643 |
// The complete parsed TCG Event Log, including those events used to |
| 1644 |
// create the PlatformState. |
| 1645 |
RawEvents []*Event `protobuf:"bytes,3,rep,name=raw_events,json=rawEvents,proto3" json:"raw_events,omitempty"` |
| 1646 |
// The hash algorithm used when verifying the Attestation. This indicates: |
| 1647 |
// - which PCR bank was used for for quote validation and event log replay |
| 1648 |
// - the hash algorithm used to calculate event digests |
| 1649 |
Hash tpm.HashAlgo `protobuf:"varint,4,opt,name=hash,proto3,enum=tpm.HashAlgo" json:"hash,omitempty"` |
| 1650 |
Grub *GrubState `protobuf:"bytes,5,opt,name=grub,proto3" json:"grub,omitempty"` |
| 1651 |
LinuxKernel *LinuxKernelState `protobuf:"bytes,6,opt,name=linux_kernel,json=linuxKernel,proto3" json:"linux_kernel,omitempty"` |
| 1652 |
Cos *AttestedCosState `protobuf:"bytes,7,opt,name=cos,proto3" json:"cos,omitempty"` |
| 1653 |
Efi *EfiState `protobuf:"bytes,8,opt,name=efi,proto3" json:"efi,omitempty"` |
| 1654 |
// Attestation/Quote representations from TEEs whose signatures are already |
| 1655 |
// verified. |
| 1656 |
// |
| 1657 |
// Types that are assignable to TeeAttestation: |
| 1658 |
// |
| 1659 |
// *MachineState_SevSnpAttestation |
| 1660 |
// *MachineState_TdxAttestation |
| 1661 |
TeeAttestation isMachineState_TeeAttestation `protobuf_oneof:"tee_attestation"` |
| 1662 |
} |
| 1663 |
|
| 1664 |
func (x *MachineState) Reset() { |
| 1665 |
*x = MachineState{} |
| 1666 |
if protoimpl.UnsafeEnabled { |
| 1667 |
mi := &file_attest_proto_msgTypes[18] |
| 1668 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 1669 |
ms.StoreMessageInfo(mi) |
| 1670 |
} |
| 1671 |
} |
| 1672 |
|
| 1673 |
func (x *MachineState) String() string { |
| 1674 |
return protoimpl.X.MessageStringOf(x) |
| 1675 |
} |
| 1676 |
|
| 1677 |
func (*MachineState) ProtoMessage() {} |
| 1678 |
|
| 1679 |
func (x *MachineState) ProtoReflect() protoreflect.Message { |
| 1680 |
mi := &file_attest_proto_msgTypes[18] |
| 1681 |
if protoimpl.UnsafeEnabled && x != nil { |
| 1682 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 1683 |
if ms.LoadMessageInfo() == nil { |
| 1684 |
ms.StoreMessageInfo(mi) |
| 1685 |
} |
| 1686 |
return ms |
| 1687 |
} |
| 1688 |
return mi.MessageOf(x) |
| 1689 |
} |
| 1690 |
|
| 1691 |
// Deprecated: Use MachineState.ProtoReflect.Descriptor instead. |
| 1692 |
func (*MachineState) Descriptor() ([]byte, []int) { |
| 1693 |
return file_attest_proto_rawDescGZIP(), []int{18} |
| 1694 |
} |
| 1695 |
|
| 1696 |
func (x *MachineState) GetPlatform() *PlatformState { |
| 1697 |
if x != nil { |
| 1698 |
return x.Platform |
| 1699 |
} |
| 1700 |
return nil |
| 1701 |
} |
| 1702 |
|
| 1703 |
func (x *MachineState) GetSecureBoot() *SecureBootState { |
| 1704 |
if x != nil { |
| 1705 |
return x.SecureBoot |
| 1706 |
} |
| 1707 |
return nil |
| 1708 |
} |
| 1709 |
|
| 1710 |
func (x *MachineState) GetRawEvents() []*Event { |
| 1711 |
if x != nil { |
| 1712 |
return x.RawEvents |
| 1713 |
} |
| 1714 |
return nil |
| 1715 |
} |
| 1716 |
|
| 1717 |
func (x *MachineState) GetHash() tpm.HashAlgo { |
| 1718 |
if x != nil { |
| 1719 |
return x.Hash |
| 1720 |
} |
| 1721 |
return tpm.HashAlgo(0) |
| 1722 |
} |
| 1723 |
|
| 1724 |
func (x *MachineState) GetGrub() *GrubState { |
| 1725 |
if x != nil { |
| 1726 |
return x.Grub |
| 1727 |
} |
| 1728 |
return nil |
| 1729 |
} |
| 1730 |
|
| 1731 |
func (x *MachineState) GetLinuxKernel() *LinuxKernelState { |
| 1732 |
if x != nil { |
| 1733 |
return x.LinuxKernel |
| 1734 |
} |
| 1735 |
return nil |
| 1736 |
} |
| 1737 |
|
| 1738 |
func (x *MachineState) GetCos() *AttestedCosState { |
| 1739 |
if x != nil { |
| 1740 |
return x.Cos |
| 1741 |
} |
| 1742 |
return nil |
| 1743 |
} |
| 1744 |
|
| 1745 |
func (x *MachineState) GetEfi() *EfiState { |
| 1746 |
if x != nil { |
| 1747 |
return x.Efi |
| 1748 |
} |
| 1749 |
return nil |
| 1750 |
} |
| 1751 |
|
| 1752 |
func (m *MachineState) GetTeeAttestation() isMachineState_TeeAttestation { |
| 1753 |
if m != nil { |
| 1754 |
return m.TeeAttestation |
| 1755 |
} |
| 1756 |
return nil |
| 1757 |
} |
| 1758 |
|
| 1759 |
func (x *MachineState) GetSevSnpAttestation() *sevsnp.Attestation { |
| 1760 |
if x, ok := x.GetTeeAttestation().(*MachineState_SevSnpAttestation); ok { |
| 1761 |
return x.SevSnpAttestation |
| 1762 |
} |
| 1763 |
return nil |
| 1764 |
} |
| 1765 |
|
| 1766 |
func (x *MachineState) GetTdxAttestation() *tdx.QuoteV4 { |
| 1767 |
if x, ok := x.GetTeeAttestation().(*MachineState_TdxAttestation); ok { |
| 1768 |
return x.TdxAttestation |
| 1769 |
} |
| 1770 |
return nil |
| 1771 |
} |
| 1772 |
|
| 1773 |
type isMachineState_TeeAttestation interface { |
| 1774 |
isMachineState_TeeAttestation() |
| 1775 |
} |
| 1776 |
|
| 1777 |
type MachineState_SevSnpAttestation struct { |
| 1778 |
SevSnpAttestation *sevsnp.Attestation `protobuf:"bytes,9,opt,name=sev_snp_attestation,json=sevSnpAttestation,proto3,oneof"` |
| 1779 |
} |
| 1780 |
|
| 1781 |
type MachineState_TdxAttestation struct { |
| 1782 |
TdxAttestation *tdx.QuoteV4 `protobuf:"bytes,10,opt,name=tdx_attestation,json=tdxAttestation,proto3,oneof"` |
| 1783 |
} |
| 1784 |
|
| 1785 |
func (*MachineState_SevSnpAttestation) isMachineState_TeeAttestation() {} |
| 1786 |
|
| 1787 |
func (*MachineState_TdxAttestation) isMachineState_TeeAttestation() {} |
| 1788 |
|
| 1789 |
// A policy dictating which values of PlatformState to allow |
| 1790 |
type PlatformPolicy struct { |
| 1791 |
state protoimpl.MessageState |
| 1792 |
sizeCache protoimpl.SizeCache |
| 1793 |
unknownFields protoimpl.UnknownFields |
| 1794 |
|
| 1795 |
// If PlatformState.firmware contains a scrtm_version_id, it must appear |
| 1796 |
// in this list. For use with a GCE VM, minimum_gce_firmware_version is |
| 1797 |
// often a better alternative. |
| 1798 |
AllowedScrtmVersionIds [][]byte `protobuf:"bytes,1,rep,name=allowed_scrtm_version_ids,json=allowedScrtmVersionIds,proto3" json:"allowed_scrtm_version_ids,omitempty"` |
| 1799 |
// If PlatformState.firmware contains a minimum_gce_firmware_version, it must |
| 1800 |
// be greater than or equal to this value. Currently, the max version is 1. |
| 1801 |
MinimumGceFirmwareVersion uint32 `protobuf:"varint,2,opt,name=minimum_gce_firmware_version,json=minimumGceFirmwareVersion,proto3" json:"minimum_gce_firmware_version,omitempty"` |
| 1802 |
// The PlatformState's technology must be at least as secure as |
| 1803 |
// the specified minimum_technology (i.e. AMD_SEV_ES > AMD_SEV > NONE). |
| 1804 |
MinimumTechnology GCEConfidentialTechnology `protobuf:"varint,3,opt,name=minimum_technology,json=minimumTechnology,proto3,enum=attest.GCEConfidentialTechnology" json:"minimum_technology,omitempty"` |
| 1805 |
} |
| 1806 |
|
| 1807 |
func (x *PlatformPolicy) Reset() { |
| 1808 |
*x = PlatformPolicy{} |
| 1809 |
if protoimpl.UnsafeEnabled { |
| 1810 |
mi := &file_attest_proto_msgTypes[19] |
| 1811 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 1812 |
ms.StoreMessageInfo(mi) |
| 1813 |
} |
| 1814 |
} |
| 1815 |
|
| 1816 |
func (x *PlatformPolicy) String() string { |
| 1817 |
return protoimpl.X.MessageStringOf(x) |
| 1818 |
} |
| 1819 |
|
| 1820 |
func (*PlatformPolicy) ProtoMessage() {} |
| 1821 |
|
| 1822 |
func (x *PlatformPolicy) ProtoReflect() protoreflect.Message { |
| 1823 |
mi := &file_attest_proto_msgTypes[19] |
| 1824 |
if protoimpl.UnsafeEnabled && x != nil { |
| 1825 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 1826 |
if ms.LoadMessageInfo() == nil { |
| 1827 |
ms.StoreMessageInfo(mi) |
| 1828 |
} |
| 1829 |
return ms |
| 1830 |
} |
| 1831 |
return mi.MessageOf(x) |
| 1832 |
} |
| 1833 |
|
| 1834 |
// Deprecated: Use PlatformPolicy.ProtoReflect.Descriptor instead. |
| 1835 |
func (*PlatformPolicy) Descriptor() ([]byte, []int) { |
| 1836 |
return file_attest_proto_rawDescGZIP(), []int{19} |
| 1837 |
} |
| 1838 |
|
| 1839 |
func (x *PlatformPolicy) GetAllowedScrtmVersionIds() [][]byte { |
| 1840 |
if x != nil { |
| 1841 |
return x.AllowedScrtmVersionIds |
| 1842 |
} |
| 1843 |
return nil |
| 1844 |
} |
| 1845 |
|
| 1846 |
func (x *PlatformPolicy) GetMinimumGceFirmwareVersion() uint32 { |
| 1847 |
if x != nil { |
| 1848 |
return x.MinimumGceFirmwareVersion |
| 1849 |
} |
| 1850 |
return 0 |
| 1851 |
} |
| 1852 |
|
| 1853 |
func (x *PlatformPolicy) GetMinimumTechnology() GCEConfidentialTechnology { |
| 1854 |
if x != nil { |
| 1855 |
return x.MinimumTechnology |
| 1856 |
} |
| 1857 |
return GCEConfidentialTechnology_NONE |
| 1858 |
} |
| 1859 |
|
| 1860 |
// A policy about what parts of a RIM to compare against machine state as |
| 1861 |
// reflected in a quote or (verified) event log. Reference measurements for |
| 1862 |
// a component are expected to be addressable by the machine state's reported |
| 1863 |
// digest, or otherwise presented as cached collateral with the attestation |
| 1864 |
// itself. The method of delivery is vendor-specific. |
| 1865 |
type RIMPolicy struct { |
| 1866 |
state protoimpl.MessageState |
| 1867 |
sizeCache protoimpl.SizeCache |
| 1868 |
unknownFields protoimpl.UnknownFields |
| 1869 |
|
| 1870 |
// If true, the signed measurement must be available (by means that can be |
| 1871 |
// vendor-specific), and the target measurement must be among the listed |
| 1872 |
// signed measurements. If false, then only error if there is a problem |
| 1873 |
// verifying the signed measurements when they are available. |
| 1874 |
RequireSigned bool `protobuf:"varint,1,opt,name=require_signed,json=requireSigned,proto3" json:"require_signed,omitempty"` |
| 1875 |
// x.509 certificates in ASN.1 DER format. |
| 1876 |
RootCerts [][]byte `protobuf:"bytes,2,rep,name=root_certs,json=rootCerts,proto3" json:"root_certs,omitempty"` |
| 1877 |
} |
| 1878 |
|
| 1879 |
func (x *RIMPolicy) Reset() { |
| 1880 |
*x = RIMPolicy{} |
| 1881 |
if protoimpl.UnsafeEnabled { |
| 1882 |
mi := &file_attest_proto_msgTypes[20] |
| 1883 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 1884 |
ms.StoreMessageInfo(mi) |
| 1885 |
} |
| 1886 |
} |
| 1887 |
|
| 1888 |
func (x *RIMPolicy) String() string { |
| 1889 |
return protoimpl.X.MessageStringOf(x) |
| 1890 |
} |
| 1891 |
|
| 1892 |
func (*RIMPolicy) ProtoMessage() {} |
| 1893 |
|
| 1894 |
func (x *RIMPolicy) ProtoReflect() protoreflect.Message { |
| 1895 |
mi := &file_attest_proto_msgTypes[20] |
| 1896 |
if protoimpl.UnsafeEnabled && x != nil { |
| 1897 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 1898 |
if ms.LoadMessageInfo() == nil { |
| 1899 |
ms.StoreMessageInfo(mi) |
| 1900 |
} |
| 1901 |
return ms |
| 1902 |
} |
| 1903 |
return mi.MessageOf(x) |
| 1904 |
} |
| 1905 |
|
| 1906 |
// Deprecated: Use RIMPolicy.ProtoReflect.Descriptor instead. |
| 1907 |
func (*RIMPolicy) Descriptor() ([]byte, []int) { |
| 1908 |
return file_attest_proto_rawDescGZIP(), []int{20} |
| 1909 |
} |
| 1910 |
|
| 1911 |
func (x *RIMPolicy) GetRequireSigned() bool { |
| 1912 |
if x != nil { |
| 1913 |
return x.RequireSigned |
| 1914 |
} |
| 1915 |
return false |
| 1916 |
} |
| 1917 |
|
| 1918 |
func (x *RIMPolicy) GetRootCerts() [][]byte { |
| 1919 |
if x != nil { |
| 1920 |
return x.RootCerts |
| 1921 |
} |
| 1922 |
return nil |
| 1923 |
} |
| 1924 |
|
| 1925 |
// Represent minimal decisions about attestation fields until necessary to |
| 1926 |
// add for policy reasons. |
| 1927 |
type SevSnpPolicy struct { |
| 1928 |
state protoimpl.MessageState |
| 1929 |
sizeCache protoimpl.SizeCache |
| 1930 |
unknownFields protoimpl.UnknownFields |
| 1931 |
|
| 1932 |
// The policy for checking the signed reference values for the UEFI at launch. |
| 1933 |
Uefi *RIMPolicy `protobuf:"bytes,1,opt,name=uefi,proto3" json:"uefi,omitempty"` |
| 1934 |
} |
| 1935 |
|
| 1936 |
func (x *SevSnpPolicy) Reset() { |
| 1937 |
*x = SevSnpPolicy{} |
| 1938 |
if protoimpl.UnsafeEnabled { |
| 1939 |
mi := &file_attest_proto_msgTypes[21] |
| 1940 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 1941 |
ms.StoreMessageInfo(mi) |
| 1942 |
} |
| 1943 |
} |
| 1944 |
|
| 1945 |
func (x *SevSnpPolicy) String() string { |
| 1946 |
return protoimpl.X.MessageStringOf(x) |
| 1947 |
} |
| 1948 |
|
| 1949 |
func (*SevSnpPolicy) ProtoMessage() {} |
| 1950 |
|
| 1951 |
func (x *SevSnpPolicy) ProtoReflect() protoreflect.Message { |
| 1952 |
mi := &file_attest_proto_msgTypes[21] |
| 1953 |
if protoimpl.UnsafeEnabled && x != nil { |
| 1954 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 1955 |
if ms.LoadMessageInfo() == nil { |
| 1956 |
ms.StoreMessageInfo(mi) |
| 1957 |
} |
| 1958 |
return ms |
| 1959 |
} |
| 1960 |
return mi.MessageOf(x) |
| 1961 |
} |
| 1962 |
|
| 1963 |
// Deprecated: Use SevSnpPolicy.ProtoReflect.Descriptor instead. |
| 1964 |
func (*SevSnpPolicy) Descriptor() ([]byte, []int) { |
| 1965 |
return file_attest_proto_rawDescGZIP(), []int{21} |
| 1966 |
} |
| 1967 |
|
| 1968 |
func (x *SevSnpPolicy) GetUefi() *RIMPolicy { |
| 1969 |
if x != nil { |
| 1970 |
return x.Uefi |
| 1971 |
} |
| 1972 |
return nil |
| 1973 |
} |
| 1974 |
|
| 1975 |
// A policy dictating which type of MachineStates to allow |
| 1976 |
type Policy struct { |
| 1977 |
state protoimpl.MessageState |
| 1978 |
sizeCache protoimpl.SizeCache |
| 1979 |
unknownFields protoimpl.UnknownFields |
| 1980 |
|
| 1981 |
Platform *PlatformPolicy `protobuf:"bytes,1,opt,name=platform,proto3" json:"platform,omitempty"` |
| 1982 |
// When the attestation is on SEV-SNP, this is the policy. Unset means no |
| 1983 |
// constraints. |
| 1984 |
SevSnp *SevSnpPolicy `protobuf:"bytes,3,opt,name=sev_snp,json=sevSnp,proto3" json:"sev_snp,omitempty"` |
| 1985 |
} |
| 1986 |
|
| 1987 |
func (x *Policy) Reset() { |
| 1988 |
*x = Policy{} |
| 1989 |
if protoimpl.UnsafeEnabled { |
| 1990 |
mi := &file_attest_proto_msgTypes[22] |
| 1991 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 1992 |
ms.StoreMessageInfo(mi) |
| 1993 |
} |
| 1994 |
} |
| 1995 |
|
| 1996 |
func (x *Policy) String() string { |
| 1997 |
return protoimpl.X.MessageStringOf(x) |
| 1998 |
} |
| 1999 |
|
| 2000 |
func (*Policy) ProtoMessage() {} |
| 2001 |
|
| 2002 |
func (x *Policy) ProtoReflect() protoreflect.Message { |
| 2003 |
mi := &file_attest_proto_msgTypes[22] |
| 2004 |
if protoimpl.UnsafeEnabled && x != nil { |
| 2005 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 2006 |
if ms.LoadMessageInfo() == nil { |
| 2007 |
ms.StoreMessageInfo(mi) |
| 2008 |
} |
| 2009 |
return ms |
| 2010 |
} |
| 2011 |
return mi.MessageOf(x) |
| 2012 |
} |
| 2013 |
|
| 2014 |
// Deprecated: Use Policy.ProtoReflect.Descriptor instead. |
| 2015 |
func (*Policy) Descriptor() ([]byte, []int) { |
| 2016 |
return file_attest_proto_rawDescGZIP(), []int{22} |
| 2017 |
} |
| 2018 |
|
| 2019 |
func (x *Policy) GetPlatform() *PlatformPolicy { |
| 2020 |
if x != nil { |
| 2021 |
return x.Platform |
| 2022 |
} |
| 2023 |
return nil |
| 2024 |
} |
| 2025 |
|
| 2026 |
func (x *Policy) GetSevSnp() *SevSnpPolicy { |
| 2027 |
if x != nil { |
| 2028 |
return x.SevSnp |
| 2029 |
} |
| 2030 |
return nil |
| 2031 |
} |
| 2032 |
|
| 2033 |
var File_attest_proto protoreflect.FileDescriptor |
| 2034 |
|
| 2035 |
var file_attest_proto_rawDesc = []byte{ |
| 2036 |
0x0a, 0x0c, 0x61, 0x74, 0x74, 0x65, 0x73, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x06, |
| 2037 |
0x61, 0x74, 0x74, 0x65, 0x73, 0x74, 0x1a, 0x12, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x73, 0x65, |
| 2038 |
0x76, 0x73, 0x6e, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x0f, 0x70, 0x72, 0x6f, 0x74, |
| 2039 |
0x6f, 0x2f, 0x74, 0x64, 0x78, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x09, 0x74, 0x70, 0x6d, |
| 2040 |
0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xb1, 0x01, 0x0a, 0x0f, 0x47, 0x43, 0x45, 0x49, 0x6e, |
| 2041 |
0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x12, 0x0a, 0x04, 0x7a, 0x6f, |
| 2042 |
0x6e, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x7a, 0x6f, 0x6e, 0x65, 0x12, 0x1d, |
| 2043 |
0x0a, 0x0a, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, |
| 2044 |
0x28, 0x09, 0x52, 0x09, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x49, 0x64, 0x12, 0x25, 0x0a, |
| 2045 |
0x0e, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x5f, 0x6e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x18, |
| 2046 |
0x03, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x4e, 0x75, |
| 2047 |
0x6d, 0x62, 0x65, 0x72, 0x12, 0x23, 0x0a, 0x0d, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, |
| 2048 |
0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x69, 0x6e, 0x73, |
| 2049 |
0x74, 0x61, 0x6e, 0x63, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x1f, 0x0a, 0x0b, 0x69, 0x6e, 0x73, |
| 2050 |
0x74, 0x61, 0x6e, 0x63, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0a, |
| 2051 |
0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x49, 0x64, 0x22, 0xae, 0x03, 0x0a, 0x0b, 0x41, |
| 2052 |
0x74, 0x74, 0x65, 0x73, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x15, 0x0a, 0x06, 0x61, 0x6b, |
| 2053 |
0x5f, 0x70, 0x75, 0x62, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x05, 0x61, 0x6b, 0x50, 0x75, |
| 2054 |
0x62, 0x12, 0x22, 0x0a, 0x06, 0x71, 0x75, 0x6f, 0x74, 0x65, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, |
| 2055 |
0x0b, 0x32, 0x0a, 0x2e, 0x74, 0x70, 0x6d, 0x2e, 0x51, 0x75, 0x6f, 0x74, 0x65, 0x52, 0x06, 0x71, |
| 2056 |
0x75, 0x6f, 0x74, 0x65, 0x73, 0x12, 0x1b, 0x0a, 0x09, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x5f, 0x6c, |
| 2057 |
0x6f, 0x67, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x08, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x4c, |
| 2058 |
0x6f, 0x67, 0x12, 0x3c, 0x0a, 0x0d, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x5f, 0x69, |
| 2059 |
0x6e, 0x66, 0x6f, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x61, 0x74, 0x74, 0x65, |
| 2060 |
0x73, 0x74, 0x2e, 0x47, 0x43, 0x45, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x49, 0x6e, |
| 2061 |
0x66, 0x6f, 0x52, 0x0c, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x49, 0x6e, 0x66, 0x6f, |
| 2062 |
0x12, 0x2e, 0x0a, 0x13, 0x63, 0x61, 0x6e, 0x6f, 0x6e, 0x69, 0x63, 0x61, 0x6c, 0x5f, 0x65, 0x76, |
| 2063 |
0x65, 0x6e, 0x74, 0x5f, 0x6c, 0x6f, 0x67, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x11, 0x63, |
| 2064 |
0x61, 0x6e, 0x6f, 0x6e, 0x69, 0x63, 0x61, 0x6c, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x4c, 0x6f, 0x67, |
| 2065 |
0x12, 0x17, 0x0a, 0x07, 0x61, 0x6b, 0x5f, 0x63, 0x65, 0x72, 0x74, 0x18, 0x06, 0x20, 0x01, 0x28, |
| 2066 |
0x0c, 0x52, 0x06, 0x61, 0x6b, 0x43, 0x65, 0x72, 0x74, 0x12, 0x2d, 0x0a, 0x12, 0x69, 0x6e, 0x74, |
| 2067 |
0x65, 0x72, 0x6d, 0x65, 0x64, 0x69, 0x61, 0x74, 0x65, 0x5f, 0x63, 0x65, 0x72, 0x74, 0x73, 0x18, |
| 2068 |
0x07, 0x20, 0x03, 0x28, 0x0c, 0x52, 0x11, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6d, 0x65, 0x64, 0x69, |
| 2069 |
0x61, 0x74, 0x65, 0x43, 0x65, 0x72, 0x74, 0x73, 0x12, 0x45, 0x0a, 0x13, 0x73, 0x65, 0x76, 0x5f, |
| 2070 |
0x73, 0x6e, 0x70, 0x5f, 0x61, 0x74, 0x74, 0x65, 0x73, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, |
| 2071 |
0x08, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x13, 0x2e, 0x73, 0x65, 0x76, 0x73, 0x6e, 0x70, 0x2e, 0x41, |
| 2072 |
0x74, 0x74, 0x65, 0x73, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x48, 0x00, 0x52, 0x11, 0x73, 0x65, |
| 2073 |
0x76, 0x53, 0x6e, 0x70, 0x41, 0x74, 0x74, 0x65, 0x73, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, |
| 2074 |
0x37, 0x0a, 0x0f, 0x74, 0x64, 0x78, 0x5f, 0x61, 0x74, 0x74, 0x65, 0x73, 0x74, 0x61, 0x74, 0x69, |
| 2075 |
0x6f, 0x6e, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0c, 0x2e, 0x74, 0x64, 0x78, 0x2e, 0x51, |
| 2076 |
0x75, 0x6f, 0x74, 0x65, 0x56, 0x34, 0x48, 0x00, 0x52, 0x0e, 0x74, 0x64, 0x78, 0x41, 0x74, 0x74, |
| 2077 |
0x65, 0x73, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x42, 0x11, 0x0a, 0x0f, 0x74, 0x65, 0x65, 0x5f, |
| 2078 |
0x61, 0x74, 0x74, 0x65, 0x73, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0xb9, 0x02, 0x0a, 0x15, |
| 2079 |
0x53, 0x65, 0x76, 0x53, 0x6e, 0x70, 0x53, 0x76, 0x73, 0x6d, 0x41, 0x74, 0x74, 0x65, 0x73, 0x74, |
| 2080 |
0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x35, 0x0a, 0x0b, 0x61, 0x74, 0x74, 0x65, 0x73, 0x74, 0x61, |
| 2081 |
0x74, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x13, 0x2e, 0x61, 0x74, 0x74, |
| 2082 |
0x65, 0x73, 0x74, 0x2e, 0x41, 0x74, 0x74, 0x65, 0x73, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, |
| 2083 |
0x0b, 0x61, 0x74, 0x74, 0x65, 0x73, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x43, 0x0a, 0x13, |
| 2084 |
0x73, 0x65, 0x76, 0x5f, 0x73, 0x6e, 0x70, 0x5f, 0x61, 0x74, 0x74, 0x65, 0x73, 0x74, 0x61, 0x74, |
| 2085 |
0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x13, 0x2e, 0x73, 0x65, 0x76, 0x73, |
| 2086 |
0x6e, 0x70, 0x2e, 0x41, 0x74, 0x74, 0x65, 0x73, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x11, |
| 2087 |
0x73, 0x65, 0x76, 0x53, 0x6e, 0x70, 0x41, 0x74, 0x74, 0x65, 0x73, 0x74, 0x61, 0x74, 0x69, 0x6f, |
| 2088 |
0x6e, 0x12, 0x32, 0x0a, 0x15, 0x76, 0x74, 0x70, 0x6d, 0x5f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, |
| 2089 |
0x65, 0x5f, 0x6d, 0x61, 0x6e, 0x69, 0x66, 0x65, 0x73, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0c, |
| 2090 |
0x52, 0x13, 0x76, 0x74, 0x70, 0x6d, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x4d, 0x61, 0x6e, |
| 2091 |
0x69, 0x66, 0x65, 0x73, 0x74, 0x12, 0x41, 0x0a, 0x1d, 0x76, 0x74, 0x70, 0x6d, 0x5f, 0x73, 0x65, |
| 2092 |
0x72, 0x76, 0x69, 0x63, 0x65, 0x5f, 0x6d, 0x61, 0x6e, 0x69, 0x66, 0x65, 0x73, 0x74, 0x5f, 0x76, |
| 2093 |
0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x1a, 0x76, 0x74, |
| 2094 |
0x70, 0x6d, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x4d, 0x61, 0x6e, 0x69, 0x66, 0x65, 0x73, |
| 2095 |
0x74, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x2d, 0x0a, 0x12, 0x6c, 0x61, 0x75, 0x6e, |
| 2096 |
0x63, 0x68, 0x5f, 0x65, 0x6e, 0x64, 0x6f, 0x72, 0x73, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x18, 0x05, |
| 2097 |
0x20, 0x01, 0x28, 0x0c, 0x52, 0x11, 0x6c, 0x61, 0x75, 0x6e, 0x63, 0x68, 0x45, 0x6e, 0x64, 0x6f, |
| 2098 |
0x72, 0x73, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x22, 0xeb, 0x01, 0x0a, 0x0d, 0x50, 0x6c, 0x61, 0x74, |
| 2099 |
0x66, 0x6f, 0x72, 0x6d, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x2a, 0x0a, 0x10, 0x73, 0x63, 0x72, |
| 2100 |
0x74, 0x6d, 0x5f, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, |
| 2101 |
0x01, 0x28, 0x0c, 0x48, 0x00, 0x52, 0x0e, 0x73, 0x63, 0x72, 0x74, 0x6d, 0x56, 0x65, 0x72, 0x73, |
| 2102 |
0x69, 0x6f, 0x6e, 0x49, 0x64, 0x12, 0x21, 0x0a, 0x0b, 0x67, 0x63, 0x65, 0x5f, 0x76, 0x65, 0x72, |
| 2103 |
0x73, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x48, 0x00, 0x52, 0x0a, 0x67, 0x63, |
| 2104 |
0x65, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x41, 0x0a, 0x0a, 0x74, 0x65, 0x63, 0x68, |
| 2105 |
0x6e, 0x6f, 0x6c, 0x6f, 0x67, 0x79, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x21, 0x2e, 0x61, |
| 2106 |
0x74, 0x74, 0x65, 0x73, 0x74, 0x2e, 0x47, 0x43, 0x45, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x64, 0x65, |
| 2107 |
0x6e, 0x74, 0x69, 0x61, 0x6c, 0x54, 0x65, 0x63, 0x68, 0x6e, 0x6f, 0x6c, 0x6f, 0x67, 0x79, 0x52, |
| 2108 |
0x0a, 0x74, 0x65, 0x63, 0x68, 0x6e, 0x6f, 0x6c, 0x6f, 0x67, 0x79, 0x12, 0x3c, 0x0a, 0x0d, 0x69, |
| 2109 |
0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x18, 0x04, 0x20, 0x01, |
| 2110 |
0x28, 0x0b, 0x32, 0x17, 0x2e, 0x61, 0x74, 0x74, 0x65, 0x73, 0x74, 0x2e, 0x47, 0x43, 0x45, 0x49, |
| 2111 |
0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x0c, 0x69, 0x6e, 0x73, |
| 2112 |
0x74, 0x61, 0x6e, 0x63, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x42, 0x0a, 0x0a, 0x08, 0x66, 0x69, 0x72, |
| 2113 |
0x6d, 0x77, 0x61, 0x72, 0x65, 0x22, 0x51, 0x0a, 0x08, 0x47, 0x72, 0x75, 0x62, 0x46, 0x69, 0x6c, |
| 2114 |
0x65, 0x12, 0x16, 0x0a, 0x06, 0x64, 0x69, 0x67, 0x65, 0x73, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, |
| 2115 |
0x0c, 0x52, 0x06, 0x64, 0x69, 0x67, 0x65, 0x73, 0x74, 0x12, 0x2d, 0x0a, 0x12, 0x75, 0x6e, 0x74, |
| 2116 |
0x72, 0x75, 0x73, 0x74, 0x65, 0x64, 0x5f, 0x66, 0x69, 0x6c, 0x65, 0x6e, 0x61, 0x6d, 0x65, 0x18, |
| 2117 |
0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x11, 0x75, 0x6e, 0x74, 0x72, 0x75, 0x73, 0x74, 0x65, 0x64, |
| 2118 |
0x46, 0x69, 0x6c, 0x65, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0x4f, 0x0a, 0x09, 0x47, 0x72, 0x75, 0x62, |
| 2119 |
0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x26, 0x0a, 0x05, 0x66, 0x69, 0x6c, 0x65, 0x73, 0x18, 0x01, |
| 2120 |
0x20, 0x03, 0x28, 0x0b, 0x32, 0x10, 0x2e, 0x61, 0x74, 0x74, 0x65, 0x73, 0x74, 0x2e, 0x47, 0x72, |
| 2121 |
0x75, 0x62, 0x46, 0x69, 0x6c, 0x65, 0x52, 0x05, 0x66, 0x69, 0x6c, 0x65, 0x73, 0x12, 0x1a, 0x0a, |
| 2122 |
0x08, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x09, 0x52, |
| 2123 |
0x08, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x73, 0x22, 0x35, 0x0a, 0x10, 0x4c, 0x69, 0x6e, |
| 2124 |
0x75, 0x78, 0x4b, 0x65, 0x72, 0x6e, 0x65, 0x6c, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x21, 0x0a, |
| 2125 |
0x0c, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x5f, 0x6c, 0x69, 0x6e, 0x65, 0x18, 0x01, 0x20, |
| 2126 |
0x01, 0x28, 0x09, 0x52, 0x0b, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x4c, 0x69, 0x6e, 0x65, |
| 2127 |
0x22, 0xa0, 0x01, 0x0a, 0x05, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x70, 0x63, |
| 2128 |
0x72, 0x5f, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x08, 0x70, |
| 2129 |
0x63, 0x72, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x12, 0x25, 0x0a, 0x0e, 0x75, 0x6e, 0x74, 0x72, 0x75, |
| 2130 |
0x73, 0x74, 0x65, 0x64, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, |
| 2131 |
0x0d, 0x75, 0x6e, 0x74, 0x72, 0x75, 0x73, 0x74, 0x65, 0x64, 0x54, 0x79, 0x70, 0x65, 0x12, 0x12, |
| 2132 |
0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x04, 0x64, 0x61, |
| 2133 |
0x74, 0x61, 0x12, 0x16, 0x0a, 0x06, 0x64, 0x69, 0x67, 0x65, 0x73, 0x74, 0x18, 0x04, 0x20, 0x01, |
| 2134 |
0x28, 0x0c, 0x52, 0x06, 0x64, 0x69, 0x67, 0x65, 0x73, 0x74, 0x12, 0x27, 0x0a, 0x0f, 0x64, 0x69, |
| 2135 |
0x67, 0x65, 0x73, 0x74, 0x5f, 0x76, 0x65, 0x72, 0x69, 0x66, 0x69, 0x65, 0x64, 0x18, 0x05, 0x20, |
| 2136 |
0x01, 0x28, 0x08, 0x52, 0x0e, 0x64, 0x69, 0x67, 0x65, 0x73, 0x74, 0x56, 0x65, 0x72, 0x69, 0x66, |
| 2137 |
0x69, 0x65, 0x64, 0x22, 0x72, 0x0a, 0x0b, 0x43, 0x65, 0x72, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, |
| 2138 |
0x74, 0x65, 0x12, 0x12, 0x0a, 0x03, 0x64, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x48, |
| 2139 |
0x00, 0x52, 0x03, 0x64, 0x65, 0x72, 0x12, 0x3d, 0x0a, 0x0a, 0x77, 0x65, 0x6c, 0x6c, 0x5f, 0x6b, |
| 2140 |
0x6e, 0x6f, 0x77, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x1c, 0x2e, 0x61, 0x74, 0x74, |
| 2141 |
0x65, 0x73, 0x74, 0x2e, 0x57, 0x65, 0x6c, 0x6c, 0x4b, 0x6e, 0x6f, 0x77, 0x6e, 0x43, 0x65, 0x72, |
| 2142 |
0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x65, 0x48, 0x00, 0x52, 0x09, 0x77, 0x65, 0x6c, 0x6c, |
| 2143 |
0x4b, 0x6e, 0x6f, 0x77, 0x6e, 0x42, 0x10, 0x0a, 0x0e, 0x72, 0x65, 0x70, 0x72, 0x65, 0x73, 0x65, |
| 2144 |
0x6e, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x4d, 0x0a, 0x08, 0x44, 0x61, 0x74, 0x61, 0x62, |
| 2145 |
0x61, 0x73, 0x65, 0x12, 0x29, 0x0a, 0x05, 0x63, 0x65, 0x72, 0x74, 0x73, 0x18, 0x01, 0x20, 0x03, |
| 2146 |
0x28, 0x0b, 0x32, 0x13, 0x2e, 0x61, 0x74, 0x74, 0x65, 0x73, 0x74, 0x2e, 0x43, 0x65, 0x72, 0x74, |
| 2147 |
0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x65, 0x52, 0x05, 0x63, 0x65, 0x72, 0x74, 0x73, 0x12, 0x16, |
| 2148 |
0x0a, 0x06, 0x68, 0x61, 0x73, 0x68, 0x65, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0c, 0x52, 0x06, |
| 2149 |
0x68, 0x61, 0x73, 0x68, 0x65, 0x73, 0x22, 0xe7, 0x01, 0x0a, 0x0f, 0x53, 0x65, 0x63, 0x75, 0x72, |
| 2150 |
0x65, 0x42, 0x6f, 0x6f, 0x74, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x65, 0x6e, |
| 2151 |
0x61, 0x62, 0x6c, 0x65, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x07, 0x65, 0x6e, 0x61, |
| 2152 |
0x62, 0x6c, 0x65, 0x64, 0x12, 0x20, 0x0a, 0x02, 0x64, 0x62, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, |
| 2153 |
0x32, 0x10, 0x2e, 0x61, 0x74, 0x74, 0x65, 0x73, 0x74, 0x2e, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, |
| 2154 |
0x73, 0x65, 0x52, 0x02, 0x64, 0x62, 0x12, 0x22, 0x0a, 0x03, 0x64, 0x62, 0x78, 0x18, 0x03, 0x20, |
| 2155 |
0x01, 0x28, 0x0b, 0x32, 0x10, 0x2e, 0x61, 0x74, 0x74, 0x65, 0x73, 0x74, 0x2e, 0x44, 0x61, 0x74, |
| 2156 |
0x61, 0x62, 0x61, 0x73, 0x65, 0x52, 0x03, 0x64, 0x62, 0x78, 0x12, 0x2e, 0x0a, 0x09, 0x61, 0x75, |
| 2157 |
0x74, 0x68, 0x6f, 0x72, 0x69, 0x74, 0x79, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x10, 0x2e, |
| 2158 |
0x61, 0x74, 0x74, 0x65, 0x73, 0x74, 0x2e, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x52, |
| 2159 |
0x09, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x74, 0x79, 0x12, 0x20, 0x0a, 0x02, 0x70, 0x6b, |
| 2160 |
0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x10, 0x2e, 0x61, 0x74, 0x74, 0x65, 0x73, 0x74, 0x2e, |
| 2161 |
0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x52, 0x02, 0x70, 0x6b, 0x12, 0x22, 0x0a, 0x03, |
| 2162 |
0x6b, 0x65, 0x6b, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x10, 0x2e, 0x61, 0x74, 0x74, 0x65, |
| 2163 |
0x73, 0x74, 0x2e, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x52, 0x03, 0x6b, 0x65, 0x6b, |
| 2164 |
0x22, 0x93, 0x04, 0x0a, 0x0e, 0x43, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x53, 0x74, |
| 2165 |
0x61, 0x74, 0x65, 0x12, 0x27, 0x0a, 0x0f, 0x69, 0x6d, 0x61, 0x67, 0x65, 0x5f, 0x72, 0x65, 0x66, |
| 2166 |
0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x69, 0x6d, |
| 2167 |
0x61, 0x67, 0x65, 0x52, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x12, 0x21, 0x0a, 0x0c, |
| 2168 |
0x69, 0x6d, 0x61, 0x67, 0x65, 0x5f, 0x64, 0x69, 0x67, 0x65, 0x73, 0x74, 0x18, 0x02, 0x20, 0x01, |
| 2169 |
0x28, 0x09, 0x52, 0x0b, 0x69, 0x6d, 0x61, 0x67, 0x65, 0x44, 0x69, 0x67, 0x65, 0x73, 0x74, 0x12, |
| 2170 |
0x3c, 0x0a, 0x0e, 0x72, 0x65, 0x73, 0x74, 0x61, 0x72, 0x74, 0x5f, 0x70, 0x6f, 0x6c, 0x69, 0x63, |
| 2171 |
0x79, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x15, 0x2e, 0x61, 0x74, 0x74, 0x65, 0x73, 0x74, |
| 2172 |
0x2e, 0x52, 0x65, 0x73, 0x74, 0x61, 0x72, 0x74, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x52, 0x0d, |
| 2173 |
0x72, 0x65, 0x73, 0x74, 0x61, 0x72, 0x74, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x12, 0x19, 0x0a, |
| 2174 |
0x08, 0x69, 0x6d, 0x61, 0x67, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, |
| 2175 |
0x07, 0x69, 0x6d, 0x61, 0x67, 0x65, 0x49, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x61, 0x72, 0x67, 0x73, |
| 2176 |
0x18, 0x05, 0x20, 0x03, 0x28, 0x09, 0x52, 0x04, 0x61, 0x72, 0x67, 0x73, 0x12, 0x3e, 0x0a, 0x08, |
| 2177 |
0x65, 0x6e, 0x76, 0x5f, 0x76, 0x61, 0x72, 0x73, 0x18, 0x06, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x23, |
| 2178 |
0x2e, 0x61, 0x74, 0x74, 0x65, 0x73, 0x74, 0x2e, 0x43, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, |
| 2179 |
0x72, 0x53, 0x74, 0x61, 0x74, 0x65, 0x2e, 0x45, 0x6e, 0x76, 0x56, 0x61, 0x72, 0x73, 0x45, 0x6e, |
| 2180 |
0x74, 0x72, 0x79, 0x52, 0x07, 0x65, 0x6e, 0x76, 0x56, 0x61, 0x72, 0x73, 0x12, 0x27, 0x0a, 0x0f, |
| 2181 |
0x6f, 0x76, 0x65, 0x72, 0x72, 0x69, 0x64, 0x64, 0x65, 0x6e, 0x5f, 0x61, 0x72, 0x67, 0x73, 0x18, |
| 2182 |
0x07, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0e, 0x6f, 0x76, 0x65, 0x72, 0x72, 0x69, 0x64, 0x64, 0x65, |
| 2183 |
0x6e, 0x41, 0x72, 0x67, 0x73, 0x12, 0x5d, 0x0a, 0x13, 0x6f, 0x76, 0x65, 0x72, 0x72, 0x69, 0x64, |
| 2184 |
0x64, 0x65, 0x6e, 0x5f, 0x65, 0x6e, 0x76, 0x5f, 0x76, 0x61, 0x72, 0x73, 0x18, 0x08, 0x20, 0x03, |
| 2185 |
0x28, 0x0b, 0x32, 0x2d, 0x2e, 0x61, 0x74, 0x74, 0x65, 0x73, 0x74, 0x2e, 0x43, 0x6f, 0x6e, 0x74, |
| 2186 |
0x61, 0x69, 0x6e, 0x65, 0x72, 0x53, 0x74, 0x61, 0x74, 0x65, 0x2e, 0x4f, 0x76, 0x65, 0x72, 0x72, |
| 2187 |
0x69, 0x64, 0x64, 0x65, 0x6e, 0x45, 0x6e, 0x76, 0x56, 0x61, 0x72, 0x73, 0x45, 0x6e, 0x74, 0x72, |
| 2188 |
0x79, 0x52, 0x11, 0x6f, 0x76, 0x65, 0x72, 0x72, 0x69, 0x64, 0x64, 0x65, 0x6e, 0x45, 0x6e, 0x76, |
| 2189 |
0x56, 0x61, 0x72, 0x73, 0x1a, 0x3a, 0x0a, 0x0c, 0x45, 0x6e, 0x76, 0x56, 0x61, 0x72, 0x73, 0x45, |
| 2190 |
0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, |
| 2191 |
0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, |
| 2192 |
0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, |
| 2193 |
0x1a, 0x44, 0x0a, 0x16, 0x4f, 0x76, 0x65, 0x72, 0x72, 0x69, 0x64, 0x64, 0x65, 0x6e, 0x45, 0x6e, |
| 2194 |
0x76, 0x56, 0x61, 0x72, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, |
| 2195 |
0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, |
| 2196 |
0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, |
| 2197 |
0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x53, 0x0a, 0x0f, 0x53, 0x65, 0x6d, 0x61, 0x6e, 0x74, |
| 2198 |
0x69, 0x63, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x14, 0x0a, 0x05, 0x6d, 0x61, 0x6a, |
| 2199 |
0x6f, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x05, 0x6d, 0x61, 0x6a, 0x6f, 0x72, 0x12, |
| 2200 |
0x14, 0x0a, 0x05, 0x6d, 0x69, 0x6e, 0x6f, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x05, |
| 2201 |
0x6d, 0x69, 0x6e, 0x6f, 0x72, 0x12, 0x14, 0x0a, 0x05, 0x70, 0x61, 0x74, 0x63, 0x68, 0x18, 0x03, |
| 2202 |
0x20, 0x01, 0x28, 0x0d, 0x52, 0x05, 0x70, 0x61, 0x74, 0x63, 0x68, 0x22, 0x56, 0x0a, 0x15, 0x48, |
| 2203 |
0x65, 0x61, 0x6c, 0x74, 0x68, 0x4d, 0x6f, 0x6e, 0x69, 0x74, 0x6f, 0x72, 0x69, 0x6e, 0x67, 0x53, |
| 2204 |
0x74, 0x61, 0x74, 0x65, 0x12, 0x2a, 0x0a, 0x0e, 0x6d, 0x65, 0x6d, 0x6f, 0x72, 0x79, 0x5f, 0x65, |
| 2205 |
0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x48, 0x00, 0x52, 0x0d, |
| 2206 |
0x6d, 0x65, 0x6d, 0x6f, 0x72, 0x79, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x88, 0x01, 0x01, |
| 2207 |
0x42, 0x11, 0x0a, 0x0f, 0x5f, 0x6d, 0x65, 0x6d, 0x6f, 0x72, 0x79, 0x5f, 0x65, 0x6e, 0x61, 0x62, |
| 2208 |
0x6c, 0x65, 0x64, 0x22, 0x42, 0x0a, 0x0e, 0x47, 0x70, 0x75, 0x44, 0x65, 0x76, 0x69, 0x63, 0x65, |
| 2209 |
0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x30, 0x0a, 0x07, 0x63, 0x63, 0x5f, 0x6d, 0x6f, 0x64, 0x65, |
| 2210 |
0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x17, 0x2e, 0x61, 0x74, 0x74, 0x65, 0x73, 0x74, 0x2e, |
| 2211 |
0x47, 0x50, 0x55, 0x44, 0x65, 0x76, 0x69, 0x63, 0x65, 0x43, 0x43, 0x4d, 0x6f, 0x64, 0x65, 0x52, |
| 2212 |
0x06, 0x63, 0x63, 0x4d, 0x6f, 0x64, 0x65, 0x22, 0xd4, 0x02, 0x0a, 0x10, 0x41, 0x74, 0x74, 0x65, |
| 2213 |
0x73, 0x74, 0x65, 0x64, 0x43, 0x6f, 0x73, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x34, 0x0a, 0x09, |
| 2214 |
0x63, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, |
| 2215 |
0x16, 0x2e, 0x61, 0x74, 0x74, 0x65, 0x73, 0x74, 0x2e, 0x43, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, |
| 2216 |
0x65, 0x72, 0x53, 0x74, 0x61, 0x74, 0x65, 0x52, 0x09, 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, |
| 2217 |
0x65, 0x72, 0x12, 0x38, 0x0a, 0x0b, 0x63, 0x6f, 0x73, 0x5f, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, |
| 2218 |
0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x61, 0x74, 0x74, 0x65, 0x73, 0x74, |
| 2219 |
0x2e, 0x53, 0x65, 0x6d, 0x61, 0x6e, 0x74, 0x69, 0x63, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, |
| 2220 |
0x52, 0x0a, 0x63, 0x6f, 0x73, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x42, 0x0a, 0x10, |
| 2221 |
0x6c, 0x61, 0x75, 0x6e, 0x63, 0x68, 0x65, 0x72, 0x5f, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, |
| 2222 |
0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x61, 0x74, 0x74, 0x65, 0x73, 0x74, 0x2e, |
| 2223 |
0x53, 0x65, 0x6d, 0x61, 0x6e, 0x74, 0x69, 0x63, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x52, |
| 2224 |
0x0f, 0x6c, 0x61, 0x75, 0x6e, 0x63, 0x68, 0x65, 0x72, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, |
| 2225 |
0x12, 0x4a, 0x0a, 0x11, 0x68, 0x65, 0x61, 0x6c, 0x74, 0x68, 0x5f, 0x6d, 0x6f, 0x6e, 0x69, 0x74, |
| 2226 |
0x6f, 0x72, 0x69, 0x6e, 0x67, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x61, 0x74, |
| 2227 |
0x74, 0x65, 0x73, 0x74, 0x2e, 0x48, 0x65, 0x61, 0x6c, 0x74, 0x68, 0x4d, 0x6f, 0x6e, 0x69, 0x74, |
| 2228 |
0x6f, 0x72, 0x69, 0x6e, 0x67, 0x53, 0x74, 0x61, 0x74, 0x65, 0x52, 0x10, 0x68, 0x65, 0x61, 0x6c, |
| 2229 |
0x74, 0x68, 0x4d, 0x6f, 0x6e, 0x69, 0x74, 0x6f, 0x72, 0x69, 0x6e, 0x67, 0x12, 0x40, 0x0a, 0x10, |
| 2230 |
0x67, 0x70, 0x75, 0x5f, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x5f, 0x73, 0x74, 0x61, 0x74, 0x65, |
| 2231 |
0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x61, 0x74, 0x74, 0x65, 0x73, 0x74, 0x2e, |
| 2232 |
0x47, 0x70, 0x75, 0x44, 0x65, 0x76, 0x69, 0x63, 0x65, 0x53, 0x74, 0x61, 0x74, 0x65, 0x52, 0x0e, |
| 2233 |
0x67, 0x70, 0x75, 0x44, 0x65, 0x76, 0x69, 0x63, 0x65, 0x53, 0x74, 0x61, 0x74, 0x65, 0x22, 0x20, |
| 2234 |
0x0a, 0x06, 0x45, 0x66, 0x69, 0x41, 0x70, 0x70, 0x12, 0x16, 0x0a, 0x06, 0x64, 0x69, 0x67, 0x65, |
| 2235 |
0x73, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x06, 0x64, 0x69, 0x67, 0x65, 0x73, 0x74, |
| 2236 |
0x22, 0xbc, 0x01, 0x0a, 0x08, 0x45, 0x66, 0x69, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x22, 0x0a, |
| 2237 |
0x04, 0x61, 0x70, 0x70, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0e, 0x2e, 0x61, 0x74, |
| 2238 |
0x74, 0x65, 0x73, 0x74, 0x2e, 0x45, 0x66, 0x69, 0x41, 0x70, 0x70, 0x52, 0x04, 0x61, 0x70, 0x70, |
| 2239 |
0x73, 0x12, 0x42, 0x0a, 0x15, 0x62, 0x6f, 0x6f, 0x74, 0x5f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, |
| 2240 |
0x65, 0x73, 0x5f, 0x64, 0x72, 0x69, 0x76, 0x65, 0x72, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, |
| 2241 |
0x32, 0x0e, 0x2e, 0x61, 0x74, 0x74, 0x65, 0x73, 0x74, 0x2e, 0x45, 0x66, 0x69, 0x41, 0x70, 0x70, |
| 2242 |
0x52, 0x13, 0x62, 0x6f, 0x6f, 0x74, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x44, 0x72, |
| 2243 |
0x69, 0x76, 0x65, 0x72, 0x73, 0x12, 0x48, 0x0a, 0x18, 0x72, 0x75, 0x6e, 0x74, 0x69, 0x6d, 0x65, |
| 2244 |
0x5f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x5f, 0x64, 0x72, 0x69, 0x76, 0x65, 0x72, |
| 2245 |
0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0e, 0x2e, 0x61, 0x74, 0x74, 0x65, 0x73, 0x74, |
| 2246 |
0x2e, 0x45, 0x66, 0x69, 0x41, 0x70, 0x70, 0x52, 0x16, 0x72, 0x75, 0x6e, 0x74, 0x69, 0x6d, 0x65, |
| 2247 |
0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x44, 0x72, 0x69, 0x76, 0x65, 0x72, 0x73, 0x22, |
| 2248 |
0x93, 0x04, 0x0a, 0x0c, 0x4d, 0x61, 0x63, 0x68, 0x69, 0x6e, 0x65, 0x53, 0x74, 0x61, 0x74, 0x65, |
| 2249 |
0x12, 0x31, 0x0a, 0x08, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x18, 0x01, 0x20, 0x01, |
| 2250 |
0x28, 0x0b, 0x32, 0x15, 0x2e, 0x61, 0x74, 0x74, 0x65, 0x73, 0x74, 0x2e, 0x50, 0x6c, 0x61, 0x74, |
| 2251 |
0x66, 0x6f, 0x72, 0x6d, 0x53, 0x74, 0x61, 0x74, 0x65, 0x52, 0x08, 0x70, 0x6c, 0x61, 0x74, 0x66, |
| 2252 |
0x6f, 0x72, 0x6d, 0x12, 0x38, 0x0a, 0x0b, 0x73, 0x65, 0x63, 0x75, 0x72, 0x65, 0x5f, 0x62, 0x6f, |
| 2253 |
0x6f, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x61, 0x74, 0x74, 0x65, 0x73, |
| 2254 |
0x74, 0x2e, 0x53, 0x65, 0x63, 0x75, 0x72, 0x65, 0x42, 0x6f, 0x6f, 0x74, 0x53, 0x74, 0x61, 0x74, |
| 2255 |
0x65, 0x52, 0x0a, 0x73, 0x65, 0x63, 0x75, 0x72, 0x65, 0x42, 0x6f, 0x6f, 0x74, 0x12, 0x2c, 0x0a, |
| 2256 |
0x0a, 0x72, 0x61, 0x77, 0x5f, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, |
| 2257 |
0x0b, 0x32, 0x0d, 0x2e, 0x61, 0x74, 0x74, 0x65, 0x73, 0x74, 0x2e, 0x45, 0x76, 0x65, 0x6e, 0x74, |
| 2258 |
0x52, 0x09, 0x72, 0x61, 0x77, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x73, 0x12, 0x21, 0x0a, 0x04, 0x68, |
| 2259 |
0x61, 0x73, 0x68, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x0d, 0x2e, 0x74, 0x70, 0x6d, 0x2e, |
| 2260 |
0x48, 0x61, 0x73, 0x68, 0x41, 0x6c, 0x67, 0x6f, 0x52, 0x04, 0x68, 0x61, 0x73, 0x68, 0x12, 0x25, |
| 2261 |
0x0a, 0x04, 0x67, 0x72, 0x75, 0x62, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x11, 0x2e, 0x61, |
| 2262 |
0x74, 0x74, 0x65, 0x73, 0x74, 0x2e, 0x47, 0x72, 0x75, 0x62, 0x53, 0x74, 0x61, 0x74, 0x65, 0x52, |
| 2263 |
0x04, 0x67, 0x72, 0x75, 0x62, 0x12, 0x3b, 0x0a, 0x0c, 0x6c, 0x69, 0x6e, 0x75, 0x78, 0x5f, 0x6b, |
| 2264 |
0x65, 0x72, 0x6e, 0x65, 0x6c, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x61, 0x74, |
| 2265 |
0x74, 0x65, 0x73, 0x74, 0x2e, 0x4c, 0x69, 0x6e, 0x75, 0x78, 0x4b, 0x65, 0x72, 0x6e, 0x65, 0x6c, |
| 2266 |
0x53, 0x74, 0x61, 0x74, 0x65, 0x52, 0x0b, 0x6c, 0x69, 0x6e, 0x75, 0x78, 0x4b, 0x65, 0x72, 0x6e, |
| 2267 |
0x65, 0x6c, 0x12, 0x2a, 0x0a, 0x03, 0x63, 0x6f, 0x73, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, |
| 2268 |
0x18, 0x2e, 0x61, 0x74, 0x74, 0x65, 0x73, 0x74, 0x2e, 0x41, 0x74, 0x74, 0x65, 0x73, 0x74, 0x65, |
| 2269 |
0x64, 0x43, 0x6f, 0x73, 0x53, 0x74, 0x61, 0x74, 0x65, 0x52, 0x03, 0x63, 0x6f, 0x73, 0x12, 0x22, |
| 2270 |
0x0a, 0x03, 0x65, 0x66, 0x69, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x10, 0x2e, 0x61, 0x74, |
| 2271 |
0x74, 0x65, 0x73, 0x74, 0x2e, 0x45, 0x66, 0x69, 0x53, 0x74, 0x61, 0x74, 0x65, 0x52, 0x03, 0x65, |
| 2272 |
0x66, 0x69, 0x12, 0x45, 0x0a, 0x13, 0x73, 0x65, 0x76, 0x5f, 0x73, 0x6e, 0x70, 0x5f, 0x61, 0x74, |
| 2273 |
0x74, 0x65, 0x73, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0b, 0x32, |
| 2274 |
0x13, 0x2e, 0x73, 0x65, 0x76, 0x73, 0x6e, 0x70, 0x2e, 0x41, 0x74, 0x74, 0x65, 0x73, 0x74, 0x61, |
| 2275 |
0x74, 0x69, 0x6f, 0x6e, 0x48, 0x00, 0x52, 0x11, 0x73, 0x65, 0x76, 0x53, 0x6e, 0x70, 0x41, 0x74, |
| 2276 |
0x74, 0x65, 0x73, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x37, 0x0a, 0x0f, 0x74, 0x64, 0x78, |
| 2277 |
0x5f, 0x61, 0x74, 0x74, 0x65, 0x73, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x0a, 0x20, 0x01, |
| 2278 |
0x28, 0x0b, 0x32, 0x0c, 0x2e, 0x74, 0x64, 0x78, 0x2e, 0x51, 0x75, 0x6f, 0x74, 0x65, 0x56, 0x34, |
| 2279 |
0x48, 0x00, 0x52, 0x0e, 0x74, 0x64, 0x78, 0x41, 0x74, 0x74, 0x65, 0x73, 0x74, 0x61, 0x74, 0x69, |
| 2280 |
0x6f, 0x6e, 0x42, 0x11, 0x0a, 0x0f, 0x74, 0x65, 0x65, 0x5f, 0x61, 0x74, 0x74, 0x65, 0x73, 0x74, |
| 2281 |
0x61, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0xde, 0x01, 0x0a, 0x0e, 0x50, 0x6c, 0x61, 0x74, 0x66, 0x6f, |
| 2282 |
0x72, 0x6d, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x12, 0x39, 0x0a, 0x19, 0x61, 0x6c, 0x6c, 0x6f, |
| 2283 |
0x77, 0x65, 0x64, 0x5f, 0x73, 0x63, 0x72, 0x74, 0x6d, 0x5f, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, |
| 2284 |
0x6e, 0x5f, 0x69, 0x64, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0c, 0x52, 0x16, 0x61, 0x6c, 0x6c, |
| 2285 |
0x6f, 0x77, 0x65, 0x64, 0x53, 0x63, 0x72, 0x74, 0x6d, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, |
| 2286 |
0x49, 0x64, 0x73, 0x12, 0x3f, 0x0a, 0x1c, 0x6d, 0x69, 0x6e, 0x69, 0x6d, 0x75, 0x6d, 0x5f, 0x67, |
| 2287 |
0x63, 0x65, 0x5f, 0x66, 0x69, 0x72, 0x6d, 0x77, 0x61, 0x72, 0x65, 0x5f, 0x76, 0x65, 0x72, 0x73, |
| 2288 |
0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x19, 0x6d, 0x69, 0x6e, 0x69, 0x6d, |
| 2289 |
0x75, 0x6d, 0x47, 0x63, 0x65, 0x46, 0x69, 0x72, 0x6d, 0x77, 0x61, 0x72, 0x65, 0x56, 0x65, 0x72, |
| 2290 |
0x73, 0x69, 0x6f, 0x6e, 0x12, 0x50, 0x0a, 0x12, 0x6d, 0x69, 0x6e, 0x69, 0x6d, 0x75, 0x6d, 0x5f, |
| 2291 |
0x74, 0x65, 0x63, 0x68, 0x6e, 0x6f, 0x6c, 0x6f, 0x67, 0x79, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0e, |
| 2292 |
0x32, 0x21, 0x2e, 0x61, 0x74, 0x74, 0x65, 0x73, 0x74, 0x2e, 0x47, 0x43, 0x45, 0x43, 0x6f, 0x6e, |
| 2293 |
0x66, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x61, 0x6c, 0x54, 0x65, 0x63, 0x68, 0x6e, 0x6f, 0x6c, |
| 2294 |
0x6f, 0x67, 0x79, 0x52, 0x11, 0x6d, 0x69, 0x6e, 0x69, 0x6d, 0x75, 0x6d, 0x54, 0x65, 0x63, 0x68, |
| 2295 |
0x6e, 0x6f, 0x6c, 0x6f, 0x67, 0x79, 0x22, 0x51, 0x0a, 0x09, 0x52, 0x49, 0x4d, 0x50, 0x6f, 0x6c, |
| 2296 |
0x69, 0x63, 0x79, 0x12, 0x25, 0x0a, 0x0e, 0x72, 0x65, 0x71, 0x75, 0x69, 0x72, 0x65, 0x5f, 0x73, |
| 2297 |
0x69, 0x67, 0x6e, 0x65, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0d, 0x72, 0x65, 0x71, |
| 2298 |
0x75, 0x69, 0x72, 0x65, 0x53, 0x69, 0x67, 0x6e, 0x65, 0x64, 0x12, 0x1d, 0x0a, 0x0a, 0x72, 0x6f, |
| 2299 |
0x6f, 0x74, 0x5f, 0x63, 0x65, 0x72, 0x74, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0c, 0x52, 0x09, |
| 2300 |
0x72, 0x6f, 0x6f, 0x74, 0x43, 0x65, 0x72, 0x74, 0x73, 0x22, 0x35, 0x0a, 0x0c, 0x53, 0x65, 0x76, |
| 2301 |
0x53, 0x6e, 0x70, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x12, 0x25, 0x0a, 0x04, 0x75, 0x65, 0x66, |
| 2302 |
0x69, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x11, 0x2e, 0x61, 0x74, 0x74, 0x65, 0x73, 0x74, |
| 2303 |
0x2e, 0x52, 0x49, 0x4d, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x52, 0x04, 0x75, 0x65, 0x66, 0x69, |
| 2304 |
0x22, 0x6b, 0x0a, 0x06, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x12, 0x32, 0x0a, 0x08, 0x70, 0x6c, |
| 2305 |
0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x61, |
| 2306 |
0x74, 0x74, 0x65, 0x73, 0x74, 0x2e, 0x50, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x50, 0x6f, |
| 2307 |
0x6c, 0x69, 0x63, 0x79, 0x52, 0x08, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x12, 0x2d, |
| 2308 |
0x0a, 0x07, 0x73, 0x65, 0x76, 0x5f, 0x73, 0x6e, 0x70, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, |
| 2309 |
0x14, 0x2e, 0x61, 0x74, 0x74, 0x65, 0x73, 0x74, 0x2e, 0x53, 0x65, 0x76, 0x53, 0x6e, 0x70, 0x50, |
| 2310 |
0x6f, 0x6c, 0x69, 0x63, 0x79, 0x52, 0x06, 0x73, 0x65, 0x76, 0x53, 0x6e, 0x70, 0x2a, 0x62, 0x0a, |
| 2311 |
0x19, 0x47, 0x43, 0x45, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x61, 0x6c, |
| 2312 |
0x54, 0x65, 0x63, 0x68, 0x6e, 0x6f, 0x6c, 0x6f, 0x67, 0x79, 0x12, 0x08, 0x0a, 0x04, 0x4e, 0x4f, |
| 2313 |
0x4e, 0x45, 0x10, 0x00, 0x12, 0x0b, 0x0a, 0x07, 0x41, 0x4d, 0x44, 0x5f, 0x53, 0x45, 0x56, 0x10, |
| 2314 |
0x01, 0x12, 0x0e, 0x0a, 0x0a, 0x41, 0x4d, 0x44, 0x5f, 0x53, 0x45, 0x56, 0x5f, 0x45, 0x53, 0x10, |
| 2315 |
0x02, 0x12, 0x0d, 0x0a, 0x09, 0x49, 0x4e, 0x54, 0x45, 0x4c, 0x5f, 0x54, 0x44, 0x58, 0x10, 0x03, |
| 2316 |
0x12, 0x0f, 0x0a, 0x0b, 0x41, 0x4d, 0x44, 0x5f, 0x53, 0x45, 0x56, 0x5f, 0x53, 0x4e, 0x50, 0x10, |
| 2317 |
0x04, 0x2a, 0x96, 0x01, 0x0a, 0x14, 0x57, 0x65, 0x6c, 0x6c, 0x4b, 0x6e, 0x6f, 0x77, 0x6e, 0x43, |
| 2318 |
0x65, 0x72, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x65, 0x12, 0x0b, 0x0a, 0x07, 0x55, 0x4e, |
| 2319 |
0x4b, 0x4e, 0x4f, 0x57, 0x4e, 0x10, 0x00, 0x12, 0x1c, 0x0a, 0x18, 0x4d, 0x53, 0x5f, 0x57, 0x49, |
| 2320 |
0x4e, 0x44, 0x4f, 0x57, 0x53, 0x5f, 0x50, 0x52, 0x4f, 0x44, 0x5f, 0x50, 0x43, 0x41, 0x5f, 0x32, |
| 2321 |
0x30, 0x31, 0x31, 0x10, 0x01, 0x12, 0x1f, 0x0a, 0x1b, 0x4d, 0x53, 0x5f, 0x54, 0x48, 0x49, 0x52, |
| 2322 |
0x44, 0x5f, 0x50, 0x41, 0x52, 0x54, 0x59, 0x5f, 0x55, 0x45, 0x46, 0x49, 0x5f, 0x43, 0x41, 0x5f, |
| 2323 |
0x32, 0x30, 0x31, 0x31, 0x10, 0x02, 0x12, 0x1e, 0x0a, 0x1a, 0x4d, 0x53, 0x5f, 0x54, 0x48, 0x49, |
| 2324 |
0x52, 0x44, 0x5f, 0x50, 0x41, 0x52, 0x54, 0x59, 0x5f, 0x4b, 0x45, 0x4b, 0x5f, 0x43, 0x41, 0x5f, |
| 2325 |
0x32, 0x30, 0x31, 0x31, 0x10, 0x03, 0x12, 0x12, 0x0a, 0x0e, 0x47, 0x43, 0x45, 0x5f, 0x44, 0x45, |
| 2326 |
0x46, 0x41, 0x55, 0x4c, 0x54, 0x5f, 0x50, 0x4b, 0x10, 0x04, 0x2a, 0x35, 0x0a, 0x0d, 0x52, 0x65, |
| 2327 |
0x73, 0x74, 0x61, 0x72, 0x74, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x12, 0x0a, 0x0a, 0x06, 0x41, |
| 2328 |
0x6c, 0x77, 0x61, 0x79, 0x73, 0x10, 0x00, 0x12, 0x0d, 0x0a, 0x09, 0x4f, 0x6e, 0x46, 0x61, 0x69, |
| 2329 |
0x6c, 0x75, 0x72, 0x65, 0x10, 0x01, 0x12, 0x09, 0x0a, 0x05, 0x4e, 0x65, 0x76, 0x65, 0x72, 0x10, |
| 2330 |
0x02, 0x2a, 0x3b, 0x0a, 0x0f, 0x47, 0x50, 0x55, 0x44, 0x65, 0x76, 0x69, 0x63, 0x65, 0x43, 0x43, |
| 2331 |
0x4d, 0x6f, 0x64, 0x65, 0x12, 0x09, 0x0a, 0x05, 0x55, 0x4e, 0x53, 0x45, 0x54, 0x10, 0x00, 0x12, |
| 2332 |
0x06, 0x0a, 0x02, 0x4f, 0x4e, 0x10, 0x01, 0x12, 0x07, 0x0a, 0x03, 0x4f, 0x46, 0x46, 0x10, 0x02, |
| 2333 |
0x12, 0x0c, 0x0a, 0x08, 0x44, 0x45, 0x56, 0x54, 0x4f, 0x4f, 0x4c, 0x53, 0x10, 0x03, 0x42, 0x2d, |
| 2334 |
0x5a, 0x2b, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x67, 0x6f, 0x6f, |
| 2335 |
0x67, 0x6c, 0x65, 0x2f, 0x67, 0x6f, 0x2d, 0x74, 0x70, 0x6d, 0x2d, 0x74, 0x6f, 0x6f, 0x6c, 0x73, |
| 2336 |
0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x61, 0x74, 0x74, 0x65, 0x73, 0x74, 0x62, 0x06, 0x70, |
| 2337 |
0x72, 0x6f, 0x74, 0x6f, 0x33, |
| 2338 |
} |
| 2339 |
|
| 2340 |
var ( |
| 2341 |
file_attest_proto_rawDescOnce sync.Once |
| 2342 |
file_attest_proto_rawDescData = file_attest_proto_rawDesc |
| 2343 |
) |
| 2344 |
|
| 2345 |
func file_attest_proto_rawDescGZIP() []byte { |
| 2346 |
file_attest_proto_rawDescOnce.Do(func() { |
| 2347 |
file_attest_proto_rawDescData = protoimpl.X.CompressGZIP(file_attest_proto_rawDescData) |
| 2348 |
}) |
| 2349 |
return file_attest_proto_rawDescData |
| 2350 |
} |
| 2351 |
|
| 2352 |
var file_attest_proto_enumTypes = make([]protoimpl.EnumInfo, 4) |
| 2353 |
var file_attest_proto_msgTypes = make([]protoimpl.MessageInfo, 25) |
| 2354 |
var file_attest_proto_goTypes = []interface{}{ |
| 2355 |
(GCEConfidentialTechnology)(0), // 0: attest.GCEConfidentialTechnology |
| 2356 |
(WellKnownCertificate)(0), // 1: attest.WellKnownCertificate |
| 2357 |
(RestartPolicy)(0), // 2: attest.RestartPolicy |
| 2358 |
(GPUDeviceCCMode)(0), // 3: attest.GPUDeviceCCMode |
| 2359 |
(*GCEInstanceInfo)(nil), // 4: attest.GCEInstanceInfo |
| 2360 |
(*Attestation)(nil), // 5: attest.Attestation |
| 2361 |
(*SevSnpSvsmAttestation)(nil), // 6: attest.SevSnpSvsmAttestation |
| 2362 |
(*PlatformState)(nil), // 7: attest.PlatformState |
| 2363 |
(*GrubFile)(nil), // 8: attest.GrubFile |
| 2364 |
(*GrubState)(nil), // 9: attest.GrubState |
| 2365 |
(*LinuxKernelState)(nil), // 10: attest.LinuxKernelState |
| 2366 |
(*Event)(nil), // 11: attest.Event |
| 2367 |
(*Certificate)(nil), // 12: attest.Certificate |
| 2368 |
(*Database)(nil), // 13: attest.Database |
| 2369 |
(*SecureBootState)(nil), // 14: attest.SecureBootState |
| 2370 |
(*ContainerState)(nil), // 15: attest.ContainerState |
| 2371 |
(*SemanticVersion)(nil), // 16: attest.SemanticVersion |
| 2372 |
(*HealthMonitoringState)(nil), // 17: attest.HealthMonitoringState |
| 2373 |
(*GpuDeviceState)(nil), // 18: attest.GpuDeviceState |
| 2374 |
(*AttestedCosState)(nil), // 19: attest.AttestedCosState |
| 2375 |
(*EfiApp)(nil), // 20: attest.EfiApp |
| 2376 |
(*EfiState)(nil), // 21: attest.EfiState |
| 2377 |
(*MachineState)(nil), // 22: attest.MachineState |
| 2378 |
(*PlatformPolicy)(nil), // 23: attest.PlatformPolicy |
| 2379 |
(*RIMPolicy)(nil), // 24: attest.RIMPolicy |
| 2380 |
(*SevSnpPolicy)(nil), // 25: attest.SevSnpPolicy |
| 2381 |
(*Policy)(nil), // 26: attest.Policy |
| 2382 |
nil, // 27: attest.ContainerState.EnvVarsEntry |
| 2383 |
nil, // 28: attest.ContainerState.OverriddenEnvVarsEntry |
| 2384 |
(*tpm.Quote)(nil), // 29: tpm.Quote |
| 2385 |
(*sevsnp.Attestation)(nil), // 30: sevsnp.Attestation |
| 2386 |
(*tdx.QuoteV4)(nil), // 31: tdx.QuoteV4 |
| 2387 |
(tpm.HashAlgo)(0), // 32: tpm.HashAlgo |
| 2388 |
} |
| 2389 |
var file_attest_proto_depIdxs = []int32{ |
| 2390 |
29, // 0: attest.Attestation.quotes:type_name -> tpm.Quote |
| 2391 |
4, // 1: attest.Attestation.instance_info:type_name -> attest.GCEInstanceInfo |
| 2392 |
30, // 2: attest.Attestation.sev_snp_attestation:type_name -> sevsnp.Attestation |
| 2393 |
31, // 3: attest.Attestation.tdx_attestation:type_name -> tdx.QuoteV4 |
| 2394 |
5, // 4: attest.SevSnpSvsmAttestation.attestation:type_name -> attest.Attestation |
| 2395 |
30, // 5: attest.SevSnpSvsmAttestation.sev_snp_attestation:type_name -> sevsnp.Attestation |
| 2396 |
0, // 6: attest.PlatformState.technology:type_name -> attest.GCEConfidentialTechnology |
| 2397 |
4, // 7: attest.PlatformState.instance_info:type_name -> attest.GCEInstanceInfo |
| 2398 |
8, // 8: attest.GrubState.files:type_name -> attest.GrubFile |
| 2399 |
1, // 9: attest.Certificate.well_known:type_name -> attest.WellKnownCertificate |
| 2400 |
12, // 10: attest.Database.certs:type_name -> attest.Certificate |
| 2401 |
13, // 11: attest.SecureBootState.db:type_name -> attest.Database |
| 2402 |
13, // 12: attest.SecureBootState.dbx:type_name -> attest.Database |
| 2403 |
13, // 13: attest.SecureBootState.authority:type_name -> attest.Database |
| 2404 |
13, // 14: attest.SecureBootState.pk:type_name -> attest.Database |
| 2405 |
13, // 15: attest.SecureBootState.kek:type_name -> attest.Database |
| 2406 |
2, // 16: attest.ContainerState.restart_policy:type_name -> attest.RestartPolicy |
| 2407 |
27, // 17: attest.ContainerState.env_vars:type_name -> attest.ContainerState.EnvVarsEntry |
| 2408 |
28, // 18: attest.ContainerState.overridden_env_vars:type_name -> attest.ContainerState.OverriddenEnvVarsEntry |
| 2409 |
3, // 19: attest.GpuDeviceState.cc_mode:type_name -> attest.GPUDeviceCCMode |
| 2410 |
15, // 20: attest.AttestedCosState.container:type_name -> attest.ContainerState |
| 2411 |
16, // 21: attest.AttestedCosState.cos_version:type_name -> attest.SemanticVersion |
| 2412 |
16, // 22: attest.AttestedCosState.launcher_version:type_name -> attest.SemanticVersion |
| 2413 |
17, // 23: attest.AttestedCosState.health_monitoring:type_name -> attest.HealthMonitoringState |
| 2414 |
18, // 24: attest.AttestedCosState.gpu_device_state:type_name -> attest.GpuDeviceState |
| 2415 |
20, // 25: attest.EfiState.apps:type_name -> attest.EfiApp |
| 2416 |
20, // 26: attest.EfiState.boot_services_drivers:type_name -> attest.EfiApp |
| 2417 |
20, // 27: attest.EfiState.runtime_services_drivers:type_name -> attest.EfiApp |
| 2418 |
7, // 28: attest.MachineState.platform:type_name -> attest.PlatformState |
| 2419 |
14, // 29: attest.MachineState.secure_boot:type_name -> attest.SecureBootState |
| 2420 |
11, // 30: attest.MachineState.raw_events:type_name -> attest.Event |
| 2421 |
32, // 31: attest.MachineState.hash:type_name -> tpm.HashAlgo |
| 2422 |
9, // 32: attest.MachineState.grub:type_name -> attest.GrubState |
| 2423 |
10, // 33: attest.MachineState.linux_kernel:type_name -> attest.LinuxKernelState |
| 2424 |
19, // 34: attest.MachineState.cos:type_name -> attest.AttestedCosState |
| 2425 |
21, // 35: attest.MachineState.efi:type_name -> attest.EfiState |
| 2426 |
30, // 36: attest.MachineState.sev_snp_attestation:type_name -> sevsnp.Attestation |
| 2427 |
31, // 37: attest.MachineState.tdx_attestation:type_name -> tdx.QuoteV4 |
| 2428 |
0, // 38: attest.PlatformPolicy.minimum_technology:type_name -> attest.GCEConfidentialTechnology |
| 2429 |
24, // 39: attest.SevSnpPolicy.uefi:type_name -> attest.RIMPolicy |
| 2430 |
23, // 40: attest.Policy.platform:type_name -> attest.PlatformPolicy |
| 2431 |
25, // 41: attest.Policy.sev_snp:type_name -> attest.SevSnpPolicy |
| 2432 |
42, // [42:42] is the sub-list for method output_type |
| 2433 |
42, // [42:42] is the sub-list for method input_type |
| 2434 |
42, // [42:42] is the sub-list for extension type_name |
| 2435 |
42, // [42:42] is the sub-list for extension extendee |
| 2436 |
0, // [0:42] is the sub-list for field type_name |
| 2437 |
} |
| 2438 |
|
| 2439 |
func init() { file_attest_proto_init() } |
| 2440 |
func file_attest_proto_init() { |
| 2441 |
if File_attest_proto != nil { |
| 2442 |
return |
| 2443 |
} |
| 2444 |
if !protoimpl.UnsafeEnabled { |
| 2445 |
file_attest_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { |
| 2446 |
switch v := v.(*GCEInstanceInfo); i { |
| 2447 |
case 0: |
| 2448 |
return &v.state |
| 2449 |
case 1: |
| 2450 |
return &v.sizeCache |
| 2451 |
case 2: |
| 2452 |
return &v.unknownFields |
| 2453 |
default: |
| 2454 |
return nil |
| 2455 |
} |
| 2456 |
} |
| 2457 |
file_attest_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { |
| 2458 |
switch v := v.(*Attestation); i { |
| 2459 |
case 0: |
| 2460 |
return &v.state |
| 2461 |
case 1: |
| 2462 |
return &v.sizeCache |
| 2463 |
case 2: |
| 2464 |
return &v.unknownFields |
| 2465 |
default: |
| 2466 |
return nil |
| 2467 |
} |
| 2468 |
} |
| 2469 |
file_attest_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { |
| 2470 |
switch v := v.(*SevSnpSvsmAttestation); i { |
| 2471 |
case 0: |
| 2472 |
return &v.state |
| 2473 |
case 1: |
| 2474 |
return &v.sizeCache |
| 2475 |
case 2: |
| 2476 |
return &v.unknownFields |
| 2477 |
default: |
| 2478 |
return nil |
| 2479 |
} |
| 2480 |
} |
| 2481 |
file_attest_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { |
| 2482 |
switch v := v.(*PlatformState); i { |
| 2483 |
case 0: |
| 2484 |
return &v.state |
| 2485 |
case 1: |
| 2486 |
return &v.sizeCache |
| 2487 |
case 2: |
| 2488 |
return &v.unknownFields |
| 2489 |
default: |
| 2490 |
return nil |
| 2491 |
} |
| 2492 |
} |
| 2493 |
file_attest_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { |
| 2494 |
switch v := v.(*GrubFile); i { |
| 2495 |
case 0: |
| 2496 |
return &v.state |
| 2497 |
case 1: |
| 2498 |
return &v.sizeCache |
| 2499 |
case 2: |
| 2500 |
return &v.unknownFields |
| 2501 |
default: |
| 2502 |
return nil |
| 2503 |
} |
| 2504 |
} |
| 2505 |
file_attest_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { |
| 2506 |
switch v := v.(*GrubState); i { |
| 2507 |
case 0: |
| 2508 |
return &v.state |
| 2509 |
case 1: |
| 2510 |
return &v.sizeCache |
| 2511 |
case 2: |
| 2512 |
return &v.unknownFields |
| 2513 |
default: |
| 2514 |
return nil |
| 2515 |
} |
| 2516 |
} |
| 2517 |
file_attest_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { |
| 2518 |
switch v := v.(*LinuxKernelState); i { |
| 2519 |
case 0: |
| 2520 |
return &v.state |
| 2521 |
case 1: |
| 2522 |
return &v.sizeCache |
| 2523 |
case 2: |
| 2524 |
return &v.unknownFields |
| 2525 |
default: |
| 2526 |
return nil |
| 2527 |
} |
| 2528 |
} |
| 2529 |
file_attest_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { |
| 2530 |
switch v := v.(*Event); i { |
| 2531 |
case 0: |
| 2532 |
return &v.state |
| 2533 |
case 1: |
| 2534 |
return &v.sizeCache |
| 2535 |
case 2: |
| 2536 |
return &v.unknownFields |
| 2537 |
default: |
| 2538 |
return nil |
| 2539 |
} |
| 2540 |
} |
| 2541 |
file_attest_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { |
| 2542 |
switch v := v.(*Certificate); i { |
| 2543 |
case 0: |
| 2544 |
return &v.state |
| 2545 |
case 1: |
| 2546 |
return &v.sizeCache |
| 2547 |
case 2: |
| 2548 |
return &v.unknownFields |
| 2549 |
default: |
| 2550 |
return nil |
| 2551 |
} |
| 2552 |
} |
| 2553 |
file_attest_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { |
| 2554 |
switch v := v.(*Database); i { |
| 2555 |
case 0: |
| 2556 |
return &v.state |
| 2557 |
case 1: |
| 2558 |
return &v.sizeCache |
| 2559 |
case 2: |
| 2560 |
return &v.unknownFields |
| 2561 |
default: |
| 2562 |
return nil |
| 2563 |
} |
| 2564 |
} |
| 2565 |
file_attest_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { |
| 2566 |
switch v := v.(*SecureBootState); i { |
| 2567 |
case 0: |
| 2568 |
return &v.state |
| 2569 |
case 1: |
| 2570 |
return &v.sizeCache |
| 2571 |
case 2: |
| 2572 |
return &v.unknownFields |
| 2573 |
default: |
| 2574 |
return nil |
| 2575 |
} |
| 2576 |
} |
| 2577 |
file_attest_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { |
| 2578 |
switch v := v.(*ContainerState); i { |
| 2579 |
case 0: |
| 2580 |
return &v.state |
| 2581 |
case 1: |
| 2582 |
return &v.sizeCache |
| 2583 |
case 2: |
| 2584 |
return &v.unknownFields |
| 2585 |
default: |
| 2586 |
return nil |
| 2587 |
} |
| 2588 |
} |
| 2589 |
file_attest_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { |
| 2590 |
switch v := v.(*SemanticVersion); i { |
| 2591 |
case 0: |
| 2592 |
return &v.state |
| 2593 |
case 1: |
| 2594 |
return &v.sizeCache |
| 2595 |
case 2: |
| 2596 |
return &v.unknownFields |
| 2597 |
default: |
| 2598 |
return nil |
| 2599 |
} |
| 2600 |
} |
| 2601 |
file_attest_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { |
| 2602 |
switch v := v.(*HealthMonitoringState); i { |
| 2603 |
case 0: |
| 2604 |
return &v.state |
| 2605 |
case 1: |
| 2606 |
return &v.sizeCache |
| 2607 |
case 2: |
| 2608 |
return &v.unknownFields |
| 2609 |
default: |
| 2610 |
return nil |
| 2611 |
} |
| 2612 |
} |
| 2613 |
file_attest_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} { |
| 2614 |
switch v := v.(*GpuDeviceState); i { |
| 2615 |
case 0: |
| 2616 |
return &v.state |
| 2617 |
case 1: |
| 2618 |
return &v.sizeCache |
| 2619 |
case 2: |
| 2620 |
return &v.unknownFields |
| 2621 |
default: |
| 2622 |
return nil |
| 2623 |
} |
| 2624 |
} |
| 2625 |
file_attest_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} { |
| 2626 |
switch v := v.(*AttestedCosState); i { |
| 2627 |
case 0: |
| 2628 |
return &v.state |
| 2629 |
case 1: |
| 2630 |
return &v.sizeCache |
| 2631 |
case 2: |
| 2632 |
return &v.unknownFields |
| 2633 |
default: |
| 2634 |
return nil |
| 2635 |
} |
| 2636 |
} |
| 2637 |
file_attest_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} { |
| 2638 |
switch v := v.(*EfiApp); i { |
| 2639 |
case 0: |
| 2640 |
return &v.state |
| 2641 |
case 1: |
| 2642 |
return &v.sizeCache |
| 2643 |
case 2: |
| 2644 |
return &v.unknownFields |
| 2645 |
default: |
| 2646 |
return nil |
| 2647 |
} |
| 2648 |
} |
| 2649 |
file_attest_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} { |
| 2650 |
switch v := v.(*EfiState); i { |
| 2651 |
case 0: |
| 2652 |
return &v.state |
| 2653 |
case 1: |
| 2654 |
return &v.sizeCache |
| 2655 |
case 2: |
| 2656 |
return &v.unknownFields |
| 2657 |
default: |
| 2658 |
return nil |
| 2659 |
} |
| 2660 |
} |
| 2661 |
file_attest_proto_msgTypes[18].Exporter = func(v interface{}, i int) interface{} { |
| 2662 |
switch v := v.(*MachineState); i { |
| 2663 |
case 0: |
| 2664 |
return &v.state |
| 2665 |
case 1: |
| 2666 |
return &v.sizeCache |
| 2667 |
case 2: |
| 2668 |
return &v.unknownFields |
| 2669 |
default: |
| 2670 |
return nil |
| 2671 |
} |
| 2672 |
} |
| 2673 |
file_attest_proto_msgTypes[19].Exporter = func(v interface{}, i int) interface{} { |
| 2674 |
switch v := v.(*PlatformPolicy); i { |
| 2675 |
case 0: |
| 2676 |
return &v.state |
| 2677 |
case 1: |
| 2678 |
return &v.sizeCache |
| 2679 |
case 2: |
| 2680 |
return &v.unknownFields |
| 2681 |
default: |
| 2682 |
return nil |
| 2683 |
} |
| 2684 |
} |
| 2685 |
file_attest_proto_msgTypes[20].Exporter = func(v interface{}, i int) interface{} { |
| 2686 |
switch v := v.(*RIMPolicy); i { |
| 2687 |
case 0: |
| 2688 |
return &v.state |
| 2689 |
case 1: |
| 2690 |
return &v.sizeCache |
| 2691 |
case 2: |
| 2692 |
return &v.unknownFields |
| 2693 |
default: |
| 2694 |
return nil |
| 2695 |
} |
| 2696 |
} |
| 2697 |
file_attest_proto_msgTypes[21].Exporter = func(v interface{}, i int) interface{} { |
| 2698 |
switch v := v.(*SevSnpPolicy); i { |
| 2699 |
case 0: |
| 2700 |
return &v.state |
| 2701 |
case 1: |
| 2702 |
return &v.sizeCache |
| 2703 |
case 2: |
| 2704 |
return &v.unknownFields |
| 2705 |
default: |
| 2706 |
return nil |
| 2707 |
} |
| 2708 |
} |
| 2709 |
file_attest_proto_msgTypes[22].Exporter = func(v interface{}, i int) interface{} { |
| 2710 |
switch v := v.(*Policy); i { |
| 2711 |
case 0: |
| 2712 |
return &v.state |
| 2713 |
case 1: |
| 2714 |
return &v.sizeCache |
| 2715 |
case 2: |
| 2716 |
return &v.unknownFields |
| 2717 |
default: |
| 2718 |
return nil |
| 2719 |
} |
| 2720 |
} |
| 2721 |
} |
| 2722 |
file_attest_proto_msgTypes[1].OneofWrappers = []interface{}{ |
| 2723 |
(*Attestation_SevSnpAttestation)(nil), |
| 2724 |
(*Attestation_TdxAttestation)(nil), |
| 2725 |
} |
| 2726 |
file_attest_proto_msgTypes[3].OneofWrappers = []interface{}{ |
| 2727 |
(*PlatformState_ScrtmVersionId)(nil), |
| 2728 |
(*PlatformState_GceVersion)(nil), |
| 2729 |
} |
| 2730 |
file_attest_proto_msgTypes[8].OneofWrappers = []interface{}{ |
| 2731 |
(*Certificate_Der)(nil), |
| 2732 |
(*Certificate_WellKnown)(nil), |
| 2733 |
} |
| 2734 |
file_attest_proto_msgTypes[13].OneofWrappers = []interface{}{} |
| 2735 |
file_attest_proto_msgTypes[18].OneofWrappers = []interface{}{ |
| 2736 |
(*MachineState_SevSnpAttestation)(nil), |
| 2737 |
(*MachineState_TdxAttestation)(nil), |
| 2738 |
} |
| 2739 |
type x struct{} |
| 2740 |
out := protoimpl.TypeBuilder{ |
| 2741 |
File: protoimpl.DescBuilder{ |
| 2742 |
GoPackagePath: reflect.TypeOf(x{}).PkgPath(), |
| 2743 |
RawDescriptor: file_attest_proto_rawDesc, |
| 2744 |
NumEnums: 4, |
| 2745 |
NumMessages: 25, |
| 2746 |
NumExtensions: 0, |
| 2747 |
NumServices: 0, |
| 2748 |
}, |
| 2749 |
GoTypes: file_attest_proto_goTypes, |
| 2750 |
DependencyIndexes: file_attest_proto_depIdxs, |
| 2751 |
EnumInfos: file_attest_proto_enumTypes, |
| 2752 |
MessageInfos: file_attest_proto_msgTypes, |
| 2753 |
}.Build() |
| 2754 |
File_attest_proto = out.File |
| 2755 |
file_attest_proto_rawDesc = nil |
| 2756 |
file_attest_proto_goTypes = nil |
| 2757 |
file_attest_proto_depIdxs = nil |
| 2758 |
} |