summaryrefslogtreecommitdiff
path: root/chromium/third_party/blink/public/common/origin_trials/origin_trial_public_key.h
blob: 82b27837b5c06fabc6c4a65e20ac4e2f8dc14887 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
// Copyright 2021 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 THIRD_PARTY_BLINK_PUBLIC_COMMON_ORIGIN_TRIALS_ORIGIN_TRIAL_PUBLIC_KEY_H_
#define THIRD_PARTY_BLINK_PUBLIC_COMMON_ORIGIN_TRIALS_ORIGIN_TRIAL_PUBLIC_KEY_H_

#include <array>
#include <cstdint>

namespace blink {

// Public key must be 32 bytes long for Ed25519.
using OriginTrialPublicKey = std::array<uint8_t, 32>;

}  // namespace blink

#endif  // THIRD_PARTY_BLINK_PUBLIC_COMMON_ORIGIN_TRIALS_ORIGIN_TRIAL_PUBLIC_KEY_H_