File tree Expand file tree Collapse file tree 2 files changed +3
-5
lines changed
cc/attestation/verification Expand file tree Collapse file tree 2 files changed +3
-5
lines changed Original file line number Diff line number Diff line change @@ -3,6 +3,7 @@ UseColor: true
3
3
Checks : >
4
4
bugprone-*,
5
5
google-*,
6
+ misc-*,
6
7
performance-*,
7
8
-bugprone-reserved-identifier,
8
9
-bugprone-narrowing-conversions,
Original file line number Diff line number Diff line change 16
16
17
17
#include " cc/attestation/verification/utils.h"
18
18
19
- #include < chrono>
20
19
#include < string>
21
20
22
21
#include " absl/status/statusor.h"
@@ -40,13 +39,11 @@ absl::StatusOr<std::string> ExtractPublicKey(absl::string_view certificate) {
40
39
return std::string (public_key.begin (), public_key.end ());
41
40
}
42
41
43
- absl::StatusOr<std::string> ExtractEncryptionPublicKey (
44
- const ::oak::attestation::v1::Evidence& evidence) {
42
+ absl::StatusOr<std::string> ExtractEncryptionPublicKey (const Evidence& evidence) {
45
43
return ExtractPublicKey (evidence.application_keys ().encryption_public_key_certificate ());
46
44
}
47
45
48
- absl::StatusOr<std::string> ExtractSigningPublicKey (
49
- const ::oak::attestation::v1::Evidence& evidence) {
46
+ absl::StatusOr<std::string> ExtractSigningPublicKey (const Evidence& evidence) {
50
47
return ExtractPublicKey (evidence.application_keys ().signing_public_key_certificate ());
51
48
}
52
49
You can’t perform that action at this time.
0 commit comments