xmlsecurityengine/xmlseccertman/inc/xmlsecmsymbiancertchain.h
branchCompilerCompatibility
changeset 13 5474adb59cd1
parent 0 e35f40988205
equal deleted inserted replaced
11:eedd0bd837c5 13:5474adb59cd1
    45      * @since S60 v3.2
    45      * @since S60 v3.2
    46      * @param aEncodedCerts One or more concatenated DER encoded X.509 certificates in TUint8 format
    46      * @param aEncodedCerts One or more concatenated DER encoded X.509 certificates in TUint8 format
    47      * @param aEncodedCertsLen Length of the DER encoded X.509 certificates
    47      * @param aEncodedCertsLen Length of the DER encoded X.509 certificates
    48      * @param aRootCerts An array of certificates which the chain will treat as candidate root certificates
    48      * @param aRootCerts An array of certificates which the chain will treat as candidate root certificates
    49      */        
    49      */        
    50     IMPORT_C void CSymbianCertChain::InitializeL(TUint8 *aEncodedCerts, 
    50     IMPORT_C void InitializeL(TUint8 *aEncodedCerts, 
    51                                             TUint aEncodedCertsLen, 
    51                               TUint aEncodedCertsLen, 
    52                                             const RPointerArray< CX509Certificate > &aRootCerts);
    52                               const RPointerArray< CX509Certificate > &aRootCerts);
    53  
    53  
    54     /**
    54     /**
    55      * Call ValidateL() of the iCertChain
    55      * Call ValidateL() of the iCertChain
    56      * @since S60 v3.2 
    56      * @since S60 v3.2 
    57      */         
    57      */         
    58     IMPORT_C void CSymbianCertChain::ValidateL();
    58     IMPORT_C void ValidateL();
    59  		
    59  		
    60     /**
    60     /**
    61      * Get the validation result
    61      * Get the validation result
    62      *
    62      *
    63      * @since S60 v3.2
    63      * @since S60 v3.2
    64      * @return EValidatedOK (0) if validation succeeds
    64      * @return EValidatedOK (0) if validation succeeds
    65      * @return -1 if no result can be fetched
    65      * @return -1 if no result can be fetched
    66      * @return enum TValidationError if validation fails
    66      * @return enum TValidationError if validation fails
    67      */     		
    67      */     		
    68     IMPORT_C TInt CSymbianCertChain::GetValidateResult();
    68     IMPORT_C TInt GetValidateResult();
    69     
    69     
    70     /**
    70     /**
    71      * Get the error flag
    71      * Get the error flag
    72      *
    72      *
    73      * @since S60 v3.2
    73      * @since S60 v3.2
    74      * @return error code
    74      * @return error code
    75      */    		
    75      */    		
    76     IMPORT_C TInt CSymbianCertChain::GetError();
    76     IMPORT_C TInt GetError();
    77         
    77         
    78 protected:
    78 protected:
    79     /**
    79     /**
    80      * From CActive Callback function, invoked to handle responses from the server
    80      * From CActive Callback function, invoked to handle responses from the server
    81      */
    81      */