cryptoservices/certificateandkeymgmt/tcertstore/t_filter.cpp
branchRCL_3
changeset 61 641f389e9157
parent 42 eb9b28acd381
child 62 a71299154b21
equal deleted inserted replaced
60:f18401adf8e1 61:641f389e9157
    80 	// Set subjetkeyid filter
    80 	// Set subjetkeyid filter
    81 	SetSubjectKeyIdFilter(Input::ParseElement(aFilter, KSubjectKeyIdStart));
    81 	SetSubjectKeyIdFilter(Input::ParseElement(aFilter, KSubjectKeyIdStart));
    82 	
    82 	
    83 	// Set subjetkeyid filter
    83 	// Set subjetkeyid filter
    84 	SetIssuerKeyIdFilter(Input::ParseElement(aFilter, KIssuerKeyIdStart));
    84 	SetIssuerKeyIdFilter(Input::ParseElement(aFilter, KIssuerKeyIdStart));
    85 	
    85 
    86 	// Set subjetkeyid using the certificate details
    86 	// Set subjetkeyid using the certificate details
    87 	SetSubjectKeyIdFromCertFilterL(Input::ParseElement(aFilter, KUseSubjectKeyIdStart));
    87 	SetSubjectKeyIdFromCertFilterL(Input::ParseElement(aFilter, KUseSubjectKeyIdStart));
    88 		
    88 
    89 	}
    89 	}
    90 
    90 
    91 void CFilter::SetLabelFilter(const TDesC8& aLabel)
    91 void CFilter::SetLabelFilter(const TDesC8& aLabel)
    92 	{
    92 	{
    93 	if (aLabel != KNullDesC8)
    93 	if (aLabel != KNullDesC8)
   407 		CleanupStack::PopAndDestroy(3, &fs); // buf, cert, fs
   407 		CleanupStack::PopAndDestroy(3, &fs); // buf, cert, fs
   408 		iFilter->SetSubjectKeyId(id);
   408 		iFilter->SetSubjectKeyId(id);
   409 		}
   409 		}
   410 	}
   410 	}
   411 
   411 
       
   412 
   412 CCertAttributeFilter* CFilter::iFilter = NULL;
   413 CCertAttributeFilter* CFilter::iFilter = NULL;