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

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_