blob: 2691c691e89801385d3c85a8134a7d881660cbc2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
// Copyright 2019 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef CAST_COMMON_CERTIFICATE_TYPES_H_
#define CAST_COMMON_CERTIFICATE_TYPES_H_
#include <stdint.h>
namespace cast {
namespace certificate {
struct ConstDataSpan {
const uint8_t* data;
uint32_t length;
};
struct DateTime {
uint16_t year;
uint8_t month;
uint8_t day;
uint8_t hour;
uint8_t minute;
uint8_t second;
};
} // namespace certificate
} // namespace cast
#endif // CAST_COMMON_CERTIFICATE_TYPES_H_
|