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.
18 * @file SignatureStep.h
19 * @brief This is the header file for the %SignatureStep class.
21 * This header file contains the declarations of the %SignatureStep class.
23 #ifndef _SIGNATURE_STEP_H_
24 #define _SIGNATURE_STEP_H_
26 #include "IInstallationStep.h"
27 #include "SignatureManager.h"
30 * @class SignatureStep
31 * @brief This class represents the class of SignatureStep.
34 * This class represents the class of SignatureStep.
38 : public IInstallationStep
42 virtual ~SignatureStep(void);
44 virtual InstallerError Run(InstallationContext* pContext);
57 SignatureStep(const SignatureStep& value);
58 SignatureStep& operator =(const SignatureStep& source);
60 void GoNextState(void);
61 InstallerError OnStateSignerInit(void);
62 InstallerError OnStateSignerCert(void);
63 InstallerError OnStateCertChain(void);
64 InstallerError OnStateRootCert(void);
65 InstallerError OnStateContextAudit(void);
66 InstallerError OnStateDone(void);
70 InstallationContext* __pContext;
71 SignatureManager* __pSignatureManager;
75 #endif //_SIGNATURE_STEP_H_