Skip to content

Commit

Permalink
feat: add support for the CAVIUM_V2_COMPRESSED type (#126)
Browse files Browse the repository at this point in the history
  • Loading branch information
yoshi-automation authored and JustinBeckwith committed Feb 16, 2019
1 parent 2c6f0fc commit 5bf4651
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -157,6 +157,10 @@ message KeyOperationAttestation {
// Cavium HSM attestation compressed with gzip. Note that this format is
// defined by Cavium and subject to change at any time.
CAVIUM_V1_COMPRESSED = 3;

// Cavium HSM attestation V2 compressed with gzip. This is a new format
// Introduced in Cavium's version 3.2-08
CAVIUM_V2_COMPRESSED = 4;
}

// Output only. The format of the attestation data.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,13 @@ const KeyOperationAttestation = {
* Cavium HSM attestation compressed with gzip. Note that this format is
* defined by Cavium and subject to change at any time.
*/
CAVIUM_V1_COMPRESSED: 3
CAVIUM_V1_COMPRESSED: 3,

/**
* Cavium HSM attestation V2 compressed with gzip. This is a new format
* Introduced in Cavium's version 3.2-08
*/
CAVIUM_V2_COMPRESSED: 4
}
};

Expand Down
6 changes: 3 additions & 3 deletions packages/google-cloud-kms/synth.metadata
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"updateTime": "2019-02-13T12:17:50.653598Z",
"updateTime": "2019-02-16T12:14:29.443089Z",
"sources": [
{
"generator": {
Expand All @@ -12,8 +12,8 @@
"git": {
"name": "googleapis",
"remote": "https://github.com/googleapis/googleapis.git",
"sha": "ca61898878f0926dd9dcc68ba90764f17133efe4",
"internalRef": "233680013"
"sha": "1a4f0f12777dc2f8bf2c2ce84438329639c75e29",
"internalRef": "234149430"
}
},
{
Expand Down

0 comments on commit 5bf4651

Please sign in to comment.