* @exception E_SUCCESS The method is successful.
* @exception E_OUT_OF_MEMORY The memory is insufficient.
* @exception E_INVALID_ARG The value of the specified @c nth is out of the valid range. @n
- * It must be less than GetLength().
+ * It must be less than the value retrieved by the GetLength() method.
* @exception E_OBJ_NOT_FOUND The certificate is not found.
* @exception E_SYSTEM A system error has occurred. @n
* The certificate list is empty.
* @since 2.0
*
* @return An error code
- * @param[in] certificateType The type of the Certificate (that is, ROOT_CA, OPERATOR_DOMAIN, or TRUSTED_THIRD_PARTY_DOMAIN)
+ * @param[in] certificateType The type of the Certificate (that is, @c ROOT_CA, @c OPERATOR_DOMAIN, or @c TRUSTED_THIRD_PARTY_DOMAIN)
* @param[in] certificate A reference to the certificate to insert
* @exception E_SUCCESS The method is successful.
* @exception E_OUT_OF_MEMORY The memory is insufficient.
* @since 2.0
*
* @return An error code
- * @param[in] certificateType The type of the Certificate (that is, ROOT_CA, OPERATOR_DOMAIN, or TRUSTED_THIRD_PARTY_DOMAIN)
+ * @param[in] certificateType The type of the Certificate (that is, @c ROOT_CA, @c OPERATOR_DOMAIN, or @c TRUSTED_THIRD_PARTY_DOMAIN)
* @param[in] oldCert A reference to the old certificate
* @param[in] newCert A reference to the new certificate
* @exception E_SUCCESS The method is successful.
* @since 2.0
*
* @return An error code
- * @param[in] certificateType The type of the Certificate (that is, ROOT_CA, OPERATOR_DOMAIN, or TRUSTED_THIRD_PARTY_DOMAIN)
+ * @param[in] certificateType The type of the Certificate (that is, @c ROOT_CA, @c OPERATOR_DOMAIN, or @c TRUSTED_THIRD_PARTY_DOMAIN)
* @param[in] certificate A reference to the certificate to remove
* @exception E_SUCCESS The method is successful.
* @exception E_OUT_OF_MEMORY The memory is insufficient.
* @exception E_SUCCESS The method is successful.
* @exception E_OUT_OF_MEMORY The memory is insufficient.
* @exception E_INVALID_ARG The value of the specified @c nth is out of the valid range. @n
- * It must be less than GetLength().
+ * It must be less than the value retrieved by the GetLength() method.
* @exception E_OBJ_NOT_FOUND The certificate is not found.
* @exception E_SYSTEM A system error has occurred. @n
* The certificate link list operation has failed.
* @privilege %http://tizen.org/privilege/certificate.write
*
* @return An error code
- * @param[in] certificateType The type of the Certificate (ROOT_CA, OPERATOR_DOMAIN, or TRUSTED_THIRD_PARTY_DOMAIN)
+ * @param[in] certificateType The type of the Certificate (@c ROOT_CA, @c OPERATOR_DOMAIN, or @c TRUSTED_THIRD_PARTY_DOMAIN)
* @param[in] certificate A reference to the certificate to insert
* @exception E_SUCCESS The method is successful.
* @exception E_OUT_OF_MEMORY The memory is insufficient.
* @privilege %http://tizen.org/privilege/certificate.write
*
* @return An error code
- * @param[in] certificateType The type of the Certificate (ROOT_CA, OPERATOR_DOMAIN, or TRUSTED_THIRD_PARTY_DOMAIN)
+ * @param[in] certificateType The type of the Certificate (@c ROOT_CA, @c OPERATOR_DOMAIN, or @c TRUSTED_THIRD_PARTY_DOMAIN)
* @param[in] oldCert A reference to the old certificate
* @param[in] newCert A reference to the new certificate
* @exception E_SUCCESS The method is successful.
* @privilege %http://tizen.org/privilege/certificate.write
*
* @return An error code
- * @param[in] certificateType The type of the Certificate (ROOT_CA, OPERATOR_DOMAIN, TRUSTED_THIRD_PARTY_DOMAIN)
+ * @param[in] certificateType The type of the Certificate (@c ROOT_CA, @c OPERATOR_DOMAIN, @c TRUSTED_THIRD_PARTY_DOMAIN)
* @param[in] certificate A reference to the certificate to remove
* @exception E_SUCCESS The method is successful.
* @exception E_OUT_OF_MEMORY The memory is insufficient.
* @since 2.0
*
* The %AesCipher class provides a symmetric cipher using the Advanced Encryption Standard (AES) method.
- * Set appropriate values for the requested mode/key bit/padding scheme and cipher operation mode (CIPHER_ENCRYPT, CIPHER_DECRYPT, CIPHER_WRAP, or CIPHER_UNWRAP) parameters. @n
+ * Set appropriate values for the requested mode/key bit/padding scheme and cipher operation mode (::CIPHER_ENCRYPT, ::CIPHER_DECRYPT, ::CIPHER_WRAP,
+ * or ::CIPHER_UNWRAP) parameters. @n
*
* For more information on the class features, see <a href="../org.tizen.native.appprogramming/html/guide/security/ciphers.htm">Ciphers</a>.
*
* Encrypts the data (single-part).
*
* @since 2.0
+ * @pre Before calling this method, a secret key and an initial vector should be set using SetKey() and SetInitialVector().
*
* @return A pointer to the Tizen::Base::ByteBuffer class that contains the output, @n
* else @c null if an error occurs
* The method has failed to operate with the openssl library, or
* the Tizen::Base::ByteBuffer operation has failed.
* @remarks The specific error code can be accessed using the GetLastResult() method.
- * @remarks A secret key and an initial vector are set before calling this method.
*/
virtual Tizen::Base::ByteBuffer* EncryptN(const Tizen::Base::ByteBuffer& input);
* Decrypts the data (single-part).
*
* @since 2.0
- *
+ * @pre Before calling this method, a secret key and an initial vector should be set using SetKey() and SetInitialVector().
* @return A pointer to the Tizen::Base::ByteBuffer class that contains the output, @n
* else @c null if an error occurs
* @param[in] input An instance of Tizen::Base::ByteBuffer
* @exception E_SYSTEM A system error has occurred. @n
* The method has failed to operate with the openssl library, or
* the Tizen::Base::ByteBuffer operation has failed.
- * @remarks The specific error code can be accessed using the GetLastResult() method.
- * @remarks A secret key and an initial vector are set before calling this method.
+ * @remarks The specific error code can be accessed using the GetLastResult() method.
*/
virtual Tizen::Base::ByteBuffer* DecryptN(const Tizen::Base::ByteBuffer& input);
* Wraps a key.
*
* @since 2.0
- *
+ * @pre Before calling this method, a secret key should be set using SetKey().
* @return A pointer to the Tizen::Base::ByteBuffer class that contains the output, @n
* else @c null if an error occurs
* @param[in] secretKey The secret key to wrap
* @exception E_UNSUPPORTED_ALGORITHM The specified cipher algorithm for this method is invalid.
* @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.
- * @remarks A key is set using SetKey() before calling this method.
+ * @remarks The specific error code can be accessed using the GetLastResult() method.
*/
virtual Tizen::Base::ByteBuffer* WrapN(const Tizen::Base::ByteBuffer& secretKey);
* Unwraps a previously wrapped key.
*
* @since 2.0
- *
+ * @pre Before calling this method, a secret key should be set using SetKey().
* @return A pointer to the Tizen::Base::ByteBuffer class that contains the output, @n
* else @c null if an error occurs
* @param[in] wrappedKey The wrapped key to unwrap
* @exception E_UNSUPPORTED_ALGORITHM The specified cipher algorithm for this method is invalid.
* @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.
- * @remarks A key is set using SetKey() before calling this method.
+ * @remarks The specific error code can be accessed using the GetLastResult() method.
*/
virtual Tizen::Base::ByteBuffer* UnwrapN(const Tizen::Base::ByteBuffer& wrappedKey);
* @since 2.0
*
* The %CastCipher class provides a symmetric cipher using the CAST-128 algorithm.
- * Set appropriate values for the requested mode/key bit/padding scheme and cipher operation mode (CIPHER_ENCRYPT
- * or CIPHER_DECRYPT) parameters. @n
+ * Set appropriate values for the requested mode/key bit/padding scheme and cipher operation mode (::CIPHER_ENCRYPT
+ * or ::CIPHER_DECRYPT) parameters. @n
*
* For more information on the class features, see <a href="../org.tizen.native.appprogramming/html/guide/security/ciphers.htm">Ciphers</a>.
*
* Encrypts the data (single-part).
*
* @since 2.0
- *
+ * @pre Before calling this method, a secret key and an initial vector should be set using SetKey() and SetInitialVector().
* @return A pointer to the Tizen::Base::ByteBuffer class that contains the output, @n
* else @c null if an error occurs
* @param[in] input An instance of Tizen::Base::ByteBuffer
* @exception E_SYSTEM A system error has occurred. @n
* The method has failed to operate with the openssl library, or
* the Tizen::Base::ByteBuffer operation has failed.
- * @remarks The specific error code can be accessed using the GetLastResult() method.
- * @remarks A secret key and an initial vector are set before calling this method.
+ * @remarks The specific error code can be accessed using the GetLastResult() method.
*/
virtual Tizen::Base::ByteBuffer* EncryptN(const Tizen::Base::ByteBuffer& input);
* Decrypts the data (single-part).
*
* @since 2.0
- *
+ * @pre Before calling this method, a secret key and an initial vector should be set using SetKey() and SetInitialVector().
* @return A pointer to the Tizen::Base::ByteBuffer class that contains the output, @n
* else @c null if an error occurs
* @param[in] input An instance of Tizen::Base::ByteBuffer
* @exception E_SYSTEM A system error has occurred. @n
* The method has failed to operate with the openssl library, or
* the Tizen::Base::ByteBuffer operation has failed.
- * @remarks The specific error code can be accessed using the GetLastResult() method.
- * @remarks A secret key and an initial vector are set before calling this method.
+ * @remarks The specific error code can be accessed using the GetLastResult() method.
*/
virtual Tizen::Base::ByteBuffer* DecryptN(const Tizen::Base::ByteBuffer& input);
* Initializes a multiple-part encryption or decryption operation.
*
* @since 2.0
- *
+ * @pre Before calling this method, a secret key and an initial vector should be set using SetKey() and SetInitialVector().
* @return An error code
* @exception E_SUCCESS The method is successful.
* @exception E_OUT_OF_MEMORY The memory is insufficient.
* @exception E_INVALID_OPERATION The specified cipher operation mode for this method is invalid.
* @exception E_SYSTEM A system error has occurred. @n
* The method has failed to operate with the openssl library.
- * @remarks A secret key and an initial vector are set before calling this method.
*/
virtual result Initialize(void);
*
* The %DesCipher class provides a symmetric cipher using the Data Encryption Standard (DES) method.
* Sets appropriate values for the requested mode/key bit/padding scheme and cipher operation mode
- * (CIPHER_ENCRYPT or CIPHER_DECRYPT) parameters. @n
+ * (::CIPHER_ENCRYPT or ::CIPHER_DECRYPT) parameters. @n
*
* For more information on the class features, see <a href="../org.tizen.native.appprogramming/html/guide/security/ciphers.htm">Ciphers</a>.
*
* Encrypts the data (single-part).
*
* @since 2.0
- *
+ * @pre Before calling this method, a secret key and an initial vector should be set using SetKey() and SetInitialVector().
* @return A pointer to the Tizen::Base::ByteBuffer class that contains the output, @n
* else @c null if an error occurs
* @param[in] input An instance of Tizen::Base::ByteBuffer
* @exception E_SYSTEM A system error has occurred. @n
* The method has failed to operate with the openssl library, or
* the Tizen::Base::ByteBuffer operation has failed.
- * @remarks The specific error code can be accessed using the GetLastResult() method.
- * @remarks A secret key and an initial vector are set before calling this method.
+ * @remarks The specific error code can be accessed using the GetLastResult() method.
*/
virtual Tizen::Base::ByteBuffer* EncryptN(const Tizen::Base::ByteBuffer& input);
* Decrypts the data (single-part).
*
* @since 2.0
- *
+ * @pre Before calling this method, a secret key and an initial vector should be set using SetKey() and SetInitialVector().
* @return A pointer to the Tizen::Base::ByteBuffer class that contains the output, @n
* else @c null if an error occurs
* @param[in] input An instance of Tizen::Base::ByteBuffer
* @exception E_SYSTEM A system error has occurred. @n
* The method has failed to operate with the openssl library, or
* the Tizen::Base::ByteBuffer operation has failed.
- * @remarks The specific error code can be accessed using the GetLastResult() method.
- * @remarks A secret key and an initial vector are set before calling this method.
+ * @remarks The specific error code can be accessed using the GetLastResult() method.
*/
virtual Tizen::Base::ByteBuffer* DecryptN(const Tizen::Base::ByteBuffer& input);
/**
* Initializes a multiple-part encryption or decryption operation.
*
- * @since 2.0
- *
+ * @since 2.0
+ * @pre Before calling this method, a secret key and an initial vector should be set using SetKey() and SetInitialVector().
* @return An error code
* @exception E_SUCCESS The method is successful.
* @exception E_OUT_OF_MEMORY The memory is insufficient.
* @exception E_INVALID_OPERATION The specified cipher operation mode for this method is invalid.
* @exception E_SYSTEM A system error has occurred. @n
* The method has failed to operate with the openssl library.
- * @remarks A secret key and an initial vector are set before calling this method.
*/
virtual result Initialize(void);
* @return A pointer to the Tizen::Base::ByteBuffer class that contains the output, @n
* else @c null if an error occurs
* @param[in] secretKey The secret key to wrap
- * @remarks This operation is not supported in the %DesCipher class.
- * Therefore, this method always returns @c null.
- * @remarks The @c E_UNSUPPORTED_ALGORITHM exception is returned using the GetLastResult() method.
+ * @remarks
+ * - This operation is not supported in the %DesCipher class.
+ * Therefore, this method always returns @c null.
+ * - The @c E_UNSUPPORTED_ALGORITHM exception is returned using the GetLastResult() method.
*/
virtual Tizen::Base::ByteBuffer* WrapN(const Tizen::Base::ByteBuffer& secretKey);
* @return A pointer to the Tizen::Base::ByteBuffer class that contains the output, @n
* else @c null if an error occurs
* @param[in] wrappedKey The wrapped key to unwrap
- * @remarks This operation is not supported in the %DesCipher class.
- * Therefore, this method always returns @c null.
- * @remarks The @c E_UNSUPPORTED_ALGORITHM exception is returned using the GetLastResult() method.
+ * @remarks
+ * - This operation is not supported in the %DesCipher class.
+ * Therefore, this method always returns @c null.
+ * - The @c E_UNSUPPORTED_ALGORITHM exception is returned using the GetLastResult() method.
*/
virtual Tizen::Base::ByteBuffer* UnwrapN(const Tizen::Base::ByteBuffer& wrappedKey);
* @since 2.0
*
* The %DesEdeCipher class provides symmetric cipher using the Data Encryption Standard in the Encrypt-Decrypt-Encrypt (DES-EDE) mode.
- * Sets appropriate values for the requested mode/key bit/padding scheme and cipher operation (CIPHER_ENCRYPT or CIPHER_DECRYPT) parameters. @n
+ * Sets appropriate values for the requested mode/key bit/padding scheme and cipher operation (::CIPHER_ENCRYPT or ::CIPHER_DECRYPT) parameters. @n
*
* For more information on the class features, see <a href="../org.tizen.native.appprogramming/html/guide/security/ciphers.htm">Ciphers</a>.
*
* Encrypts the data (single-part).
*
* @since 2.0
- *
+ * @pre Before calling this method, a secret key and an initial vector should be set using SetKey() and SetInitialVector().
* @return A pointer to the Tizen::Base::ByteBuffer class that contains the output, @n
* else @c null if an error occurs
* @param[in] input An instance of Tizen::Base::ByteBuffer
* @exception E_SYSTEM A system error has occurred. @n
* The method has failed to operate with the openssl library, or
* the Tizen::Base::ByteBuffer operation has failed.
- * @remarks The specific error code can be accessed using the GetLastResult() method.
- * @remarks A secret key and an initial vector are set before calling this method.
+ * @remarks The specific error code can be accessed using the GetLastResult() method.
*/
virtual Tizen::Base::ByteBuffer* EncryptN(const Tizen::Base::ByteBuffer& input);
* Decrypts the data (single-part).
*
* @since 2.0
- *
+ * @pre Before calling this method, a secret key and an initial vector should be set using SetKey() and SetInitialVector().
* @return A pointer to the Tizen::Base::ByteBuffer class that contains the output, @n
* else @c null if an error occurs
* @param[in] input An instance of Tizen::Base::ByteBuffer
* @exception E_SYSTEM A system error has occurred. @n
* The method has failed to operate with the openssl library, or
* the Tizen::Base::ByteBuffer operation has failed.
- * @remarks The specific error code can be accessed using the GetLastResult() method.
- * @remarks A secret key and an initial vector are set before calling this method.
+ * @remarks The specific error code can be accessed using the GetLastResult() method.
*/
virtual Tizen::Base::ByteBuffer* DecryptN(const Tizen::Base::ByteBuffer& input);
* Initializes a multiple-part encryption or decryption operation.
*
* @since 2.0
- *
+ * @pre Before calling this method, a secret key and an initial vector should be set using SetKey() and SetInitialVector().
* @return An error code
* @exception E_SUCCESS The method is successful.
* @exception E_OUT_OF_MEMORY The memory is insufficient.
* @exception E_INVALID_OPERATION The specified cipher operation mode for this method is invalid.
* @exception E_SYSTEM A system error has occurred. @n
* The method has failed to operate with the openssl library.
- * @remarks A secret key and an initial vector are set before calling this method.
*/
virtual result Initialize(void);
* @return A pointer to the Tizen::Base::ByteBuffer class that contains the output, @n
* else @c null if an error occurs
* @param[in] secretKey The secret key to wrap
- * @remarks This operation is not supported in the %DesEdeCipher class.
- * Therefore, this method always returns @c null.
- * @remarks The @c E_UNSUPPORTED_ALGORITHM exception is returned using the GetLastResult() method.
+ * @remarks
+ * - This operation is not supported in the %DesEdeCipher class.
+ * Therefore, this method always returns @c null.
+ * - The @c E_UNSUPPORTED_ALGORITHM exception is returned using the GetLastResult() method.
*/
virtual Tizen::Base::ByteBuffer* WrapN(const Tizen::Base::ByteBuffer& secretKey);
* @return A pointer to the Tizen::Base::ByteBuffer class that contains the output, @n
* else @c null if an error occurs
* @param[in] wrappedKey The wrapped key to unwrap
- * @remarks This operation is not supported in the %DesEdeCipher class.
- * Therefore, this method always returns @c null.
- * @remarks The @c E_UNSUPPORTED_ALGORITHM exception is returned using the GetLastResult() method.
+ * @remarks
+ * - This operation is not supported in the %DesEdeCipher class.
+ * Therefore, this method always returns @c null.
+ * - The @c E_UNSUPPORTED_ALGORITHM exception is returned using the GetLastResult() method.
*/
virtual Tizen::Base::ByteBuffer* UnwrapN(const Tizen::Base::ByteBuffer& wrappedKey);
* @exception E_SYSTEM A system error has occurred. @n
* The method has failed to operate with the openssl library, or
* the Tizen::Base::ByteBuffer operation has failed.
- * @remarks The specific error code can be accessed using the GetLastResult() method.
- * @remarks This operation is only supported in AesCipher.
+ * @remarks
+ * - The specific error code can be accessed using the GetLastResult() method.
+ * - This operation is only supported in AesCipher.
*/
virtual Tizen::Base::ByteBuffer* WrapN(const Tizen::Base::ByteBuffer& secretKey) = 0;
* @exception E_SYSTEM A system error has occurred. @n
* The method has failed to operate with the openssl library, or
* the Tizen::Base::ByteBuffer operation has failed.
- * @remarks The specific error code can be accessed using the GetLastResult() method.
- * @remarks This operation is only supported in AesCipher.
+ * @remarks
+ * - The specific error code can be accessed using the GetLastResult() method.
+ * - This operation is only supported in AesCipher.
*/
virtual Tizen::Base::ByteBuffer* UnwrapN(const Tizen::Base::ByteBuffer& wrappedKey) = 0;
* Encrypts the data (single-part).
*
* @since 2.0
- *
+ * @pre Before calling this method, a secret key and an initial vector should be set using SetKey() and SetInitialVector().
* @return A pointer to the Tizen::Base::ByteBuffer class that contains the output, @n
* else @c null if an error occurs
* @param[in] input An instance of Tizen::Base::ByteBuffer
* @exception E_SYSTEM A system error has occurred. @n
* The method has failed to operate with the OpenSSL library, or
* the Tizen::Base::ByteBuffer operation has failed.
- * @remarks The specific error code can be accessed using the GetLastResult() method.
- * @remarks A secret key and an initial vector are set before calling this method.
+ * @remarks The specific error code can be accessed using the GetLastResult() method.
*/
virtual Tizen::Base::ByteBuffer* EncryptN(const Tizen::Base::ByteBuffer& input);
* Decrypts the data (single-part).
*
* @since 2.0
- *
+ * @pre Before calling this method, a secret key and an initial vector should be set using SetKey() and SetInitialVector().
* @return A pointer to the Tizen::Base::ByteBuffer class that contains the output, @n
* else @c null if an error occurs
* @param[in] input An instance of Tizen::Base::ByteBuffer
* @exception E_SYSTEM A system error has occurred. @n
* The method has failed to operate with the OpenSSL library, or
* the Tizen::Base::ByteBuffer operation has failed.
- * @remarks The specific error code can be accessed using the GetLastResult() method.
- * @remarks A secret key and an initial vector are set before calling this method.
+ * @remarks The specific error code can be accessed using the GetLastResult() method.
*/
virtual Tizen::Base::ByteBuffer* DecryptN(const Tizen::Base::ByteBuffer& input);
* Initializes a multiple-part encryption or decryption operation.
*
* @since 2.0
- *
+ * @pre Before calling this method, a secret key and an initial vector should be set using SetKey() and SetInitialVector().
* @return An error code
* @exception E_SUCCESS The method is successful.
* @exception E_OUT_OF_MEMORY The memory is insufficient.
* @exception E_INVALID_OPERATION The specified cipher operation mode for this method is invalid.
* @exception E_SYSTEM A system error has occurred. @n
* The method has failed to operate with the OpenSSL library.
- * @remarks A secret key and an initial vector are set before calling this method.
*/
virtual result Initialize(void);
* @return A pointer to the Tizen::Base::ByteBuffer class that contains the output, @n
* else @c null if an error occurs
* @param[in] secretKey The secret key to wrap
- * @remarks This operation is not supported in the %Rc2Cipher class.
- * Therefore, this method always returns @c null.
- * @remarks The @c E_UNSUPPORTED_ALGORITHM exception is returned using the GetLastResult() method.
+ * @remarks
+ * - This operation is not supported in the %Rc2Cipher class.
+ * Therefore, this method always returns @c null.
+ * - The @c E_UNSUPPORTED_ALGORITHM exception is returned using the GetLastResult() method.
*/
virtual Tizen::Base::ByteBuffer* WrapN(const Tizen::Base::ByteBuffer& secretKey);
* @return A pointer to the Tizen::Base::ByteBuffer class that contains the output, @n
* else @c null if an error occurs
* @param[in] wrappedKey The wrapped key to unwrap
- * @remarks This operation is not supported in the %Rc2Cipher class.
- * Therefore, this method always returns @c null.
- * @remarks The @c E_UNSUPPORTED_ALGORITHM exception is returned using the GetLastResult() method.
+ * @remarks
+ * - This operation is not supported in the %Rc2Cipher class.
+ * Therefore, this method always returns @c null.
+ * - The @c E_UNSUPPORTED_ALGORITHM exception is returned using the GetLastResult() method.
*/
virtual Tizen::Base::ByteBuffer* UnwrapN(const Tizen::Base::ByteBuffer& wrappedKey);
* Encrypts the data (single-part).
*
* @since 2.0
- *
+ * @pre Before calling this method, a secret key and an initial vector should be set using SetKey() and SetInitialVector().
* @return A pointer to the Tizen::Base::ByteBuffer class that contains the output, @n
* else @c null if an error occurs
* @param[in] input An instance of Tizen::Base::ByteBuffer
* @exception E_SYSTEM A system error has occurred. @n
* The method has failed to operate with the OpenSSL library, or
* the Tizen::Base::ByteBuffer operation has failed.
- * @remarks The specific error code can be accessed using the GetLastResult() method.
- * @remarks A secret key and an initial vector are set before calling this method.
+ * @remarks The specific error code can be accessed using the GetLastResult() method.
*/
virtual Tizen::Base::ByteBuffer* EncryptN(const Tizen::Base::ByteBuffer& input);
* Decrypts the data (single-part).
*
* @since 2.0
- *
+ * @pre Before calling this method, a secret key and an initial vector should be set using SetKey() and SetInitialVector().
* @return A pointer to the Tizen::Base::ByteBuffer class that contains the output, @n
* else @c null if an error occurs
* @param[in] input An instance of Tizen::Base::ByteBuffer
* @exception E_SYSTEM A system error has occurred. @n
* The method has failed to operate with the OpenSSL library, or
* the Tizen::Base::ByteBuffer operation has failed.
- * @remarks The specific error code can be accessed using the GetLastResult() method.
- * @remarks A secret key and an initial vector are set before calling this method.
+ * @remarks The specific error code can be accessed using the GetLastResult() method.
*/
virtual Tizen::Base::ByteBuffer* DecryptN(const Tizen::Base::ByteBuffer& input);
* Initializes a multiple-part encryption or decryption operation.
*
* @since 2.0
- *
+ * @pre Before calling this method, a secret key and an initial vector should be set using SetKey() and SetInitialVector().
* @return An error code
* @exception E_SUCCESS The method is successful.
* @exception E_OUT_OF_MEMORY The memory is insufficient.
* @exception E_KEY_NOT_FOUND The specified key is not found.
* @exception E_INVALID_OPERATION The specified cipher operation mode for this method is invalid.
* @exception E_SYSTEM A system error has occurred. @n
- * The method has failed to operate with the OpenSSL library.
- * @remarks A secret key and an initial vector are set before calling this method.
+ The method has failed to operate with the OpenSSL library.
*/
virtual result Initialize(void);
* @return A pointer to the Tizen::Base::ByteBuffer class that contains the output, @n
* else @c null if an error occurs
* @param[in] secretKey The secret key to wrap
- * @remarks This operation is not supported in the %Rc4Cipher class.
- * Therefore, this method always returns @c null.
- * @remarks The @c E_UNSUPPORTED_ALGORITHM is returned using the GetLastResult() method.
+ * @remarks
+ * - This operation is not supported in the %Rc4Cipher class.
+ * Therefore, this method always returns @c null.
+ * - The @c E_UNSUPPORTED_ALGORITHM is returned using the GetLastResult() method.
*/
virtual Tizen::Base::ByteBuffer* WrapN(const Tizen::Base::ByteBuffer& secretKey);
* @return A pointer to the Tizen::Base::ByteBuffer class that contains the output, @n
* else @c null if an error occurs
* @param[in] wrappedKey The wrapped key to unwrap
- * @remarks This operation is not supported in the %Rc4Cipher class.
- * Therefore, this method always returns @c null.
- * @remarks The @c E_UNSUPPORTED_ALGORITHM is returned using the GetLastResult() method.
+ * @remarks
+ * - This operation is not supported in the %Rc4Cipher class.
+ * Therefore, this method always returns @c null.
+ * - The @c E_UNSUPPORTED_ALGORITHM is returned using the GetLastResult() method.
*/
virtual Tizen::Base::ByteBuffer* UnwrapN(const Tizen::Base::ByteBuffer& wrappedKey);
* @since 2.0
*
* The %SkipJackCipher class provides a symmetric cipher using the Skipjack algorithm. Appropriate values have to be set for the requested mode or key bit or
- * padding scheme and the cipher operation (CIPHER_ENCRYPT or CIPHER_DECRYPT) parameters. @n
+ * padding scheme and the cipher operation (::CIPHER_ENCRYPT or ::CIPHER_DECRYPT) parameters. @n
*
* For more information on the class features, see <a href="../org.tizen.native.appprogramming/html/guide/security/ciphers.htm">Ciphers</a>.
*
* Encrypts the data (single-part).
*
* @since 2.0
- *
+ * @pre Before calling this method, a secret key and an initial vector should be set using SetKey() and SetInitialVector().
* @return A pointer to the Tizen::Base::ByteBuffer class that contains the output, @n
* else @c null if an error occurs
* @param[in] input An instance of Tizen::Base::ByteBuffer
* @exception E_SYSTEM A system error has occurred. @n
* The method has failed to operate with the OpenSSL library, or
* the Tizen::Base::ByteBuffer operation has failed.
- * @remarks The specific error code can be accessed using the GetLastResult() method.
- * @remarks A secret key and an initial vector are set before calling this method.
+ * @remarks The specific error code can be accessed using the GetLastResult() method.
*/
virtual Tizen::Base::ByteBuffer* EncryptN(const Tizen::Base::ByteBuffer& input);
* Decrypts the data (single-part).
*
* @since 2.0
- *
+ * @pre Before calling this method, a secret key and an initial vector should be set using SetKey() and SetInitialVector().
* @return A pointer to the Tizen::Base::ByteBuffer class that contains the output, @n
* else @c null if an error occurs
* @param[in] input An instance of Tizen::Base::ByteBuffer
* @exception E_SYSTEM A system error has occurred. @n
* The method has failed to operate with the OpenSSL library, or
* the Tizen::Base::ByteBuffer operation has failed.
- * @remarks The specific error code can be accessed using the GetLastResult() method.
- * @remarks A secret key and an initial vector are set before calling this method.
+ * @remarks The specific error code can be accessed using the GetLastResult() method.
*/
virtual Tizen::Base::ByteBuffer* DecryptN(const Tizen::Base::ByteBuffer& input);
* Initializes a multiple-part encryption or decryption operation.
*
* @since 2.0
- *
+ * @pre Before calling this method, a secret key and an initial vector should be set using SetKey() and SetInitialVector().
* @return An error code
* @exception E_SUCCESS The method is successful.
* @exception E_OUT_OF_MEMORY The memory is insufficient.
* @exception E_INVALID_OPERATION The specified cipher operation mode for this method is invalid.
* @exception E_SYSTEM A system error has occurred. @n
* The method has failed to operate with the OpenSSL library.
- * @remarks A secret key and an initial vector are set before calling this method.
*/
virtual result Initialize(void);
* @return A pointer to the Tizen::Base::ByteBuffer class that contains the output, @n
* else @c null if an error occurs
* @param[in] secretKey The secret key to wrap
- * @remarks This operation is not supported in %SkipJackCipher. Therefore, this method always returns @c null.
- * @remarks The @c E_UNSUPPORTED_ALGORITHM exception is returned using the GetLastResult() method.
+ * @remarks
+ * - This operation is not supported in %SkipJackCipher. Therefore, this method always returns @c null.
+ * - The @c E_UNSUPPORTED_ALGORITHM exception is returned using the GetLastResult() method.
*/
virtual Tizen::Base::ByteBuffer* WrapN(const Tizen::Base::ByteBuffer& secretKey);
* @return A pointer to the Tizen::Base::ByteBuffer class that contains the output, @n
* else @c null if an error occurs
* @param[in] wrappedKey The wrapped key to unwrap
- * @remarks This operation is not supported in %SkipJackCipher. Therefore, this method always returns @c null. @n
- * @remarks The @c E_UNSUPPORTED_ALGORITHM exception is returned using the GetLastResult() method.
+ * @remarks
+ * - This operation is not supported in %SkipJackCipher. Therefore, this method always returns @c null. @n
+ * - The @c E_UNSUPPORTED_ALGORITHM exception is returned using the GetLastResult() method.
*/
virtual Tizen::Base::ByteBuffer* UnwrapN(const Tizen::Base::ByteBuffer& wrappedKey);
* For full construction, the Construct() method must be called right after calling this constructor.
*
* @since 2.1
- *
- * @remarks After creating an instance of this class, the Construct() method must be called explicitly to initialize this instance.
*/
PrivacyInfo(void);
* For full construction, the Construct() method must be called right after calling this constructor.
*
* @since 2.1
- *
- * @remarks After creating an instance of this class, the Construct() method must be called explicitly to initialize this instance.
*/
PrivilegeInfo(void);