2 // Copyright (c) 2012 Samsung Electronics Co., Ltd.
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
8 // http://www.apache.org/licenses/LICENSE-2.0
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.
18 * @file FSecCertX509CertificateSelector.h
19 * @brief This is the header file for the %X509CertificateSelector class.
21 * This header file contains the declarations of the %X509CertificateSelector class.
23 #ifndef _FSEC_CERT_X509_CERTIFICATE_SELECTOR_H_
24 #define _FSEC_CERT_X509_CERTIFICATE_SELECTOR_H_
26 #include <FSecCertICertificateSelector.h>
29 namespace Tizen { namespace Security { namespace Cert
33 * @class X509CertificateSelector
34 * @brief This class is used for managing a variety of identity certificates.
38 * The %X509CertificateSelector class is a selector that defines a set of criterion for selecting certificates. @n
40 * For more information on the class features, see <a href="../org.tizen.native.appprogramming/html/guide/security/certificate_namespace.htm">Certificates</a>.
43 * @see Tizen::Security::Cert::ICertificateSelector
45 class _OSP_EXPORT_ X509CertificateSelector
46 : public virtual ICertificateSelector
47 , public Tizen::Base::Object
52 * This is the constructor for this class.
56 X509CertificateSelector(void);
59 * This is the destructor for this class.
63 virtual ~X509CertificateSelector(void);
66 * Gets the certificate type.
70 * @return The certificate type
72 virtual CertificateType GetType(void) const;
75 * Sets the certificate type.
79 * @param[in] certificateType The certificate type
81 virtual void SetType(CertificateType certificateType);
84 X509CertificateSelector(const X509CertificateSelector& rhs);
85 X509CertificateSelector& operator =(const X509CertificateSelector& rhs);
88 CertificateType __certType;
90 class _X509CertificateSelectorImpl* __pX509CertificateSelectorImpl;
91 friend class _X509CertificateSelectorImpl;
93 }; // X509CertificateSelector
95 } } } // Tizen::Security::Cert
97 #endif // _FSEC_CERT_X509_CERTIFICATE_SELECTOR_H_