EMSecureContainer
Objective-C
@protocol EMSecureContainer <NSObject, NSCopying>
Swift
protocol EMSecureContainer : NSCopying, NSObjectProtocol
A protocol representing a secure container object in memory.
-
Wipes internal state of a secure container object.
Declaration
Objective-C
- (void)wipe;Swift
func wipe() -
Returns a copy of the secure container object.
Declaration
Objective-C
- (id)copy;Swift
func copy() -> Any!Return Value
The copy of the secure container object.
-
Compares the receiver to the other secure container object.
Declaration
Objective-C
- (BOOL)isEqual:(id)anotherData;Swift
func isEqual(_ anotherData: Any!) -> BoolParameters
anotherDataThe object to be compared.
Return Value
YESif two objects are equivalent,NOotherwise. -
Calculates the hash code of this secure container object.
Declaration
Objective-C
- (NSUInteger)hash;Swift
func hash() -> UIntReturn Value
The hash code.
EMSecureContainer Protocol Reference