//
-// Open Service Platform
// Copyright (c) 2012 Samsung Electronics Co., Ltd.
//
// Licensed under the Apache License, Version 2.0 (the License);
//
/**
- * @file FSecIKeyPairGenerator.h
+ * @file FSecIKeyPairGenerator.h
* @brief This is the header file for the %IKeyPairGenerator interface.
*
* This header file contains the declarations of the %IKeyPairGenerator interface.
public:
/**
- * This polymorphic destructor should be overridden if required. This way, the destructors of the derived classes @n
- * are called when the destructor of this interface is called.
+ * This polymorphic destructor should be overridden if required. @n
+ * This way, the destructors of the derived classes are called when the destructor of this interface is called.
*
* @since 2.0
*/
* @return An error code
* @param[in] modulusBitSize The modulus size in bits
* @exception E_SUCCESS The method is successful.
- * @exception E_INVALID_ARG The specified @c modulusBitSize is invalid. @n
- * The modulus size must be atleast greater than or equal to @c 1024 bits @n
- * to generate cryptographically secure keys.
+ * @exception E_INVALID_ARG Either of the following conditions has occurred:
+ * - The specified @c modulusBitSize is invalid.
+ * - The modulus size must be atleast greater than or equal to @c 1024 bits
+ * to generate cryptographically secure keys.
*/
virtual result Construct(int modulusBitSize) = 0;
* @exception E_SUCCESS The method is successful.
* @exception E_UNSUPPORTED_ALGORITHM The requested algorithm is not supported.
* @exception E_OUT_OF_MEMORY The memory is insufficient.
- * @exception E_SYSTEM A system error has occurred. @n
- * The method has failed to operate with the OpenSSL library.
- * @remarks The specific error code can be accessed using the GetLastResult() method.
+ * @exception E_SYSTEM Either of the following conditions has occurred:
+ * - A system error has occurred.
+ * - The method has failed to operate with the OpenSSL library.
+ * @remarks The specific error code can be accessed using the GetLastResult() method.
*/
virtual Tizen::Security::KeyPair* GenerateKeyPairN(void) const = 0;