2 // Open Service Platform
3 // Copyright (c) 2012 Samsung Electronics Co., Ltd.
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
9 // http://www.apache.org/licenses/LICENSE-2.0
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.
19 * @file FSecCertICertificateSelector.h
20 * @brief This is the header file for the %ICertificateSelector interface.
22 * This header file contains the declarations of the %ICertificateSelector interface.
24 #ifndef _FSEC_CERT_ICERTIFICATE_SELECTOR_H_
25 #define _FSEC_CERT_ICERTIFICATE_SELECTOR_H_
27 #include <FSecCertICertificate.h>
30 namespace Tizen { namespace Security { namespace Cert
34 * @interface ICertificateSelector
35 * @brief This interface is a selector that defines a set of criterion for selecting certificates.
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
42 * For more information on the class features, see <a href="../org.tizen.native.appprogramming/html/guide/security/certificate_namespace.htm">Certificates</a>.
45 class _OSP_EXPORT_ ICertificateSelector
50 * This is the destructor for this class.
54 virtual ~ICertificateSelector(void) {}
57 * Gets the certificate type.
61 * @return The certificate type
63 virtual CertificateType GetType(void) const = 0;
66 * Sets the certificate type.
70 * @param[in] certificateType The certificate type
72 virtual void SetType(CertificateType certificateType) = 0;
76 // This method is for internal use only. Using this method can cause behavioral, security-related,
77 // and consistency-related issues in the application.
79 // This method is reserved and may change its name at any time without prior notice.
83 virtual void ICertificateSelector_Reserved1(void) {}
86 // This method is for internal use only. Using this method can cause behavioral, security-related,
87 // and consistency-related issues in the application.
89 // This method is reserved and may change its name at any time without prior notice.
93 virtual void ICertificateSelector_Reserved2(void) {}
96 // This method is for internal use only. Using this method can cause behavioral, security-related,
97 // and consistency-related issues in the application.
99 // This method is reserved and may change its name at any time without prior notice.
103 virtual void ICertificateSelector_Reserved3(void) {}
105 }; // ICertificateSelector
107 } } } // Tizen::Security::Cert
109 #endif // _FSEC_CERT_ICERTIFICATE_SELECTOR_H_