Keyple Plugin PC/SC C++ Library - 2.5.2
Component of the Keyple C++ middleware
PcscSupportedContactProtocol.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/plugin/pcsc/PcscSupportedContactProtocol.hpp"
15
16namespace keyple {
17namespace plugin {
18namespace pcsc {
19
20const PcscSupportedContactProtocol
21 PcscSupportedContactProtocol::ISO_7816_3("ISO_7816_3", "3.*");
22const PcscSupportedContactProtocol
23 PcscSupportedContactProtocol::ISO_7816_3_T0("ISO_7816_3_T0", "3.*");
24const PcscSupportedContactProtocol
25 PcscSupportedContactProtocol::ISO_7816_3_T1("ISO_7816_3_T1", "3.*");
26
27PcscSupportedContactProtocol::PcscSupportedContactProtocol(
28 const std::string& name, const std::string& defaultRule)
29: mName(name)
30, mDefaultRule(defaultRule)
31{
32}
33
34const std::string&
35PcscSupportedContactProtocol::getDefaultRule() const
36{
37 return mDefaultRule;
38}
39
40const std::string&
41PcscSupportedContactProtocol::getName() const
42{
43 return mName;
44}
45
46} /* namespace pcsc */
47} /* namespace plugin */
48} /* namespace keyple */
Definition: Card.cpp:20