cryptomgmtlibs/securityutils/inc/securityerr.h
branchRCL_3
changeset 41 9b5a3a9fddf8
parent 34 5b5ca9f4f7b4
equal deleted inserted replaced
37:721a5e5fe251 41:9b5a3a9fddf8
    31 **/
    31 **/
    32 const TInt KErrBadPassphrase				= -11000;
    32 const TInt KErrBadPassphrase				= -11000;
    33 
    33 
    34 
    34 
    35 
    35 
       
    36 /**
       
    37 	Operation in progress or its result is not secure.
       
    38 **/
       
    39 const TInt KErrNotSecure        			= -11001;
       
    40 
       
    41 
       
    42 
    36 /** 
    43 /** 
    37 	If the key size is larger than that allowed 
    44 	If the key size is larger than that allowed 
    38 	by the cipher strength restrictions of the crypto 
    45 	by the cipher strength restrictions of the crypto 
    39 	library.
    46 	library.
    40 **/
    47 **/
    41 const TInt KErrKeyNotWeakEnough				= -11002;
    48 const TInt KErrKeyNotWeakEnough				= -11002;
    42 
    49 
    43 
    50 
    44 
    51 
    45 /**
    52 /**
    46 	If the padding on a block does not conform to the
    53 	Length of the padding data is invalid.
    47 	specifications of the algorithm.	 
    54 **/
    48 **/	
       
    49 const TInt KErrInvalidPadding				= -11003;
    55 const TInt KErrInvalidPadding				= -11003;
    50 
    56 
    51 
    57 
    52 
    58 
    53 /** 
    59 /** 
   109 /**
   115 /**
   110 	If the requested private key is not present.
   116 	If the requested private key is not present.
   111 **/
   117 **/
   112 const TInt KErrPrivateKeyNotFound			= -11011;
   118 const TInt KErrPrivateKeyNotFound			= -11011;
   113 
   119 
       
   120 
       
   121 
   114 /**
   122 /**
   115 	If a setting in the repository is not found.
   123 	If a setting in the repository is not found.
   116 **/
   124 **/
   117 const TInt KErrSettingNotFound					= -11012;	
   125 const TInt KErrSettingNotFound				= -11012;	
   118 
   126 
   119 #endif	//	__SECURITYERR_H__
   127 #endif	//	__SECURITYERR_H__