Merge "fix a decfect locale for france locale" into tizen_2.1
[platform/framework/native/appfw.git] / inc / FSecCertICertificateSelector.h
1 //
2 // Open Service Platform
3 // Copyright (c) 2012 Samsung Electronics Co., Ltd.
4 //
5 // Licensed under the Apache License, Version 2.0 (the License);
6 // you may not use this file except in compliance with the License.
7 // You may obtain a copy of the License at
8 //
9 //     http://www.apache.org/licenses/LICENSE-2.0
10 //
11 // Unless required by applicable law or agreed to in writing, software
12 // distributed under the License is distributed on an "AS IS" BASIS,
13 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 // See the License for the specific language governing permissions and
15 // limitations under the License.
16 //
17
18 /**
19  * @file                FSecCertICertificateSelector.h
20  * @brief               This is the header file for the %ICertificateSelector interface.
21  *
22  * This header file contains the declarations of the %ICertificateSelector interface.
23  */
24 #ifndef _FSEC_CERT_ICERTIFICATE_SELECTOR_H_
25 #define _FSEC_CERT_ICERTIFICATE_SELECTOR_H_
26
27 #include <FSecCertICertificate.h>
28
29
30 namespace Tizen { namespace Security { namespace Cert
31 {
32
33 /**
34  *  @interface  ICertificateSelector
35  *  @brief                      This interface is a selector that defines a set of criterion for selecting certificates.
36  *
37  *      @since                  2.0
38  *
39  * The %ICertificateSelector interface is a selector that defines a set of criterion for selecting certificates.
40  *      The classes that implement this interface are used to specify the certificates, which must be retrieved from a certificate store. @n
41  *
42  * For more information on the class features, see <a href="../org.tizen.native.appprogramming/html/guide/security/certificate_namespace.htm">Certificates</a>.
43  *
44  */
45 class _OSP_EXPORT_ ICertificateSelector
46 {
47
48 public:
49         /**
50          *      This is the destructor for this class.
51          *
52          *      @since          2.0
53          */
54         virtual ~ICertificateSelector(void) {}
55
56         /**
57          *      Gets the certificate type.
58          *
59          *      @since          2.0
60          *
61          *      @return         The certificate type
62          */
63         virtual CertificateType GetType(void) const = 0;
64
65         /**
66          * Sets the certificate type.
67          *
68          * @since       2.0
69          *
70          * @param[in]   certificateType         The certificate type
71          */
72         virtual void SetType(CertificateType certificateType) = 0;
73
74 protected:
75         //
76         // This method is for internal use only. Using this method can cause behavioral, security-related,
77         // and consistency-related issues in the application.
78         //
79         // This method is reserved and may change its name at any time without prior notice.
80         //
81         // @since 2.0
82         //
83         virtual void ICertificateSelector_Reserved1(void) {}
84
85         //
86         // This method is for internal use only. Using this method can cause behavioral, security-related,
87         // and consistency-related issues in the application.
88         //
89         // This method is reserved and may change its name at any time without prior notice.
90         //
91         // @since 2.0
92         //
93         virtual void ICertificateSelector_Reserved2(void) {}
94
95         //
96         // This method is for internal use only. Using this method can cause behavioral, security-related,
97         // and consistency-related issues in the application.
98         //
99         // This method is reserved and may change its name at any time without prior notice.
100         //
101         // @since 2.0
102         //
103         virtual void ICertificateSelector_Reserved3(void) {}
104
105 }; // ICertificateSelector
106
107 } } } // Tizen::Security::Cert
108
109 #endif // _FSEC_CERT_ICERTIFICATE_SELECTOR_H_