keyple-card-calypso-crypto-legacysam-cpp-lib - 1.0.2
Component of the Keyple C++ middleware
SamParametersAdapter.cpp
Go to the documentation of this file.
1/******************************************************************************
2 * Copyright (c) 2025 Calypso Networks Association https://calypsonet.org/ *
3 * *
4 * See the NOTICE file(s) distributed with this work for additional *
5 * information regarding copyright ownership. *
6 * *
7 * This program and the accompanying materials are made available under the *
8 * terms of the Eclipse Public License 2.0 which is available at *
9 * http://www.eclipse.org/legal/epl-2.0 *
10 * *
11 * SPDX-License-Identifier: EPL-2.0 *
12 ******************************************************************************/
13
14#include "keyple/card/calypso/crypto/legacysam/SamParametersAdapter.hpp"
15
16#include <utility>
17#include <vector>
18
19namespace keyple {
20namespace card {
21namespace calypso {
22namespace crypto {
23namespace legacysam {
24
25SamParametersAdapter::SamParametersAdapter(std::vector<uint8_t> samParameters)
26: mSamParameters(std::move(samParameters))
27{
28}
29
30const std::vector<uint8_t>
31SamParametersAdapter::getRawData() const
32{
33 return mSamParameters;
34}
35
36} /* namespace legacysam */
37} /* namespace crypto */
38} /* namespace calypso */
39} /* namespace card */
40} /* namespace keyple */