crypto/weakcryptospi/inc/spi/keypairgeneratorplugin.h
changeset 33 cf642210ecb7
parent 8 35751d3474b7
equal deleted inserted replaced
29:ece3df019add 33:cf642210ecb7
    45 		/**
    45 		/**
    46 		Generates a key pair
    46 		Generates a key pair
    47 		@param aKeySize	The algorithm-specific metric as a number of bits
    47 		@param aKeySize	The algorithm-specific metric as a number of bits
    48 		@param aKeyParameters	The list of algorithm-specific parameters used by the generator to generate the key pair
    48 		@param aKeyParameters	The list of algorithm-specific parameters used by the generator to generate the key pair
    49 		@param aKeyPair	The generated key pair
    49 		@param aKeyPair	The generated key pair
       
    50 
       
    51 		@leave ...	Any of the crypto error codes defined in 
       
    52   					cryptospi_errs.h or any of the system-wide error codes.
    50 		*/
    53 		*/
    51 		virtual void GenerateKeyPairL(TInt aKeySize, const CCryptoParams& aKeyParameters, CKeyPair*& aKeyPair) = 0;
    54 		virtual void GenerateKeyPairL(TInt aKeySize, const CCryptoParams& aKeyParameters, CKeyPair*& aKeyPair) = 0;
    52 		};
    55 		};
    53 
    56 
    54 
    57 
    60 		Generates a key pair
    63 		Generates a key pair
    61 		@param aKeySize	The algorithm-specific metric as a number of bits
    64 		@param aKeySize	The algorithm-specific metric as a number of bits
    62 		@param aKeyParameters	The list of algorithm-specific parameters used by the generator to generate the key pair
    65 		@param aKeyParameters	The list of algorithm-specific parameters used by the generator to generate the key pair
    63 		@param aKeyPair	The generated key pair
    66 		@param aKeyPair	The generated key pair
    64 		@param aRequestStatus
    67 		@param aRequestStatus
       
    68 
       
    69 		@leave ...	Any of the crypto error codes defined in 
       
    70   					cryptospi_errs.h or any of the system-wide error codes.
    65 		*/
    71 		*/
    66 		virtual void GenerateKeyPairL(TInt aKeySize, const CCryptoParams& aKeyParameters, CKeyPair*& aKeyPair, TRequestStatus& aRequestStatus) = 0;
    72 		virtual void GenerateKeyPairL(TInt aKeySize, const CCryptoParams& aKeyParameters, CKeyPair*& aKeyPair, TRequestStatus& aRequestStatus) = 0;
    67 
    73 
    68 		/**
    74 		/**
    69 		Cancel the outstanding request
    75 		Cancel the outstanding request