class Swi::Sis::CController : public Swi::Sis::CField |
This class represents a Controller. This is a structure found in files. It is described in SGL.GT0188.251.
Private Member Functions | |
---|---|
CController () | |
void | ConstructL ( MSisDataProvider &, TInt64 &, TReadTypeBehaviour ) |
void | ConstructL ( TPtrProvider &, TInt64 &, TReadTypeBehaviour ) |
Inherited Enumerations | |
---|---|
Swi::Sis::CField:TArrayStatus |
const CCertChainConstraints * | CertChainConstraints | ( | ) | const [inline] |
Get the instance of the CCertChainConstraint.
void | ConstructL | ( | MSisDataProvider & | aDataProvider, |
TInt64 & | aBytesRead, | |||
TReadTypeBehaviour | aTypeReadBehaviour | |||
) | [private] |
The second-phase constructor.
MSisDataProvider & aDataProvider | An instance of a MSisDataProvider to read the entity from. |
TInt64 & aBytesRead | |
TReadTypeBehaviour aTypeReadBehaviour | Whether we need to check the sis type or not. |
void | ConstructL | ( | TPtrProvider & | aDataProvider, |
TInt64 & | aBytesRead, | |||
TReadTypeBehaviour | aTypeReadBehaviour | |||
) | [private] |
The second-phase in-place constructor.
TPtrProvider & aDataProvider | An instance of a TPtrProvider to read the entity from. |
TInt64 & aBytesRead | |
TReadTypeBehaviour aTypeReadBehaviour | Whether we need to check the sis type or not. |
IMPORT_C CMessageDigest * | GenerateControllerHashLC | ( | const TDesC8 & | aController | ) |
Generate a hash for the controller from SISInfo (without the length) to SISInstallBlock (i.e. except the SISSignatueCertificateChain and SISDataIndex)
const TDesC8 & aController | SISController raw data |
const CInfo & | Info | ( | ) | const [inline] |
Every SISController includes a SISInfo structure which can be accessed using this function.
const CInstallBlock & | InstallBlock | ( | ) | const [inline] |
Every SISController includes a SISInstallBlock structure which can be accessed using this function.
TBool | IsSignedBySuCert | ( | ) | const [inline] |
Get the System upgrade Cert status associated the SIS package handled by this controller
const CLogo * | Logo | ( | ) | const [inline] |
A SISController may contain a SISLogo structure, it can be accessed using this function.
IMPORT_C CController * | NewL | ( | MSisDataProvider & | aDataProvider, |
TReadTypeBehaviour | aTypeReadBehaviour = EReadType | |||
) | [static] |
This creates a new CController object.
MSisDataProvider & aDataProvider | An instance of a MSisDataProvider to read the entity from. |
TReadTypeBehaviour aTypeReadBehaviour = EReadType | Whether we need to check the sis type or not. |
IMPORT_C CController * | NewL | ( | MSisDataProvider & | aDataProvider, |
TInt64 & | aBytesRead, | |||
TReadTypeBehaviour | aTypeReadBehaviour = EReadType | |||
) | [static] |
This creates a new CController object.
MSisDataProvider & aDataProvider | An instance of a MSisDataProvider to read the entity from. |
TInt64 & aBytesRead | |
TReadTypeBehaviour aTypeReadBehaviour = EReadType | Whether we need to check the sis type or not. |
IMPORT_C CController * | NewL | ( | TPtrProvider & | aDataProvider, |
TReadTypeBehaviour | aTypeReadBehaviour = EReadType | |||
) | [static] |
This creates a new CController object.
TPtrProvider & aDataProvider | An instance of TPtrProvider to read the controller from. |
TReadTypeBehaviour aTypeReadBehaviour = EReadType | Whether we need to check the sis type or not. |
IMPORT_C CController * | NewL | ( | TPtrProvider & | aDataProvider, |
TInt64 & | aBytesRead, | |||
TReadTypeBehaviour | aTypeReadBehaviour = EReadType | |||
) | [static] |
This creates a new CController object in place.
TPtrProvider & aDataProvider | An instance of TPtrProvider to read the controller from. |
TInt64 & aBytesRead | |
TReadTypeBehaviour aTypeReadBehaviour = EReadType | Whether we need to check the sis type or not. |
IMPORT_C CController * | NewLC | ( | MSisDataProvider & | aDataProvider, |
TInt64 & | aBytesRead, | |||
TReadTypeBehaviour | aTypeReadBehaviour = EReadType | |||
) | [static] |
This creates a new CController object and places it on the cleanup stack.
MSisDataProvider & aDataProvider | An instance of a MSisDataProvider to read the entity from. |
TInt64 & aBytesRead | |
TReadTypeBehaviour aTypeReadBehaviour = EReadType | Whether we need to check the sis type or not. |
IMPORT_C CController * | NewLC | ( | MSisDataProvider & | aDataProvider, |
TReadTypeBehaviour | aTypeReadBehaviour = EReadType | |||
) | [static] |
This creates a new CController object and places it on the cleanup stack.
MSisDataProvider & aDataProvider | An instance of a MSisDataProvider to read the entity from. |
TReadTypeBehaviour aTypeReadBehaviour = EReadType | Whether we need to check the sis type or not. |
IMPORT_C CController * | NewLC | ( | TPtrProvider & | aDataProvider, |
TReadTypeBehaviour | aTypeReadBehaviour = EReadType | |||
) | [static] |
This creates a new CController object and places it on the cleanup stack.
TPtrProvider & aDataProvider | An instance of TPtrProvider to read the controller from. |
TReadTypeBehaviour aTypeReadBehaviour = EReadType | Whether we need to check the sis type or not. |
IMPORT_C CController * | NewLC | ( | TPtrProvider & | aDataProvider, |
TInt64 & | aBytesRead, | |||
TReadTypeBehaviour | aTypeReadBehaviour = EReadType | |||
) | [static] |
This creates a new CController object in place and places it on the cleanup stack.
TPtrProvider & aDataProvider | An instance of TPtrProvider to read the controller from. |
TInt64 & aBytesRead | |
TReadTypeBehaviour aTypeReadBehaviour = EReadType | Whether we need to check the sis type or not. |
const CPrerequisites & | Prerequisites | ( | ) | const [inline] |
Every SISController includes a list of prerequisites which must be met for the installation to proceed. Note that, although a CPrerequisites object is always constructed, this might be empty, e.g. no prerequisites are present.
const CProperties & | Properties | ( | ) | const [inline] |
Every SISController includes a list of supported properties encoded in a SISSupportedProperties structure which can be accessed using this function. Note that, although a CProperties object is always constructed, this might be empty, e.g. no properties are present.
IMPORT_C TInt | RemoveWithLastDependent | ( | ) | const |
Provide whether the package will be uninstalled after uninstalling last dependent
IMPORT_C void | SetCertChainConstraints | ( | CCertChainConstraints * | aConstraints | ) |
This sets the instance of the CCertChainConstraint.
CCertChainConstraints * aConstraints |
IMPORT_C void | SetRemoveWithLastDependent | ( | ) |
Set the status which determines whether the package will be uninstalled after uninstalling last dependent.
void | SetSignedBySuCert | ( | TBool | aSignedBySuCert | ) | [inline] |
Set the System upgrade Cert validation status associated the SIS package handled by this controller
TBool aSignedBySuCert | The TBool to be associated with the package |
void | SetTrust | ( | TSisPackageTrust | aTrust | ) | [inline] |
Set the trust associated the SIS package handled by this controller
TSisPackageTrust aTrust | The TSisPackageTrust to be associated with the package |
const RPointerArray < CSignatureCertificateChain > & | SignatureCertificateChains | ( | ) | const [inline] |
A controller can be signed multiple times. A signature/certificate for a given controller is encoded in a SISSignatureCertificateChain structure. This function returns a list of such structure as an array. Note that if the controller is not signed the returned array will be empty.
const CSupportedLanguages & | SupportedLanguages | ( | ) | const [inline] |
Every SISController includes a list of supported language encoded in a SISSupportedLanguages structure which can be accessed using this function. In a well formed SIS file this structure cannot be empty as there must always be a supported language.
const CSupportedOptions & | SupportedOptions | ( | ) | const [inline] |
Every SISController includes a list of supported options encoded in a SISSupportedOptions structure which can be accessed using this function. Note that, although a CSupportedOptions object is always constructed, this might be empty, e.g. no options are present.
TSisPackageTrust | Trust | ( | ) | const [inline] |
Get the trust associated the SIS package handled by this controller
TSisTrustStatus & | TrustStatus | ( | ) | const [inline] |
Provide the trust status object describing the controller.
This member is not part of the SIS file structure but is information about it that needs to travel through the SWIS. The object is returned non-const from a const member as it is a mutable member of CController .
CCertChainConstraints * | iCertChainConstraints | [private] |
RArray < TInt > | iCertChainIndices | [private] |
Contains the indexes of the chains check for revocation at install time
RPointerArray < CSignatureCertificateChain > | iSignatureCertificateChains | [private] |
Copyright ©2010 Nokia Corporation and/or its subsidiary(-ies).
All rights
reserved. Unless otherwise stated, these materials are provided under the terms of the Eclipse Public License
v1.0.