28
29
30
31
32
33
34
35
36
37
38
39
40
41
|
* @note Secure memory might be unavailable on the platform, in which case this
* falls back to insecure (potentially swappable) memory.
*/
@interface OFSecureData: OFData
{
size_t _mappingSize;
}
/*!
* @brief Creates a new, autoreleased OFSecureData with count items of item
* size 1, all set to zero.
*
* @param count The number of zero items the OFSecureData should contain
* @return A new, autoreleased OFSecureData
|
>
>
>
>
>
>
>
>
>
>
|
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
|
* @note Secure memory might be unavailable on the platform, in which case this
* falls back to insecure (potentially swappable) memory.
*/
@interface OFSecureData: OFData
{
size_t _mappingSize;
}
#ifdef OF_HAVE_CLASS_PROPERTIES
@property (class, readonly, nonatomic, getter=isSecure) bool secure;
#endif
/*!
* @brief Whether OFSecureData is secure, meaning preventing the data from
* being swapped out is supported.
*/
+ (bool)isSecure;
/*!
* @brief Creates a new, autoreleased OFSecureData with count items of item
* size 1, all set to zero.
*
* @param count The number of zero items the OFSecureData should contain
* @return A new, autoreleased OFSecureData
|