1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #include "chromecast/media/base/decrypt_context_impl.h"
10 DecryptContextImpl::DecryptContextImpl(CastKeySystem key_system
)
11 : key_system_(key_system
) {}
13 DecryptContextImpl::~DecryptContextImpl() {}
15 CastKeySystem
DecryptContextImpl::GetKeySystem() {
19 bool DecryptContextImpl::Decrypt(CastDecoderBuffer
* buffer
,
20 std::vector
<uint8_t>* output
) {
24 crypto::SymmetricKey
* DecryptContextImpl::GetKey() const {
29 } // namespace chromecast