Debian Codegraph @

verify/testdata/testdata.go

raw
1 // Copyright 2022 Google LLC
2 //
3 // Licensed under the Apache License, Version 2.0 (the "License");
4 // you may not use this file except in compliance with the License.
5 // You may obtain a copy of the License at
6 //
7 // http://www.apache.org/licenses/LICENSE-2.0
8 //
9 // Unless required by applicable law or agreed to in writing, software
10 // distributed under the License is distributed on an "AS IS" BASIS,
11 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 // See the License for the specific language governing permissions and
13 // limitations under the License.
14
15 // Package testdata provides embedded binaries of example ABI material.
16 package testdata
17
18 import _ "embed"
19
20 // These certificates are committed regardless of its expiration date since we adjust the
21 // CurrentTime to compare against so that the validity with respect to time is always true.
22
23 // VcekBytes is an example VCEK certificate as issued by the AMD KDS.
24 //
25 //go:embed vcek.testcer
26 var VcekBytes []byte
27
28 // MilanVcekBytes is the Milan product vcek cert_chain as issued by the AMD KDS.
29 //
30 // Deprecated: Use trust.AskArkMilanVcekBytes
31 //
32 //go:embed milan.testcer
33 var MilanVcekBytes []byte
34
35 // MilanVlekBytes is the Milan product vlek cert_chain as issued by the AMD KDS.
36 //
37 // Deprecated: Use trust.AskArkMilanVlekBytes
38 //
39 //go:embed milanvlek.testcer
40 var MilanVlekBytes []byte
41
42 // AttestationBytes is an example attestation report from a VM that was
43 // launched without an ID_BLOCK.
44 //
45 //go:embed attestation.bin
46 var AttestationBytes []byte