Shaka Packager SDK
Loading...
Searching...
No Matches
aes_key_wrap.h
1// Copyright 2026 Google LLC. All rights reserved.
2//
3// Use of this source code is governed by a BSD-style
4// license that can be found in the LICENSE file or at
5// https://developers.google.com/open-source/licenses/bsd
6
7#ifndef PACKAGER_MEDIA_BASE_AES_KEY_WRAP_H_
8#define PACKAGER_MEDIA_BASE_AES_KEY_WRAP_H_
9
10#include <cstdint>
11#include <vector>
12
13namespace shaka {
14namespace media {
15
25bool AesKeyUnwrap(const std::vector<uint8_t>& wrapping_key,
26 const std::vector<uint8_t>& wrapped_data,
27 std::vector<uint8_t>* data);
28
29} // namespace media
30} // namespace shaka
31
32#endif // PACKAGER_MEDIA_BASE_AES_KEY_WRAP_H_
All the methods that are virtual are virtual for mocking.