Remove gcov rpm package
[platform/core/connectivity/smartcard-service.git] / common / include / PKCS15OID.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 PKCS15OID_H_
18 #define PKCS15OID_H_
19
20 /* standard library header */
21
22 /* SLP library header */
23
24 /* local header */
25 #include "ByteArray.h"
26
27 namespace smartcard_service_api
28 {
29         /* LCOV_EXCL_START */
30         class PKCS15OID
31         {
32         private:
33                 ByteArray oid;
34                 ByteArray name;
35                 ByteArray path;
36
37                 bool parseOID(const ByteArray &data);
38
39         public:
40                 PKCS15OID(const ByteArray &data);
41                 ~PKCS15OID();
42
43                 inline const ByteArray getOID() const { return oid; }
44                 inline const ByteArray getName() const { return name; }
45                 inline const ByteArray getPath() const { return path; }
46         };
47
48         /* LCOV_EXCL_STOP */
49 } /* namespace smartcard_service_api */
50 #endif /* PKCS15OID_H_ */