* @since_tizen 4.0
*/
typedef enum {
- ODE_STATE_UNENCRYPTED = 0x00, /**< Device is not encrypted */
- ODE_STATE_ENCRYPTED = 0x01, /**< Device is encrypted */
- ODE_STATE_CORRUPTED = 0x02, /**< Device is corrupted because of encryption error */
+ ODE_STATE_NOT_SUPPORTED = -1,
+ ODE_STATE_UNENCRYPTED = 0, /**< Device is not encrypted */
+ ODE_STATE_ENCRYPTED = 1, /**< Device is encrypted */
+ ODE_STATE_CORRUPTED = 2, /**< Device is corrupted because of encryption error */
} ode_state_e;
/**
else if (valueStr == "error_partially_encrypted" || valueStr == "error_partially_decrypted")
return State::Corrupted;
- return State::Invalid;
+ return State::NotSupported;
}
unsigned int ExternalEncryptionServer::getSupportedOptions()
else if (valueStr == "error_partially_encrypted" || valueStr == "error_partially_decrypted")
return State::Corrupted;
- return State::Invalid;
+ return State::NotSupported;
}
unsigned int InternalEncryptionServer::getSupportedOptions()