cryptoservices/filebasedcertificateandkeystores/test/keytool/keytool_utils.h
changeset 8 35751d3474b7
parent 0 2c201484c85f
equal deleted inserted replaced
2:675a964f4eb5 8:35751d3474b7
    96 	 * Pretty prints the human readable description of a given error code.
    96 	 * Pretty prints the human readable description of a given error code.
    97 	 *
    97 	 *
    98 	 * @param aError The error code we want to print.
    98 	 * @param aError The error code we want to print.
    99 	 * @param aConsole The console where the output goes.
    99 	 * @param aConsole The console where the output goes.
   100 	 */
   100 	 */
   101 	static void WriteErrorL(TInt aError);
   101 	static void WriteErrorL(TInt aError); 
   102 	
   102 	
   103 	/**
   103 	/**
   104 	 * Parses the human understandable description of a key usage 
   104 	 * Parses the human understandable description of a key usage 
   105 	 * and returns the corresponding numeric code.
   105 	 * and returns the corresponding numeric code.
   106 	 *
   106 	 *
   109 	 */
   109 	 */
   110 	static TKeyUsagePKCS15 ParseKeyUsage(TPtrC aUsage);
   110 	static TKeyUsagePKCS15 ParseKeyUsage(TPtrC aUsage);
   111 	
   111 	
   112 	static CCTKeyInfo::EKeyAccess ParseKeyAccess(TPtrC aAccess);
   112 	static CCTKeyInfo::EKeyAccess ParseKeyAccess(TPtrC aAccess);
   113 	
   113 	
   114 	static void PrintCertInfoL(CCTCertInfo& aCertInfo, CCertificate& aCertificate, RArray<TUid> aApps, TBool aIsDetailed = EFalse,TBool aPageWise = EFalse);
   114 	static void PrintCertInfoL(CCTCertInfo& aCertInfo, CCertificate& aCertificate, RArray<TUid> aApps, TBool aTrusted, TBool aIsDetailed = EFalse,TBool aPageWise = EFalse);
   115 
   115 
   116 	static const TDesC& Uid2Des(TUid aUid);
   116 	static const TDesC& Uid2Des(TUid aUid);
   117 
   117 
   118 	static RArray<CCTKeyInfo*> MatchKey(RMPointerArray<CCTKeyInfo>& aKeyList, TDesC& aLabel);
   118 	static RArray<CCTKeyInfo*> MatchKey(RMPointerArray<CCTKeyInfo>& aKeyList, TDesC& aLabel);
   119 
   119