Adjust comment
[platform/core/connectivity/smartcard-service.git] / common / include / PKCS15.h
1 /*
2  * Copyright (c) 2012, 2013 Samsung Electronics Co., Ltd.
3  *
4  * Licensed under the Apache License, Version 2.0 (the "License");
5  * you may not use this file except in compliance with the License.
6  * You may obtain a copy of the License at
7  *
8  * http://www.apache.org/licenses/LICENSE-2.0
9  *
10  * Unless required by applicable law or agreed to in writing, software
11  * distributed under the License is distributed on an "AS IS" BASIS,
12  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13  * See the License for the specific language governing permissions and
14  * limitations under the License.
15  */
16
17 #ifndef PKCS15_H_
18 #define PKCS15_H_
19
20 /* standard library header */
21 #include <map>
22
23 /* SLP library header */
24
25 /* local header */
26 #include "PKCS15Object.h"
27 #include "PKCS15ODF.h"
28
29 using namespace std;
30
31 namespace smartcard_service_api
32 {
33         class PKCS15: public PKCS15Object
34         {
35         private:
36                 map<unsigned int, ByteArray> recordElement;
37                 PKCS15ODF *odf;
38
39         public:
40                 static ByteArray PKCS15_AID;
41
42                 PKCS15(Channel *channel);
43                 PKCS15(Channel *channel, ByteArray selectResponse);
44                 ~PKCS15();
45
46                 PKCS15ODF *getODF();
47                 int getTokenInfo(ByteArray &path);
48         };
49
50 } /* namespace smartcard_service_api */
51 #endif /* PKCS15_H_ */